From 3923174b706cc0d2f320412dcf1e5b8dc0728b39 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 17 Jul 2011 12:02:13 -0500 Subject: Added instructions on how to run mongod --repair --- docs/hackinghowto.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs/hackinghowto.rst') 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 -- cgit v1.2.3