I am getting the error:
ERROR: child process failed, exited with error number 1
when running mongod -f /etc/csrs_1.conf
my csrs_1.conf file is detailed below:
sharding:
clusterRole: configsvr
replication:
replSetName: m103-csrs
security:
keyFile: /var/mongodb/pki/m103-keyfile
net:
bindIp: 192.168.103.100,localhost
port: 26001
systemLog:
destination: file
path: /var/mongodb/db/csrs1.log
logAppend: true
processManagement:
fork: true
storage:
dbPath: /var/mongodb/db/csrs1
Is it possible to run mongod with a config file without forking?
Thanks in advance