[SERVER-6655] pid file does not get created when passing a relative path for --pidfilepath Created: 31/Jul/12 Updated: 02/Jun/20 Resolved: 21/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Abdul Alkhatib | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | OS X | ||||||||
| Participants: | |||||||||
| Description |
|
Passing relative paths to mongod works --dbpath, --logpath but does not work for --pidfilepath which is not consistent. To reproduce:
|
| Comments |
| Comment by Andrew Morrow (Inactive) [ 21/Apr/17 ] | |||
|
We just tried the commands presented in the reproduction steps, and we are not currently able to reproduce this behavior. This may have been a problem with an older version of MongoDB, but it appears to have been subsequently fixed. If you need this fixed for a specific version of MongoDB, please re-open the ticket and provide a value for the "Affects Version" field that describes which version exhibits this behavior. | |||
| Comment by Gianfranco Palumbo [ 12/Mar/13 ] | |||
|
If this won't be fixed soon. Documentation should reflect that the absolute path is required:
http://docs.mongodb.org/manual/reference/configuration-options/#pidfilepath | |||
| Comment by Benno Leslie [ 02/Oct/12 ] | |||
|
The same bug hit me too. OS X version: 2.2.0 | |||
| Comment by Abdul Alkhatib [ 07/Aug/12 ] | |||
|
This also happens with --keyFile |