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

init.d mongod startup script fails, with dirname message

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.7, 2.8.0-rc4
    • Affects Version/s: 2.6.4, 2.6.5, 2.6.6
    • Component/s: Packaging
    • None
    • Fully Compatible
    • Linux
    • BUILD 1

      Hi, when I start mongodb 2.6.4.X and 2.6.5.X in

      LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
      Oracle Linux Server release 6.6
      Red Hat Enterprise Linux Server release 6.6 (Santiago)
      Oracle Linux Server release 6.6

      I receive the messages:

      Starting mongod: /usr/bin/dirname: extra operand `2>&1.pid'
      Try `/usr/bin/dirname --help' for more information.

      But MongoDb still starts.

      I´d like to know if there is a workaround or some correction and if these message causes no problem.

      Thanks in advance. Alberto

        1. bash_cmd.txt
          7 kB
        2. Config.zip
          1 kB

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            amatsuchita@yahoo.com Alberto Matsuchita
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: