RE: Chapter 1, Lab 2
I’m trying to establish mongod via config file but can’t seem to point the command to the right folder. My command is:
mongod --config “/shared/mongod.config”
I know it has access to the shared folder because it’s reading and writing log files to it. What am I missing?
For reference, the config file contents are:
storage:
dbPath: “/data/db”
systemLog:
path: “/shared/log/mongod.log”
destination: “file”
replication:
replSetName: M103
net:
bindIp : “127.0.0.1,192.168.103.100”
port: 27000
ssl:
mode: “requireSSL”
PEMKeyFile: “/etc/ssl/ssl.pem”
CAFile: “/etc/ssl/SSLCA.pem”
security:
keyFile: “/data/keyfile”
processManagement:
fork : true