Meteor: unexpected mongo exit code 100

前端 未结 26 1227
栀梦
栀梦 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:49

    I had my machine shutdown accidentally that led to the same problem. None of the option helped i.e deleting .lock file or running export LC_ALL=C etc.
    I am on Ubuntu 15.04. I started mongo with --dbpath option pointing to myApp/.meteor/local/db and the mongo start up logs made it clear that mongo was attempting to restore the database from the journal/s in the journal folder. It was looking for local.1 file that did not exist.

    So I tried mongo --recovery that further pointed that it won't work until I have the journal folder.
    here's what I did
    1. Deleted the journal folder (moved it to another location - just in case)
    2. ran the mongo --recovery (not 100% sure if that actually did something)
    3. started meteor
    And it started without any glitch and guess what I had all my data as expected

提交回复
热议问题