[SERVER-3557] dbpath can not end in a trailing / on windows Created: 09/Aug/11 Updated: 12/Jul/16 Resolved: 12/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability |
| Affects Version/s: | 1.9.1 |
| Fix Version/s: | 2.0.1, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andi McLean | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows Server 2008 RC 2, |
||
| Operating System: | Windows |
| Participants: |
| Description |
|
When trying to set up a unique dbpath for mongo to run in. Mongo kept shutting down reporting that the dbpath does not exist, after checking the the directory exists and the permissions are set up correctly and countless other tries. I finally noticed after a good nights sleep that the directory had a trailing /, I removed it and it worked. I think mongod should be able to cope with extra / on the end of the dbpath and removed if it's there. |
| Comments |
| Comment by auto [ 12/Sep/11 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Strip trailing / of dbpath on windows |
| Comment by auto [ 12/Sep/11 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Strip trailing / of dbpath on windows |