So i am attempting to start mongod using the configuration files. csrs_1.conf is created as per the lecture notes from chapter 3 Sharding, Setting up a Sharded cluster.
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
mongod -f csrs_1.conf i get the following error,
about to fork child process, waiting until server is ready for connections. forked process: 2278 ERROR: child process failed, exited with error number 1 To see additional information in this output, start without the "--fork" option.
So i did a bit of googling and the problem seems to be something to do with file/folder permissions. So i went and changed file and folder permissions to the conf and log files but to no avail . Please do have a look at the attachment which shows the current state of permissions. Your input appreciated.