[SERVER-27293] mongod.service fails to start after reboot due to missing /var/run/mongodb folder Created: 06/Dec/16  Updated: 24/May/17  Resolved: 06/Dec/16

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

Type: Bug Priority: Major - P3
Reporter: Vick Mena (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongod --version
db version v3.4.0
git version: f4240c60f005be757399042dc12f6addbc3170c1
OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
allocator: tcmalloc
modules: enterprise
build environment:
distmod: rhel70
distarch: x86_64
target_arch: x86_64


Issue Links:
Duplicate
duplicates SERVER-27241 Cannot write pid file to /var/run/mon... Closed
Operating System: ALL
Steps To Reproduce:
  1. Install MongoDB Enterprise via RPM in RHEL 7
  2. Enable service: sudo systemctl enable mongod.service
  3. Start service: sudo systemctl start mongod.service
  4. Verify serivce start: sudo systemctl status mongod.service
  5. Reboot the node
  6. Verify service is started (ps, systemctl, etc)
Participants:

 Description   
  1. Installed MongoDB Enterprise on RHEL7
  2. Enabled the service
  3. Started it
  4. Rebooted the node and the service fails to start

2016-12-06T14:30:29.065+0000 I CONTROL  [main] ERROR: Cannot write pid file to /var/run/mongodb/mongod.pid: No such file or directory



 Comments   
Comment by Githook User [ 24/May/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: Revert "SERVER-27293 add list of drop-pending namespaces at startup to DropPendingCollectionReaper"

This reverts commit 45d3b7e95cf4a1b9f9404df6c62b54dd4107c021.
Branch: master
https://github.com/mongodb/mongo/commit/e67b03f52acbdfb976d2a449c2b8b387541a4eaf

Comment by Githook User [ 24/May/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27293 add list of drop-pending namespaces at startup to DropPendingCollectionReaper
Branch: master
https://github.com/mongodb/mongo/commit/45d3b7e95cf4a1b9f9404df6c62b54dd4107c021

Comment by Ramon Fernandez Marina [ 06/Dec/16 ]

Duplicate of SERVER-27241.

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