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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 2.5.1
    • Affects Version/s: 2.2.4, 2.4.1
    • Component/s: Logging
    • Environment:
      Linux
    • ALL
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

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

                Created:
                Updated:
                Resolved: