Mongo: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145

前端 未结 6 1582
轻奢々
轻奢々 2021-01-31 05:41

When I try to run mongo in shell in ubuntu or open rockmongo I see this error:

couldn\'t connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145
         


        
6条回答
  •  Happy的楠姐
    2021-01-31 06:08

    Check your log file of mongodb. you will get to know the exact issue.

    tail -f /var/log/mongodb/mongodb.log
    

    The issue may because of "ERROR: Insufficient free space for journal files"

    Increase your volume space that will fix your issue.

提交回复
热议问题