[SERVER-17952] init script for redhat can't stop the server MongoDB Created: 09/Apr/15 Updated: 10/Apr/15 Resolved: 10/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | matthieu jacquinot | Assignee: | Ramon Fernandez Marina |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
The init script (/etc/init.d/mongod) provided for redhat (rpm 3.0.1-1.el6) is not functional for stopping the mongoDB process. |
| Comments |
| Comment by Ramon Fernandez Marina [ 10/Apr/15 ] |
|
Thanks for confirming that 3.0.2 solves this issue matthieu.jacquinot@gefco.fr. We're thus closing this ticket as a duplicate of Regards, |
| Comment by matthieu jacquinot [ 10/Apr/15 ] |
|
Hi, I upgrade mongoDB to the version 3.0.2 and it's OK. Thank you |
| Comment by Ramon Fernandez Marina [ 09/Apr/15 ] |
|
matthieu.jacquinot@gefco.fr, please note that Regards, |
| Comment by James Wahlin [ 09/Apr/15 ] |
|
Hi Matthieu, Can you check whether the "pidFilePath" config parameter has a quoted value? If the path has quotes surrounding it can you remove the quotes and try this again? There is a known issue with our RHEL init.d scripts where quotes around the pidFilePath value are not handled correctly, as reported by Thanks, |
| Comment by matthieu jacquinot [ 09/Apr/15 ] |
|
I'm working on Red Hat Enterprise Linux Server release 6.4 (Santiago) Yes you right, pidofproc is defined in /etc/rc.d/init.d/functions but mongoDB don't stop when I run /etc/init.d/mongod stop
|
| Comment by Ramon Fernandez Marina [ 09/Apr/15 ] |
|
matthieu.jacquinot@gefco.fr, what RedHat version you're using? pidofproc is a shell function provided by /etc/rc.d/init.d/functions, part of the initscripts package. Can you please make sure this package is properly installed and try again? |