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

Missing dependencies in 2.6 RPM Packages for CentOS 7

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.11
    • Component/s: Admin, Packaging
    • Labels:
      None
    • Environment:
      Centos
    • Fully Compatible
    • Linux
    • Hide

      Build a minimal 64 bit Centos 7 system, add in the Mongo Yum Repo and run:

      yum install mongodb-org mongodb-org-server
      systemctl start mongod
      -> it fails to start, although it very light on details - nothing in journalctl, nothing in mongod.log etc.

      To see the errors I've seen, I edited /etc/init.d/mongod and changed:

      daemon --user "$MONGO_USER" --check $mongod "$NUMACTL $mongod $OPTIONS > /dev/null 2>&1"

      ...to...

      daemon --user "$MONGO_USER" --check $mongod "$NUMACTL $mongod $OPTIONS"

      ...then ran:

      /etc/init.d/mongod start

      Show
      Build a minimal 64 bit Centos 7 system, add in the Mongo Yum Repo and run: yum install mongodb-org mongodb-org-server systemctl start mongod -> it fails to start, although it very light on details - nothing in journalctl, nothing in mongod.log etc. To see the errors I've seen, I edited /etc/init.d/mongod and changed: daemon --user "$MONGO_USER" --check $mongod "$NUMACTL $mongod $OPTIONS > /dev/null 2>&1" ...to... daemon --user "$MONGO_USER" --check $mongod "$NUMACTL $mongod $OPTIONS" ...then ran: /etc/init.d/mongod start

      I just installed MongoDB onto a minimal Centos 7 64 bit system. Whilst the RPMs installed just fine, some dependencies were missing. These seem enough to get it to install and run, although there may be more:

      • mongodb-org
      • mongodb-org-server
      • glibc.i686
      • libstdc++.i686

      (Right now, the mongodb-org* packages are at version 2.6.11-1)

            Assignee:
            brian.samek@mongodb.com Brian Samek
            Reporter:
            coofercat Ralph Bolton
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: