[SERVER-15653] Red Hat: mongod that uses yaml config cannot be shutdown using init script Created: 14/Oct/14  Updated: 10/Jan/15  Resolved: 03/Dec/14

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

Type: Bug Priority: Major - P3
Reporter: Jalpa Trivedi (Inactive) Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongod.yaml    
Issue Links:
Depends
Operating System: ALL
Steps To Reproduce:

. Install 2.7.7 unstable version on RHEL 6.5
. use yaml config file
. run sudo service mongod start
. verify that the service started successfully
. now run sudo service mongod stop
. notice that it did not give any error but running ps still shows the mongod is running

Participants:

 Description   

sudo service mongod stop does not work for yaml config files.



 Comments   
Comment by Jalpa Trivedi (Inactive) [ 03/Dec/14 ]

The attached mongod.yaml file is missing

systemLog:
path: /var/log/mongodb/mongod.log
logAppend: true
destination: file -> this is needed if path is used.

Once I put that in, service start and stop worked fine.

Comment by Ernie Hershey [ 14/Nov/14 ]

Hi jalpa.trivedi can you attach to the ticket the yaml config file you used that didn't work?

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