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

starting mongodb as a service fails on ubuntu (precise) with new separated packages

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: Build, Packaging
    • Environment:
      Ubuntu, precise 64
    • Linux
    • Hide

      On a fresh vagrant vm:
      1) vagrant ssh
      2) sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
      3) echo 'deb http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist mongodb' | sudo tee /etc/apt/sources.list.d/mongodb.list
      4) sudo apt-get update
      5) sudo apt-get install mongodb-org-unstable
      6) sudo service mongodb start

      Expected result: mongodb service starts

      Actual result:
      vagrant@precise64:~$ sudo service mongodb start
      mongodb: unrecognized service

      Show
      On a fresh vagrant vm: 1) vagrant ssh 2) sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 3) echo 'deb http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist mongodb' | sudo tee /etc/apt/sources.list.d/mongodb.list 4) sudo apt-get update 5) sudo apt-get install mongodb-org-unstable 6) sudo service mongodb start Expected result: mongodb service starts Actual result: vagrant@precise64:~$ sudo service mongodb start mongodb: unrecognized service

      vagrant@precise64:~$ sudo service mongodb start
      mongodb: unrecognized service

      Starting mongodb as a service does not work when installing new mongodb-org-unstable package from http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/. See "Steps to Reproduce" for more information.

      It looks like the control script is missing: there is no /etc/init.d/mongodb.

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: