Hi there, So recently my DO droplet was reset due to some creation problem in the NYC1 area. My droplet was running count.ly (an analytics software) and now it gives me this error:
Express 500 Error: failed to connect to [localhost:27017] at null. (/root/countly/frontend/express/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:569:74) at EventEmitter.emit (events.js:106:17) at null. (/root/countly/frontend/express/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:139:15) at EventEmitter.emit (events.js:98:17) at Socket. (/root/countly/frontend/express/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection.js:475:10) at Socket.EventEmitter.emit (events.js:95:17) at net.js:441:14 at process._tickCallback (node.js:415:13)
How can I fix this? Any help is appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Looks like your mongodb is down. Probably mongodb had an unclean shutdown so you will need to start mongod with the repair option. Check this link for details: http://docs.mongodb.org/manual/tutorial/recover-data-following-unexpected-shutdown/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.