title: Unrecognized option:storage when starting mongodb
body: <p>I installed mongodb on Ubuntu and the <code>/etc/init/mongod.conf</code> looks like the following:-</p>
  
  <pre><code># mongod.conf
  
  # Where and how to store data.
  storage:
    dbPath: /data/var/lib/mongodb
    journal:
      enabled: true
  
  #  engine:
  #  mmapv1:
  #  wiredTiger:
  
  # where to write logging data.
  systemLog:
  destination: file
    logAppend: true
    path: /data/var/log/mongodb/mongod.log
  
  # network interfaces
  net:
    port: 27017
    bindIp: 127.0.0.1
  </code></pre>
  
  <p>I get the error when running </p>
  
  <pre><code>sudo mongod -f  /etc/init/mongod.conf
  </code></pre>
  
  <p>Error message:</p>
  
  <blockquote>
    <p>Unrecognized option: storage    </p>
  </blockquote>
  
  <p><a href="https://stackoverflow.com/questions/39607107/mongodb-yaml-config-file-unrecognized-optionstorage">This</a> seems like a similar issue caused by syntaxes though. It doesn't seem I have those issues in my <code>mongod.conf</code> file. Appreciate any insight!</p>