countly system mongodb connection error

After the countly system runs for a period of time, Express appears

500 MongoError: connect ECONNREFUSED 127.0.0.1:27017

at Object.exports._errnoException (util.js:893:11)

at exports._exceptionWithHostPort (util.js:916:20)

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1075:14) error,
record the problem solving steps and execute the online solution. The
first step delete the .lock file, rm /var/lib/mongodb/mongod.lock The
second step is to execute Repair mongodb mongod -repair After countly, it
is found that it still does not work.
The third step is to execute the command to reload the configuration file. mongod -f /etc/mongod.conf The problem is solved.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326358619&siteId=291194637