Meteor: unexpected mongo exit code 100

前端 未结 26 1123
栀梦
栀梦 2020-12-01 04:34

I have just installed Meteor version 0.5.9 (45fef52095) to my CentOS release 6.3 (Final) server (Linux version 2.6.32-279.19.1.el6.i686 (mockbuild@c6b8.bsys.dev.centos.org)

相关标签:
26条回答
  • 2020-12-01 04:41

    this bug used to happen everytime I restarted meteor and

    rm .meteor/local/db/mongod.lock
    

    didn't work for me (i'm working on cloud9 online IDE)

    I now do

    rm .meteor/local/db/mongod.lock .meteor/local/db/local.*
    

    and everything gets back to normal without erasing my database

    0 讨论(0)
  • 2020-12-01 04:42

    Using meteor reset erases all the data from your database. If you're worried about this then navigate to your project folder.

    cd /path/to/my/project

    Here you need to erase the mongodb.lock file.

    rm .meteor/local/db/mongodb.lock

    Now you can run Meteor using the command,

    meteor

    0 讨论(0)
  • 2020-12-01 04:43

    Removing this file and folder worked for me:

    rm -rf .meteor/local/db/mongod.lock .meteor/local/db/journal/
    
    0 讨论(0)
  • 2020-12-01 04:46

    As suggested elsewhere, running meteor reset fixed the problem for me on OS X.

    WARNING: meteor reset erases everything in your local database.

    0 讨论(0)
  • 2020-12-01 04:46

    I had the same problem, I solved it changing ownership of .meteor folder (where MongoDB lives)

    cd path-to-meteor-app
    sudo chown -R youruser:yourgruop .meteor
    

    Hope to help someone!

    0 讨论(0)
  • 2020-12-01 04:47

    If you get a notification with something like

    Local folder has run out of space
    

    Try going to

    cd .meteor/local/bundler-cache/
    

    and deleting everything in that directory. Its a cache so it shouldnt affect too much. It seems to grow uncontrollably sometimes.

    EDIT

    Combining all the other answers try

    rm -rf .meteor/local/db/mongod.lock .meteor/local/db/local.* .meteor/local/db/journal .meteor/local/bundler-cache/linker/
    

    If this is still not working you might have to free up some space on your disk. Do so by checking via

    free -m
    

    or looking at your inodes and how much space is being used up via

    df -h
    
    0 讨论(0)
提交回复
热议问题