Running mongod as a windows service

Posted by andreas on Stack Overflow See other posts from Stack Overflow or by andreas
Published on 2010-04-29T21:53:03Z Indexed on 2010/04/29 21:57 UTC
Read the original article Hit count: 417

Filed under:
|
|

Hello, i have installed mongodb on win32 and i am trying to run it as a service.

I have followed the instructions posted here: http://www.deltasdevelopers.com/post/Running-MongoDB-as-a-Windows-Service.aspx

but when when windows tries to 'load'/'run' the service there is a problem. I see the service under the services control banner constantly in the 'starting' state.

The result: the service is not started and windows is constantly trying to start it without success.

The instructions i have followed are:

At the command line

C:\mongodb\mongod -install then C:\mongodb\mongod -service

Then i modified the Win Registry Entry for the MongoDB Service by setting the ImagePath key to the value of C:\mongodb\mongodb.exe -service

Any advice? What am i doing wrong?

© Stack Overflow or respective owner

Related posts about mongodb

Related posts about Windows