[SERVER-18492] Setting pidFilePath to /var/run/mongod.pid in config file on Debian prevents service from starting Created: 15/May/15 Updated: 21/Aug/15 Resolved: 22/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 3.0.0, 3.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Martin Meier | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | build-planning | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
I updated mongodb via repo.mongodb.org, but it did not start the service when it is done because: The /etc/init.d/mongod script does not check for permissions of the mongodb user on the pid file. I think that would be the best place to solve this issue. |
| Comments |
| Comment by Sam Kleinman (Inactive) [ 22/Jun/15 ] |
|
I understand the issue you're having now. I believe that this behavior is expected, but I've opened Sorry again for the confusion. Regards, |
| Comment by Martin Meier [ 19/Jun/15 ] |
|
Yea I kind of got your point about the pidFilePath in the config. It is a legal and documented configuration option though. But I switched to another database that is more reliable in production. So I personaly don't bother anymore. The reason I used the option is inside you own documentation: I did not have had a problem with how to make my mongodb running, I had a problem with the update script. You questions go in a totally different directions. I made myself very clear what I would expect from this update process, but you seem to not get the idea. |
| Comment by Ramon Fernandez Marina [ 18/Jun/15 ] |
|
martin.meier, we haven't heard back from you for some time. If this is still an issue for you, can you please provide the information requested by Sam above? Thanks, |
| Comment by Sam Kleinman (Inactive) [ 27/May/15 ] |
|
Thanks for your answers to these questions. Just a few follow up questions:
Regards, |
| Comment by Martin Meier [ 18/May/15 ] |
|
Hello, for the first installation of mongodb I followed this useful Page: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ Then I upgraded from 3.0.1 to 3.0.3 via the normal apt-get update && apt-get upgrade procedure. Does that answer all your questions? |
| Comment by Sam Kleinman (Inactive) [ 15/May/15 ] |
|
Hello, Just so I understand this situation a bit more clearly, how was MognoDB confiogured before you installed using the packages? What user did the mognod process run as? How did you install MongoDB before installing the package? What version did you upgrade from? Cheers, |