mongod启动100错误

xiaoxiao2025-04-14  24

在重启mongodb时发生错误100,有的教程中说是未正确关闭导致,删除/var/lib/mongodb/mongod.lock,使用--repair方式启动即可。但是让然出现100错误。查看log,显示:

exception in initAndListen: 28574 Cannot start server. Detected data files in ...(我指定的存储目录)..../data created by storage engine 'mmapv1'. The configured storage engine is 'wiredTiger'., terminating

于是删除存储目录,重新建立,即可正确启动  

转载请注明原文地址: https://www.6miu.com/read-5028234.html

最新回复(0)