Skip to main content

Posts

Showing posts with the label mongodb

Error: couldn't connect to server 127.0.0.1:27017

အဲလိုျပသနာျဖစ္ရင္ ေအာက္က ႏွစ္ေၾကာင္းနဲ့ အလုပ္ျဖစ္သြားပါတယ္။

sudo rm /var/lib/mongodb/mongod.lock
sudo service mongodb restart 
ေအာက္က command ကုိသံုးျပီး ဘာျပသနာျဖစ္လဲဆုိတာ ၾကည့္ႏုိင္ပါတယ္။

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

source: stackoverflow