Bug 1191965
Summary: | mongodb starts, then dies | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Roy Sigurd Karlsbakk <roy> |
Component: | mongodb | Assignee: | Marek Skalický <mskalick> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | admiller, bretm, jdornak, johan.o.hedin, jpacner, mskalick, nathaniel, roy, strobert, tdawson |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-16 11:06:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Roy Sigurd Karlsbakk
2015-02-12 10:08:25 UTC
This seems to be the same: bug 1040573 . Please check and if not, add more information... To get newer version of mongoDB from rawhide into epel7, there should be a new package in epel7 repo. So please test and add karma: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0719/libstemmer-0-2.585svn.el7 I'm not sure what this upgrade really does, but I have a wee idea. Anyway - it seems to efficiently resolv the issue. Thanks libstemmer is a dependency of mongoDB. In version 2.6.x it is bundled into mongodb tarball. But mongodb should use system version of libraries and this update add this library into epel7... I am closing this bug as duplicate of bug 1040573 . Feel free to reopen... *** This bug has been marked as a duplicate of bug 1040573 *** Actually, this really doesn't seem to be a duplicate bug. Here, systemd seems to look for the wrong pid file and times out, even if we set the timeout to 10 minutes. Without systemd, mongod starts immediately and begins logging connections within 1-2 seconds. Also, this system worked well until the upgrade just after the last glibc bug. roy For me mongoDB starts fine in version 2.6.5-2.el7 from EPEL. $ cat /usr/lib/systemd/system/mongod.service [Unit] Description=High-performance, schema-free document-oriented database After=syslog.target network.target [Service] Type=forking User=mongodb PIDFile=/var/run/mongodb/mongod.pid EnvironmentFile=/etc/sysconfig/mongod ExecStart=/usr/bin/mongod $OPTIONS run PrivateTmp=true LimitNOFILE=64000 [Install] WantedBy=multi-user.target $ head /etc/mongodb.conf ## ### Basic Defaults ## bind_ip = 127.0.0.1 port = 27017 fork = true pidfilepath = /var/run/mongodb/mongod.pid logpath = /var/log/mongodb/mongodb.log dbpath =/var/lib/mongodb journal = true What is different on your system? A developer had messed up something. |