start mongod use [--config etc/mongodb.conf] and [Error parsing INI config file: unknown option fork] is shown

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.6.5
    • Component/s: API
    • None
    • Environment:
      windows8 32bit
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 change delete the command [fork = true] command can be ran correctly.

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

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

                Created:
                Updated:
                Resolved: