title: Stop: Unknown instance mongodb (Ubuntu)
body: <p>I am new to Mongodb. When I run the following command:</p>
  
  <pre><code>sudo service mongodb start
  </code></pre>
  
  <p>It shows me <strong>"mongodb start/running, process 3566"</strong>. But when I try to stop by giving the below command:</p>
  
  <pre><code>sudo service mongodb stop
  </code></pre>
  
  <p>It shows <strong>stop: Unknown instance:</strong>. Do anybody have any idea how to slove this issue.</p>
  
  <p>And if I give <strong>sudo service mongodb restart</strong>, I'm getting the below message:</p>
  
  <pre><code>stop: Unknown instance: 
  mongodb start/running, process 3644
  </code></pre>
  
  <p>PS: If I'm using just <strong>mongod</strong>, I could start the server and could connect the mongo shell by giving <strong>mongo</strong>.</p>
  
  <p>Please suggest me how to fix the issue and how to connect mongo shell after giving <strong>service mongodb start</strong>. Thanks in advance.</p>