-
升級後遠程連接無效
-
修改/etc/mongd.conf配置文件,將bindIp註釋掉
-
重啓mongo服務,但遇到service mongod restart無效
sudo /usr/bin/mongod --confif /etc/mongod.conf
-
-
升級升級後Mongo出現Failed to restart mongod.service: Unit mongod.service failed to load: No such file or directory.
failed to start lsb an object/document-oriented database
mongodb.service: main process exited, code=exited, status=4/NOPERMISSION
最終在google上找到答案:
刪除以前的數據庫文件並重啓服務:
removed journal and all DBs in
/var/lib/mongodb/
then restart the service and it worked again.
升級mongo遇到的坑
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.