Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21880

mongodb 3.2.0 on ubuntu 15.10 doesn't run daemon

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.0
    • Component/s: Packaging
    • None
    • ALL
    • Hide

      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

      Show
      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

      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,

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            necromant2005@gmail.com Rostyslav Mykhajliw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: