[DOCS-3425] Cannot install MongoDB 2.6.1 as a windows service Created: 18/May/14  Updated: 16/Mar/15  Resolved: 15/Sep/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.11

Type: Bug Priority: Major - P3
Reporter: Derek Basch Assignee: Michael Paik
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 22 weeks, 2 days ago

 Description   

I have followed the installation instructions here:

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/

but I receive an error:

2014-05-18T10:45:40.474+0200 SEVERE: Failed global initialization: FileNotOpen F
ailed to open ""C:\Users\Bob\Desktop\workspace\my-project\Program Files\Mong
oDB 2.6 Standard\log\mongo.log""



 Comments   
Comment by Githook User [ 15/Sep/14 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-3425 - removed quotation marks to fix cfgfile bug on Windows

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/57a58d21472fdc01343918e2f51cb42572f61c1d

Comment by Derek Basch [ 18/May/14 ]

I fixed this by removing the double quotation marks, used for spaces in the path name, when setting the path for the log file.

echo logpath="C:\Program Files\MongoDB\log\mongo.log" > "C:\Program Files\MongoDB\mongod.cfg"

becomes:

echo logpath=C:\Program Files\MongoDB\log\mongo.log > "C:\Program Files\MongoDB\mongod.cfg"

The installation instructions should be corrected:

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#configure-directories-and-files

Comment by Derek Basch [ 18/May/14 ]

Related, but different error:

SERVER-13515

Generated at Thu Feb 08 07:45:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.