MongoDB

Posted: March 19, 2015 in Uncategorized

I will take a workshop next saturday regarding MongoDB, it has been a while since I just installed and created and application for tweepy, while I was checking its installation in Ubuntu I got the following error:

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

This seems to be a lock issue and if you are running it on Ubuntu you can type the following commands:

sudo rm /var/lib/mongodb/mongod.lock
sudo service mongodb restart

That’s all for now.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s