aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-17 12:02:13 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-17 12:02:13 -0500
commit3923174b706cc0d2f320412dcf1e5b8dc0728b39 (patch)
treef936f7e9e370862a20a247e04b0f6bc489b7e7e1 /docs
parent63fd974b4c73b22efd6d95ae91287261adddb580 (diff)
downloadmediagoblin-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.rst9
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