Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1601

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.5
    • API
    • None
    • windows8 32bit

    Description

      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 ?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: