title: MongoDB - startup - Ubuntu/Linux
body: <p>I read the docs I could find on the web but still I don't see what I am doing wrong.<br>
  I also saw there're 2-3 similar questions here on SO but not quite the same.<br>
  I tried both methods of starting it up but none of them works, it seems.</p>
  
  <pre><code>root@test02:~# service mongod start
  mongod start/running, process 1135
  root@test02:~# /etc/init.d/mongod
  Usage: /etc/init.d/mongod COMMAND
  root@test02:~# /etc/init.d/mongod start
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service mongod 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 mongod
  mongod start/running, process 1154
  root@test02:~# ps aux | grep mongo
  root      1157  0.0  0.1   9392   896 pts/0    S+   19:04   0:00 grep --color=auto mongo
  root@test02:~#
  </code></pre>
  
  <p>So... nothing happens, no log files are created too.</p>
  
  <p>1) What am I missing here?!</p>
  
  <p>2) When I run it this way (through both ways),<br>
  will it know to use the /etc/mongod.conf file?</p>
  
  <p>These are the relevant files which I have for MongoDB.</p>
  
  <pre><code>/etc/init.d/mongod
  
  /etc/mongod.conf
  
  /root/.mongorc.js
  
  /var/log/mongodb/mongod.log
  </code></pre>
  
  <p>The last one does not exist in fact, though it should be there, I think.</p>