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

Mongo Server does not close stdout when using --fork and --syslog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.2.4, 2.4.1
    • Fix Version/s: 2.5.1
    • Component/s: Logging
    • Labels:
    • Environment:
      Linux
    • Operating System:
      ALL

      Description

      The mongod server does not daemonize correctly when using --fork and --syslog: It does not close stdout.

      This bug causes a hang when starting mongod via SSH:

      # ssh hostname "mongod --fork --syslog ..."

      Pretty much the same bug already existed and was fixed in an older version of MongoDB (without --syslog): SERVER-966

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              schwerin Andy Schwerin
              Reporter:
              bwaldvogel Benedikt Waldvogel
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: