title: Mongodb can't start
body: <p>today I updated my Mongo.. mongodb-stable (from 10gen repo) </p>
  
  <p>but my service has down.
  the following command not working</p>
  
  <pre><code>$ sudo service mongodb start
  $ start: Unknown job: mongodb
  </code></pre>
  
  <p>even this command not working</p>
  
  <pre><code>$ sudo /etc/init.d/mongodb start
  $ Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service mongodb start
  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the start(8) utility, e.g. start mongodb
  start: Unknown job: mongodb
  </code></pre>
  
  <p>there is no mongo process running</p>
  
  <pre><code>$ ps -ef|grep mongo
  $ user  9689  8121  0 13:01 pts/1    00:00:00 grep --color=auto mongo
  </code></pre>
  
  <p>log is here</p>
  
  <pre><code>tail /var/log/mongodb/mongodb.log 
  Fri Dec 10 11:24:35 [conn4] end connection 127.0.0.1:54217
  Fri Dec 10 11:25:35 [initandlisten] connection accepted from 127.0.0.1:54229 #5
  Fri Dec 10 11:26:25 [initandlisten] connection accepted from 127.0.0.1:54243 #6
  Fri Dec 10 11:26:30 [conn6] end connection 127.0.0.1:54243
  Fri Dec 10 11:30:13 got kill or ctrl c or hup signal 15 (Terminated), will terminate after current cmd ends
  Fri Dec 10 11:30:13 [interruptThread] now exiting
  Fri Dec 10 11:30:13 dbexit: 
  
  Fri Dec 10 11:30:13 [interruptThread] shutdown: going to close listening sockets...
  Fri Dec 10 11:30:13 [interruptThread] closing listening socket: 5
  Fri Dec 10 11:30:13 [interruptThread] closing listening socket: 6
  Fri Dec 10 11:30:13 [interruptThread] closing listening socket: 7
  Fri Dec 10 11:30:13 [interruptThread] closing listening socket: 8
  Fri Dec 10 11:30:13 [interruptThread] shutdown: going to flush oplog...
  Fri Dec 10 11:30:13 [interruptThread] shutdown: going to close sockets...
  Fri Dec 10 11:30:13 [interruptThread] shutdown: waiting for fs preallocator...
  Fri Dec 10 11:30:13 [interruptThread] shutdown: closing all files...
  Fri Dec 10 11:30:13     closeAllFiles() finished
  
  Fri Dec 10 11:30:13 [interruptThread] shutdown: removing fs lock...
  Fri Dec 10 11:30:13 dbexit: really exiting now
  </code></pre>
  
  <p>for now, I'm running Mongo through this command just for a while, creating process manually</p>
  
  <pre><code>$ sudo mongod -f /etc/mongodb.conf
  </code></pre>
  
  <p>any idea?
  or has anyone updated Mongo-stable via Update manager?</p>
  
  <p><strong>Edits:</strong></p>
  
  <p>This mongodb version was v1.6.5 and it seems mongo team released it as stable with a bug. And they fixed it immediately at v1.7.4. You can see the <a href="https://jira.mongodb.org/browse/SERVER-2200" rel="noreferrer">major priority issue</a>.</p>