[SERVER-7708] RPMs should automatically create /var/run/mongodb to store the PID Created: 19/Nov/12 Updated: 11/Jul/16 Resolved: 13/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mark porter | Assignee: | Ernie Hershey |
| Resolution: | Done | Votes: | 1 |
| Labels: | pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All Linux Platforms |
||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
is not created on install. You must create
Therefore, one must manually
Most package installs will store a PID in
Therefore, the PID file needs to be created and the correct ownership put on the file. |
| Comments |
| Comment by auto [ 12/Oct/13 ] |
|
Author: {u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}Message: |
| Comment by Ernie Hershey [ 15/Apr/13 ] |
|
Also we set the pid file location in the mongod.conf we install, so we should probably support running with that configuration. I think this would be a good change to do more of what OS's expect us to with packages. |
| Comment by Mark porter [ 19/Nov/12 ] |
|
I don't believe it does. If you want to install multiple MongoDB instances on the one box through a package system like apt or yum, then you have to have separate start-up scripts and separate config files. The pid file comes from config file so it does not limit to one instance. WRT simply installing the binaries, the pid file proposal doesn't apply. |
| Comment by Scott Hernandez (Inactive) [ 19/Nov/12 ] |
|
This implies you would only have one instance running at a time; probably not a limitation we want to suggest/create. |