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

Error parsing INI config file: unknown option fork

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • Labels:
      None
    • Fully Compatible

      To start my mongod with the command as :
      C:\mongodb\bin>mongod --config c:\mongodb\etc\mongodb.conf
      [mongodb.conf]
      -------------------------------------------------------------
      fork = true
      bind_ip = 127.0.0.1
      port = 27017
      quiet = true
      dbpath = c:\mongodb\data
      logpath = C:\mongodb\log\mongod.log
      logappend = true
      journal = true
      -------------------------------------------------------------
      Error:
      Error parsing INI config file: unknown opt
      try 'mongod --help' for more information

      If I delete [fork = true] and command can be run correctly.

      I have read the document from here and I want to ask that if [fork] is not being used in the Mongod ?

      http://docs.mongodb.org/manual/administration/configuration/

            Assignee:
            Unassigned Unassigned
            Reporter:
            lulucway luyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: