-
Type:
Bug
-
Resolution: Done
-
Priority:
Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: Admin
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I am running mongod version 3.0 currently i am going to post my mongod.conf and the error i am getting. I am using the default mongod script that comes with the rpm with no changes being made. All the permissions are correct from what i see. Not getting a permissions error.
[root@ctsnapmongodev01 ~]# cat /etc/mongod.conf
# mongod.conf
storage:
dbPath: "/data/db"
systemLog:
path: "/var/log/mongodb/mongod.log"
logAppend: true
processManagement:
pidfilepath=/var/run/mongodb/mongod.pid
fork: true
net:
bindIp: 127.0.0.1
port: 27018
sharding:
clusterRole: shardsvr
replication:
oplogSizeMB: 1024
}'
Error:
Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com runuser[7372]: pam_unix(runuser:session): session opened for user mongod by (uid=0) Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com runuser[7372]: pam_unix(runuser:session): session closed for user mongod Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com mongod[7366]: Starting mongod: [FAILED] Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com systemd[1]: mongod.service: control process exited, code=exited status=1