Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
Ubuntu Server 14.04 & 16.04
Docker v1.11.1
MongoDB v3.2.6
*Location*: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
*Referrer*: http://stackoverflow.com/questions/26852138/sudo-service-mongodb-restart-gives-unrecognized-service-error-in-ubuntu-14-0-4
*Screen Resolution*: 1366 x 768
Ubuntu Server 14.04 & 16.04 Docker v1.11.1 MongoDB v3.2.6 *Location*: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 *Referrer*: http://stackoverflow.com/questions/26852138/sudo-service-mongodb-restart-gives-unrecognized-service-error-in-ubuntu-14-0-4 *Screen Resolution*: 1366 x 768
Description
I cannot start mongodb as service with "service" command. For example running "service start mongo/mongod/mongodb" always prints the error in same form:
mongo: unrecognized service
mongod: unrecognized service
mongodb: unrecognized service