diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-17 12:02:13 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-17 12:02:13 -0500 |
commit | 3923174b706cc0d2f320412dcf1e5b8dc0728b39 (patch) | |
tree | f936f7e9e370862a20a247e04b0f6bc489b7e7e1 /docs | |
parent | 63fd974b4c73b22efd6d95ae91287261adddb580 (diff) | |
download | mediagoblin-3923174b706cc0d2f320412dcf1e5b8dc0728b39.tar.lz mediagoblin-3923174b706cc0d2f320412dcf1e5b8dc0728b39.tar.xz mediagoblin-3923174b706cc0d2f320412dcf1e5b8dc0728b39.zip |
Added instructions on how to run mongod --repair
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hackinghowto.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/hackinghowto.rst b/docs/hackinghowto.rst index 0e3202ce..caafba53 100644 --- a/docs/hackinghowto.rst +++ b/docs/hackinghowto.rst @@ -194,7 +194,14 @@ If it's installed, check the mongodb log. On my machine, that's old lock file: /var/lib/mongodb/mongod.lock. probably means... -Then delete the lock file and relaunch mongodb. +in that case you might have had an unclean shutdown. Try:: + + sudo mongod --repair + +If that didn't work, just delete the lock file and relaunch mongodb. + +Anyway, then start the mongodb server in whatever way is appropriate +for your distro / OS. pkg_resources.DistributionNotFound: distribute |