-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.0
-
Component/s: Packaging
-
None
-
ALL
-
Hi Guys,
Mongodb 3.2.0 doesn't work on ubuntu 15.10
$ sudo service mongod restart
Failed to restart mongod.service: Unit mongod.service failed to load: No such file or directory.
$ sudo /etc/init.d/mongod restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mongod restart
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
sudo systemctl enable mongod
mongod.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable mongod
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'mongod' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mongod'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mongod'
update-rc.d: error: mongod Default-Start contains no runlevels, aborting.
Cheers,