[SERVER-41877] Pid File Exists Created: 23/Jun/19  Updated: 06/Dec/22  Resolved: 24/Jun/19

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

Type: Bug Priority: Major - P3
Reporter: Guna Sri Assignee: Backlog - Triage Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot_1.png    
Issue Links:
Duplicate
duplicates SERVER-27016 mongod.pid is not removed when callin... Closed
Assigned Teams:
Server Triage
Operating System: ALL
Participants:

 Description   

I upgraded my mongodb from 3.6 to 4.0 and now i am facing a issue that is 

Error starting mongod. /var/run/mongodb/mongod.pid exists.

 

 



 Comments   
Comment by Eric Sedor [ 24/Jun/19 ]

Hi guna_sri123. When running MongoDB with init scripts, you will need to remove the pid file manually or as part of other automation. This issue is tracked in SERVER-27016 (see this comment in particular), so you can watch that ticket for updates.

Let us know if removing the pid file does not help.

Generated at Thu Feb 08 04:58:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.