I'm trying to run the angular2-boilerplate example on my virtual machine, on which I have Ubuntu 16.04.1 LTS, but the app can't start due to following error:
[[[[[ ~/Personal/myApp ]]]]]
=> Started proxy.
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
Can't start Mongo server.
Unspecified unrecoverable error. Exit was not clean
My meteor version is 1.4.2.3
I tried the solutions proposed in other questions, but none of them worked.
meteor resetor .meteor/local/db
mongod --fork --logpath /var/log/mongodb.log
about to fork child process, waiting until server is ready for connections.
forked process: 1001
ERROR: child process failed, exited with error number 1
One of the threads about Mongo exit code 14 suggests that you also need to delete the file:
/tmp/mongodb-<port>.sock
Which will normally be
/tmp/mongodb-3001.sock
if you are running on the default meteor port, 3000
I solved the problem in the following way:
mongodbstarted defined the MONGO_UR when starting meteor app
MONGO_URL=mongodb://localhost:27017 meteor
In my case, I solved this problem by recreating the app on my home folder.