Hello,
I have the same problem on Windows 7 64 bit:
"C:\data\mongodb-win32-x86_64-1.8.0\bin\mongod" --bind_ip 127.0.0.1
--logpath "c:\mongo\logs" --logappend --dbpath "c:\mongo\data" --
directoryperdb --service
this is the service command
I always shut down the computer using start->shutdown, so the shut
down is always a clean one. This may be a bug?
If I manually stop the service, and start it, the problem doesn not
appear. This problem appears only at shutting down windows and
starting it.
Thank you.
On Mar 17, 5:41 pm, Eliot Horowitz <
eliothorow...@gmail.com> wrote:
> This means mongo is not getting shut down properly when you shut down
> your computer.
> In production, for clean restarts you should make sure mongo gets shut
> down cleanly.
> For unclean shutdown, you either need to repair after, or use --journal with 1.8
>
> On Thu, Mar 17, 2011 at 7:52 AM, Calvin Froedge
>
>
>
>
>
>
>
> <
cal...@creativelogicmedia.com> wrote:
> > For some reason, every time I shut my mac os x off and then restart,
> > mongodb does not start automatically. When I do:
>
> > sudo mongod start
>
> > I get this:
>
> > **************
> > old lock file: /data/db/mongod.lock. probably means unclean shutdown
> > recommend removing file and running --repair
> > see:
http://dochub.mongodb.org/core/repairfor more information