Fix error: mongod dead but subsys locked
1 min readOct 26, 2016
I use mongodb v3.2 on CentOS 6, just restart mongod service and got error mongod dead but subsys locked . Humm…
How I fixd it.
- Stop service mongod:
service mongod stop
- Add following in config file:
vim /etc/mongod.conf
storage:
mmapv1:
smallFiles: true
3. Restart mongod service: service mongod restart — config /etc/mongod.conf
That’s it!
Happy coding