[SERVER-15796] "/etc/init/mongod stop" not working Created: 24/Oct/14  Updated: 10/Dec/14  Resolved: 24/Oct/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.6.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Laurent Glayal Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-13595 Red Hat init.d script error: YAML con... Closed
Operating System: ALL
Steps To Reproduce:

Use a line the one below and try to stop daemon using /etc/init.d/mongod :
pidfilepath = /var/run/mongodb/mongodb.pid

Participants:

 Description   

Hi,
using mongodb-org-server-2.6.4-1.x86_64,
The command
/etc/init.d/mongod stop
doesn't work if /etc/mongod.conf contains a line pidfilepath with white space between the equal and effective pid file path, the stop script is trying to find the file with white spaces and so doesn't work.
Tested on CentOS 6.5 x86_64.
Regards.



 Comments   
Comment by Kamran K. [ 24/Oct/14 ]

Thanks for the bug report.

This issue has been addressed by the fix for SERVER-13595 (see SERVER-14095 for a similar bug report). Please follow SERVER-13595 for any further updates.

Generated at Thu Feb 08 03:39:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.