i ran it one time with root access and when i want to run it with normal user i have this error
[[[[[ ~/Documents/xxx ]]]]]
=> Started proxy.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can’t start Mongo server.
MongoDB had an unspecified uncaught exception.
This can be caused by MongoDB being unable to write to a local database.
Check that you have permissions to write to .meteor/local. MongoDB does
not support filesystems like NFS that do not allow file locking.
If you don’t care about the data in your local mongo DB, then just remove the .meteor/local directory (and all contents) from within your app’s directory. If you want to preserve the DB, then look into giving your normal user privileges back using your OS’ supported method of doing this. If you’re using OSX/Linux for example, as a super user you would run something like:
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can’t start Mongo server.
MongoDB had an unspecified uncaught exception.
This can be caused by MongoDB being unable to write to a local database.
Check that you have permissions to write to .meteor/local. MongoDB does
not support filesystems like NFS that do not allow file locking.
Sounds like your permissions still aren’t quite right. You have to make sure your normal user has read/write/execute privileges in your app’s .meteor/local folder. Example for checking this with OSX/Linux:
cd your_app/.meteor
ls -l
You should see something like:
...
drwxr-xr-x 8 hwillson staff 272 7 Jun 13:48 local
...
Where hwillson should be your normal user, and the drwxr-xr-x states that your user will have read/write/execute permissions on the local directory (the first rwx grouping is the important part).
when i want to run it as root now i have this problem
=> Started proxy.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can’t start Mongo server.
MongoDB had an unspecified uncaught exception.
This can be caused by MongoDB being unable to write to a local database.
Check that you have permissions to write to .meteor/local. MongoDB does
not support filesystems like NFS that do not allow file locking.
I am working on a class assignment and depend on peer review for a grade. I don’t get this error (and no errors in my console), but when a reviewer tries to run my App, she gets:
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can't start Mongo server.
MongoDB had an unspecified uncaught exception.
This can be caused by MongoDB being unable to write to a local database.
Check that you have permissions to write to .meteor/local. MongoDB does
not support filesystems like NFS that do not allow file locking.
Is it a problem on my end or more likely the reviewer doesn’t have MongoDB set up correctly with the right permissions?
Just wanted to follow up to say the reviewer didn’t have mongo installed correctly. 2 other reviewers were able to open and run my app. But, because of that 1 reviewer, I didn’t get a passing grade and have to retake the class!