title: MongoDB service not working after upgrade to Ubuntu 15.04
body: <p>I have recently upgraded my ubuntu from 14.10 to 15.04. All features seems to be working fine except <code>MongoDB</code>. I am using mongoDB with ruby on rails application using Mongoid gem. MongoDB is not controllable from service as we do normally in ubuntu.</p>
  
  <pre><code>sudo service mongodb start
  </code></pre>
  
  <p>or</p>
  
  <pre><code>sudo service mongod start
  </code></pre>
  
  <p>I get this error message </p>
  
  <blockquote>
    <p>Failed to restart mongod.service: Unit mongod.service failed to load:
    No such file or directory.</p>
  </blockquote>
  
  <p>But i have to start it manually each time i have to connect my application to MongoDB server using</p>
  
  <pre><code>sudo mongod -f /etc/mongod.conf
  </code></pre>
  
  <p>So <code>mongodb</code> is connected as long as that terminal is opened. I am using <code>MongoDB</code> in Ruby on Rails application using <code>Mongoid adapater/ORM</code>. </p>
  
  <p>When i run </p>
  
  <pre><code>sudo service mongodb status
  </code></pre>
  
  <p>i get following output</p>
  
  <pre><code>mongodb.service - An object/document-oriented database
  Loaded: loaded (/lib/systemd/system/mongodb.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since بدھ 2015-05-06 14:47:53 PKT; 5s ago
  Docs: man:mongod(1)
  Process: 28602 ExecStart=/usr/bin/mongod --config /etc/mongodb.conf (code=exited, status=4)
  Main PID: 28602 (code=exited, status=4)
  
  مٓی 06 14:47:53 NX00443 systemd[1]: Started An object/document-oriented database.
  مٓی 06 14:47:53 NX00443 systemd[1]: Starting An object/document-oriented database...
  مٓی 06 14:47:53 NX00443 systemd[1]: mongodb.service: main process exited, code=exited, status=4/NOPERMISSION
  مٓی 06 14:47:53 NX00443 systemd[1]: Unit mongodb.service entered failed state.
  مٓی 06 14:47:53 NX00443 systemd[1]: mongodb.service failed.
  </code></pre>
  
  <p>Any help in this regard will be appreciated.</p>