Why getting error mongod dead but subsys locked and Insufficient free space for journal files on Linux?

前端 未结 7 1180
轮回少年
轮回少年 2020-12-07 10:47

I have installed mongo-10gen mongo-10gen-server on Linux CentOS server.

I followed the steps from Link.

I have configured /etc/mongo

7条回答
  •  伪装坚强ぢ
    2020-12-07 10:51

    For anyone having this issue despite having enough space for the journal file to be created.

    My problem: I had more than enough space for the journal file to be created. Mongo gave me a connection failed issue. I used kill command to kill the mongod process which in turn gave me the subsys issue. Here is what worked for me:

    Go to /var/lock/subsys and delete file mongod

    now service mongod stopand then service mongod start

    Started mongo shell now and everything seems to be running fine.

提交回复
热议问题