I just instaled mongo 3. And tried to run it as windows server but receive error
The MongoDB 3.0 service terminated with the following service-specific error: Cannot create another system semaphore.
Can't find any info about that error and mongodb.
We found that the reason for this error was the dbpath variable in /etc/mongodb. conf. Previously, the default value for dbpath was /data/db. The upstart job mongodb(which comes with mongodb-10gen package) invokes the mongod with –config /etc/mongodb.
Check mongodb logs. In my case mongodb could not find directory from mongod.cfg
In my case it appered to be mongod.lock issue after unexpected shutdown.
Detected unclean shutdown - E:\MongoDb\Databases\mongod.lock is not empty.
I deleted E:\MongoDb\Databases\mongod.lock and mongo successfuly started.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With