I have recently upgraded my Ubuntu from 14.10 to 15.04. All features seems to be working fine except MongoDB. It is not controllable from service as we do normally in Ubuntu.
sudo service mongodb start
sudo service mongod start
I get this error message
Failed to restart mongod.service: Unit mongod.service failed to load: No such file or directory.
But I have to start it manually each time I have to connect my application to MongoDB server using
sudo mongod -f /etc/mongod.conf
So MongoDB is connected as long as that terminal is opened. I am using MongoDB in Ruby on Rails application using Mongoid adapater/ORM. Any help in this regard will be appreciated.