“vagrant@m103:~$”
mongod -f “/shared/csrs_1.txt”
[also tried without quotations around path - same]
about to fork child process, waiting until server is ready for connections.
forked process: 14779
ERROR: child process failed, exited with error number 51
To see additional information in this output, start without the “–fork” option.
when I run without --fork it gives an immediate abort/dump message
the dir csrs1 is in var/mongodb/db
and I did:
sudo chown vagrant:vagrant /var/mongodb/db/csrs1
[note I have to drill down to the db to run
sudo chown vagrant:vagrant csrs1 - it does not work with a path string]
if the config file itself I have wrapped all the strings with quotations:
sharding:
clusterRole: “configsvr”
replication:
replSetName: “m103-csrs”
security:
keyFile: “/var/mongodb/pki/m103-keyfile”
net:
bindIp: “localhost,192.168.103.100”
port: 26001
systemLog:
destination: “file”
path: “/var/mongodb/db/csrs1.log”
logAppend: true
processManagement:
fork: true
storage:
dbPath: “/var/mongodb/db/csrs1”