Configuring MongoDB on Windows 2008 R2 (64-bit) as a Service
Fairly straight-forward. Just here for my own documentation /copy & pasting. Official MongoDB wiki contains the same info.
- Download binaries. Unzip and copy .exe’s to C:\mongo\bin
- Launch Command Prompt AS ADMINISTRATOR (right-click and run as administrator)
- Within c:\mongo\bin run “mongod –bind_ip 127.0.0.1 –logpath c:\mongo\logs –logappend –dbpath c:\mongo\data –directoryperdb –install”
- Go to Services and start / stop MongoDB.
MongoDB on STOP returns “Error 109: The pipe has been ended” … this is ok but the error is annoying.
- Open bug in MongoDB’s JIRA – http://jira.mongodb.org/browse/SERVER-1434
- Related Post – http://stackoverflow.com/questions/3559572/error-109-when-stopping-mongo-db-running-as-a-service-1-6-1
| Related Posts | Print This Post |


Hi, I'm Vikram Pant. 



