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

Missing dependencies in 2.6 RPM Packages for CentOS 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: 2.6.11
    • Fix Version/s: None
    • Component/s: Admin, Packaging
    • Labels:
      None
    • Environment:
      Centos
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Linux
    • Steps To Reproduce:
      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

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: