title: Failed Global Initialization: BadValue logpath requires an absolute file path with windows services
body: <p>I am getting this error constantly while i am trying to install mongod using a configuration file. So, I am looking at this tutorial on Pluralsight on mongodb. The person's programming environment going as smoothly as it can. However, i am encountering several problems. First of all, i am trying to setup a different logpath and database path.This is the basic layout of the conf file</p>
  
  <pre><code>dbpath=/Pluralsight/db
  logpath=/Pluralsight/mongod.conf
  verbose=vvvvv
  </code></pre>
  
  <p>My syntax:</p>
  
  <pre><code>c:\Program Files\MongoDB\Server\3.0\bin\mongod -f c:\Pluralsight\mongod.conf
  //Trying to run mongod using a configuration file
  </code></pre>
  
  <p>When i press enter, i am supposed to get a message that says everything is being directed to this new logfile and a new database. I do not get any message. However, that did not stop it from creating a log file with information in the expected folder. Now, I proceed to install mongod as a service. This is when i type</p>
  
  <pre><code>   C:\Program Files\MongoDB\Server\3.0\bin\mongod -f c:\Pluralsight\mongod.conf --install
      //using the configuration file to install mongod as a service
  </code></pre>
  
  <p>I get an error: </p>
  
  <blockquote>
    <p>Failed Global Initialization: BadValue logpath requires an absolute
    file path with windows services</p>
  </blockquote>
  
  <p>I have no idea how to fix this!</p>