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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: