本文主要是介绍宝塔面板中Mongodb数据库无法启动,卸载重装没用 以及启动报错完美解决方案,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
宝塔面板中Mongodb数据库无法启动,卸载重装没用 以及启动报错完美解决方案
报错1:Failed to unlink socket file /tmp/mongodb-27017.sock Unknown
报错2:To see additional information in this output, start without the “–fork“ option
报错3:about to fork child process, waiting until server is ready for connections. forked process: 32508 ERROR: child process failed, exited with error number 14 To see additional information in this output, start without the “–fork” option.
解析:mongodb 4点多之后有锁的机制,需要删掉锁的文件
步骤如下
找到mongodb.log文件,目录如下
/www/server/mongodb/log
查看到
这篇关于宝塔面板中Mongodb数据库无法启动,卸载重装没用 以及启动报错完美解决方案的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!