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

Debian start-up script in 10gen repository makes MongoDB not start if numactl is available on system

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2.1
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      Debian Unstable - fully up to date
    • Linux

      With the deb repository on 10gen comes an `/etc/init.d/mongod` script that throws errors when started and `numactl` is available as a command:

      root@whisky:/home/derick# /etc/init.d/mongodb start
       * Starting database mongodb                                                   start-stop-daemon: unrecognized option '--interleave=all'
      Try 'start-stop-daemon --help' for more information.
                                                                              [fail]
      

      This comes due to the fact that in line 125, the following code: *--exec $NUMACTL $DEAMON* turns into *--exec /usr/bin/numactl --interleave-all /usr/bin/mongod* and stop-start-deamon does not understand *--interleave-all*.

      (Also, shouldn't mongod be in /usr/sbin?)

            Assignee:
            akshay@mongodb.com Akshay Kumar
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: