-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.0
-
Component/s: Security, WiredTiger
-
None
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I'm using Red Hat Enterprise Linux 7 and I'm facing problems when try to enable security authorization on my MongoDB 3.2 configuration.
When I start the service system shows following error:
# systemctl start mongod Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
# cat mongod.conf
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
storage:
dbPath: /var/lib/mongo
journal:
enabled: true
engine: wiredTiger
processManagement:
fork: true # fork and run in background
pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
net:
port: 27017
security:
authorization: enable