1、ERROR: child process failed, exited with error number 51
異常的關閉再次重啟時容易產生這樣的錯誤,首先刪除mongod.lock 文件 修復 再次啟動 。
2、Error parsing INI config file: unrecognised option 'configdb'
仔細看下圖操作,mongos啟動時用mongos而不是mongod
3、ERROR: child process failed, exited with error number 48
日志記錄信息:Failed to set up listener: SocketException: Address already in use
原因:系統中已有進程在運行,端口被占用 修改端口或檢查應用是不是已經啟動完成;