views:

151

answers:

2

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?