[DOCS-2007] tricks: "manual/reference/configuration-options.txt" "Install and Run the MongoDB Service" Created: 27/Sep/13  Updated: 03/Nov/17  Resolved: 01/Oct/13

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Sam Kleinman (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows server 2012

Location: http://docs.mongodb.org/manual/reference/configuration-options/#dbpath
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17
Referrer: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/configuration-options


Issue Links:
Related
is related to SERVER-5333 Issues with non-ASCII characters in f... Closed
Participants:
Days since reply: 10 years, 20 weeks, 1 day ago

 Description   

Hi,

I tried to install mongodb on Win server 2012. At the chapter "Install and Run the MongoDB Service", i have to install mongodb as a windows service. But i have a problem reports like this topic:
https://groups.google.com/forum/#!topic/mongodb-user/FOn6ObvlkNw

I resolve the problem like this:

  • remove "c:\mongodb\mongod.cfg" file
  • start windows explorer
  • make a text file "c:\mongodb\mongod.cfg.txt"
  • append text "logpath=C:\mongodb\log\mongo.log"
  • rename file to "c:\mongodb\mongod.cfg"

And so, just re-open PowerShell and run "C:\mongodb\bin\mongod.exe --config C:\mongodb\mongod.cfg --install"
It works!!

I think it's maybe because of encoding file... Can you add this tricks in order to help user?

bye



 Comments   
Comment by Sam Kleinman (Inactive) [ 01/Oct/13 ]

The new configuration file format in 2.6 should address this issue, and SERVER-5333 should address another part of the issue. If you can provide a configuration file that can reliably reproduce this issue the Windows version of MongoDB, I think we can begin to both address the underlying issue on the server and provide correct documentation that will allow users to avoid the underlying issue.

In the mean time I'm going to close this issue, but will reopen in the future when there's additional information.

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