[SERVER-21880] mongodb 3.2.0 on ubuntu 15.10 doesn't run daemon Created: 13/Dec/15  Updated: 06/Jan/16  Resolved: 06/Jan/16

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.2.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Rostyslav Mykhajliw Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo \"deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.2 multiverse\" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod start

Participants:

 Description   

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,



 Comments   
Comment by Kelsey Schubert [ 06/Jan/16 ]

Hi necromant2005@gmail.com,

Thank you for the report. As noted in our documentation, MongoDB only provides packages for 64-bit long-term support Ubuntu releases.

For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. Running MongoDB on an unsupported platform involves more discussion and questions about this process would be best posted on the mongodb-users group.

Regards,
Thomas

Comment by Rostyslav Mykhajliw [ 13/Dec/15 ]

mongodb 3.0.7 has the same issue on ubuntu 15.10

  1. sudo apt-get install -y mongodb-org
    ends with errors
    Adding user `mongodb' to group `mongodb' ...
    Adding user mongodb to group mongodb
    Done.
    invoke-rc.d: mongod.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
    Setting up mongodb-org-mongos (3.0.7) ...
    Setting up mongodb-org-tools (3.0.7) ...
    Setting up mongodb-org (3.0.7) ...
    Processing triggers for ureadahead (0.100.0-19) ...
Generated at Thu Feb 08 03:58:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.