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

Missing locale causing exit code 14 when starting via /etc/init.d/mongd

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Packaging
    • None
    • ALL

      Running Centos 6.5, I updated my mongod to 2.6.4 and upon start mongod via /etc/init.d/mongod I get the following error:

      ERROR: child process failed, exited with error number 14

      I noticed that the init script requires numactl but the numactl package is not installed on my system.

      init.d-mongd: https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod
      rpm spec: https://github.com/mongodb/mongo/blob/master/rpm/mongodb-org.spec

      I installed numactl and I solved the problem.

      This affects 2.6.4 up to the latest version.

      Adding numactl to the specs' Requires line should solve this problem...

        1. file2.txt
          3 kB
        2. file1.txt
          3 kB

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            rmartinez Raul Martinez Jr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: