[SERVER-15724] Cannot write pid file to /var/run/mongodb/mongod.pid: No such file or directory Created: 19/Oct/14 Updated: 28/Oct/14 Resolved: 28/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 2.6.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tomas Dabainskas | Assignee: | Ernie Hershey |
| 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 |
|
I've logged this under docs, but I think core is probably more appropriate: ---------------- Hi, I'm trying to run the daemon: # /etc/rc.d/init.d/mongod start when I look at the log, I'm seeing: The way around it is to create mongodb.conf in /lib/tmpfiles.d/ with following content: Please add /lib/tmpfiles.d/mongodb.conf to mongodb-org-server package http://stackoverflow.com/questions/23086655/mongodb-service-will-not-start-after-initial-setup Many thanks, |
| Comments |
| Comment by Ramon Fernandez Marina [ 28/Oct/14 ] |
|
tomasd, this is to let you know that systemd support is handled under |
| Comment by Tomas Dabainskas [ 23/Oct/14 ] |
|
Hi Ramon,
on systemd systems it would be good idea to distribute /lib/tmpfiles.d/mongodb.conf, other packages are using it:
I'm not sure how that would affect non systemd systems. Please feel free to resolve this. |
| Comment by Ramon Fernandez Marina [ 20/Oct/14 ] |
|
Hi tomasd, thanks for opening this ticket. This bug should have been fixed by |
| Comment by Tomas Dabainskas [ 19/Oct/14 ] |