Error "cannot connect to server" installing MongoDB on Ubuntu
You probably just need to delete the lock file in /var/lib/mongodb, and then restart the service.

If you still have problems, you should run mongod --repair (along with the other options, at least the dbpath).