[SERVER-13412] "--dbpath not set" error message is unclear and confusing Created: 31/Mar/14 Updated: 04/Sep/14 Resolved: 20/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 2.4.9 |
| Fix Version/s: | 2.7.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Rahul Danwade | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | Windows | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Server 2.7.2 | ||||||||
| Participants: | |||||||||
| Description |
|
I have followed all the steps to install mongodb as windows service on my windows 7 pc but after I did restart the following error displayed on console. |
| Comments |
| Comment by Mark Benvenuto [ 01/Apr/14 ] |
|
Mongod.exe is looking for a directory to store database files called C:\data\db (where c: is the drive for you current working directory) by default unless you specify a --dbpath on the command line. Either pass --dbpath to mongod or run "md \data\db" |