Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB : A Service Specific error occurred :100

Tags:

mongodb

I have just installed "mongodb" on Windows, while starting it, the following error appears

A Service Specific error occurred :100

Any Suggestions?

like image 534
Muzammil Naseer Avatar asked Jun 24 '16 10:06

Muzammil Naseer


3 Answers

Please try running the below commands as Administrator in the comment prompt.

  1. mongod --repair

  2. mongod --remove

then like @Yahya did, specify the log path,

  1. mongod --install --logpath C:\data\db\log\mongo.log

  2. net start mongodb

Hope it helps.

like image 192
Siva Anand Avatar answered Nov 19 '22 21:11

Siva Anand


For me, somehow directories I have specified for db and log config file were not auto created.

dbpath=\data\db

logpath=\data\log\mongo.log

so I created them manually then ran the command again and service started.

I am using v3.4.9 om Windows 10

like image 31
Yahya Hussein Avatar answered Nov 19 '22 21:11

Yahya Hussein


The reason for this error message is that you have another process already established. In my case it was the mongod.exe file I had opened in CMD, when I closed it and restarted the net start MongoDB command, it connected successfully. BTW i am using Windows 10 current build as of July 2017 with MongoDB 3.4

like image 15
Sebastian Avatar answered Nov 19 '22 20:11

Sebastian