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

mongod --fork should print options on invalid command line

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Usability
    • None
    • Service Arch
    • ALL

    Description

      2.6.3
      $ mongod foo --syslog --fork
      about to fork child process, waiting until server is ready for connections.
      forked process: 43462
      ERROR: child process failed, exited with error number 1
      

      This is a regression from 2.4:

      2.4.9
      $ mongod foo --syslog --fork
      Invalid command: foo
      Allowed options:
       
      General options:
      [options are printed]
      

      This doesn't happen without --fork

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: