title: Error 1053 When Starting Windows XP Service Running Mongo DB 1.6.3
body: <p>I'm trying to set up MongoDB 1.6.3 on my Windows XP SP 3 machine.  </p>
  
  <p>I've followed the instructions from the <a href="http://www.mongodb.org/display/DOCS/Windows+Service" rel="nofollow">MongoDB wiki</a>.  I can see the Windows service installed but not started.  </p>
  
  <p>The path to the executable looks like this: </p>
  
  <pre><code>"C:\Tools\mongodb-win32-i386-1.6.3\bin\mongod" --bind_ip  127.0.0.1  --logpath  c:/mongodb/logs/mongodb.log  --logappend  --dbpath  "c:/mongodb/data"  --directoryperdb  MongoDB  --service  
  </code></pre>
  
  <p>When I try to start the service I get an error popup with the following message: </p>
  
  <blockquote>
    <p>Error 1053: The service did not
    respond to the start or control
    request in a timely fashion.</p>
  </blockquote>
  
  <p>Changed the <code>dbpath</code> and <code>logpath</code> to <code>c:/data/db</code> and <code>c:/data/logs/mongodb.log</code> respectively, but the result was the same.</p>
  
  <p>I've checked to make sure that all directories and files do indeed exist - no worries there.</p>
  
  <p>I just tried it again @ 1:18 PM EDT, got the same error, and saw this in the log file: </p>
  
  <pre><code>Sun Sep 26 13:18:15 dbexit: 
  
  Sun Sep 26 13:18:15 shutdown: going to close listening sockets...
  Sun Sep 26 13:18:15 shutdown: going to flush oplog...
  Sun Sep 26 13:18:15 shutdown: going to close sockets...
  Sun Sep 26 13:18:15 shutdown: waiting for fs preallocator...
  Sun Sep 26 13:18:15 shutdown: closing all files...
  Sun Sep 26 13:18:15     closeAllFiles() finished
  
  Sun Sep 26 13:18:15 dbexit: really exiting now
  </code></pre>
  
  <p>So I believe the log file is set up properly and working correctly, but the info I get isn't helpful.</p>
  
  <p>One more useful bit: I can run MongoDB without any issues if I open a command shell and start it up on the command line.  </p>
  
  <p>Any advice on where I went wrong or corrections would be greatly appreciated.  </p>