使用mongodb时常发生的错误


  • 註冊用戶

    在配置mongodb时发生了以下几个错误, 已经被我解决了,提供给大家.

    2017-04-12T09:30:26.313+0800 I STORAGE  [initandlisten] exception in initAndListen: 28574 Cannot start server. Detected data files in /root/Desktop/mongodb/data created by storage engine 'mmapv1'. The configured storage engine is 'wiredTiger'., terminating 2017-04-12T09:30:26.313+0800 I CONTROL  [initandlisten] dbexit:  rc: 100 2017-04-12T09:31:53.043+0800 I CONTROL  ***** SERVER RESTARTED ***** 2017-04-12T09:31:53.049+0800 I STORAGE  [initandlisten] exception in initAndListen: 28574 Cannot start server. Detected data files in /root/Desktop/mongodb/data created by storage engine 'mmapv1'. The configured storage engine is 'wiredTiger'., terminating 2017-04-12T09:31:53.050+0800 I CONTROL  [initandlisten] dbexit:  rc: 100

    补充一下:如果存储空间满了的话也会出现 rc:100错误。总线一下:rc:100是系统文件错误


  • Lv 1

    @oughl0007 说:

    Detected data files in /root/Desktop/mongodb/data created by storage engine 'mmapv1'. The configured storage engine is 'wiredTiger'., terminating

    錯誤描述已經有寫了... 你把 mmapv1 引擎的資料用 wiredTiger 引擎讀取... 改用 mmapv1 啟動應該就會正常了


登录后回复
 

与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待