Hi, I get a problem like that :
Please Help,
Your log is giving you the solution
Check if /data/db exists on your system
Cd /data/db or ls /data
1 Like
Ok Thank you,
the problem has been resolved,
- rm -rf mongod.lock
- rm -rf /tmp/mongodb-27017.sock
- chown -R mongod:mongod /var/lib/mongo
- chown -R mongod:mongod /var/log/mongodb
- chown mongod:mongod /tmp/mongodb-27017.sock
- service mongod start
and then the service can running again
1 Like
system
(system)
Closed
5
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.