[JAVA-1601] start mongod use [--config etc/mongodb.conf] and [Error parsing INI config file: unknown option fork] is shown Created: 18/Dec/14  Updated: 11/Sep/19  Resolved: 18/Dec/14

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 2.6.5
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: luyang Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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 ?



 Comments   
Comment by luyang [ 18/Dec/14 ]

Sorry to create this issue in the wrong place and could you pls delete this issue for me ?

Generated at Thu Feb 08 08:55:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.