LoginSignup
0
0

More than 5 years have passed since last update.

CentOSでmongodbを再起動できない時の解決方法

Posted at

startもstopもrestartもできなくて困っていた.

/var/log/mongodb/mongod.logの中身を見ると,

2015-11-06T12:59:42.191+0000 [initandlisten] exception in initAndListen: 10310 Unable to lock file: /var/lib/mongo/mongod.lock. Is a mongod instance already running?, terminating

なんか邪魔なファイルがあるっぽいのでこれを消したらrestartできた(´◔౪◔)۶ヨッシャ!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0