Meteor: Unexpected exit code for mango 14. Restart. Do not start the mongo server

when i try to run the meteor application i get this error

=> Started proxy. Unexpected mongo exit code 14. Restarting. Unexpected mongo exit code 14. Restarting. 

and i, when I try to access mongodb through the shell, everything is fine, and the shell opens and connects to mongodb

The mongodb log file is also clean and shows no errors.

I run mongo with

my os - Ubuntu 16.04

 mongod --fork --logpath /var/log/mongodb.log 
+12
source share
4 answers

Try:

 meteor update --release *LAST STABLE VERSION FOR YOU* meteor 

If it still does not work, try:

 meteor reset meteor 

Otherwise, if this still does not work, try deleting the local db folder and then running meteor as follows:

 rm -r .meteor/local/db folder meteor 
+10
source

If you have a problem launching Ubuntu inside Vagrant / VirtualBox, the problem occurs when working in a synchronized folder with a vagrant. The workaround is to initialize the .meteor directory in the home directory and mount it in the synchronized folder. Assuming your meteor application is called MyApp, and / vagrant is a synchronized folder, here's how to do it:

 cd ~ meteor create MyApp cd MyApp meteor cd /vagrant/MyApp sudo mount --bind ~/MyApp/.meteor/ .meteor meteor 
+11
source

This problem also occurred. To fix the problem in my case, I needed to delete the file /tmp/mongodb-<port>.sock

+8
source

In my case, it was a problem with db after updating the meteor from 1.6 to 1.7. To solve this problem, I had to restore the local database using the following command:

~/.meteor/packages/meteor-tool/1.6.0_1/mt-os.osx.x86_64/dev_bundle/mongodb/bin/mongod --dbpath /my-app/.meteor/local/db --repair

/1.6.0_1/ indicates the release of the Meteor that I tried to run.

0
source

All Articles