[SERVER-11238] starting mongod service on fedora fails for enterprise package only Created: 17/Oct/13 Updated: 11/Jul/16 Resolved: 07/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Ernie Hershey |
| Resolution: | Done | Votes: | 1 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
[vagrant@vagrant-f19 ~]$ uname -a The vagrant box came from here: |
||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
After installing the enterprise server package (sudo yum install mongodb-enterprise-unstable-server), starting the mongod service fails:
The equivalent community package, mongodb-org-unstable-server, does not have this problem---the mongod service starts just fine. I ran "diff" on the /etc/init.d/mongod init scripts for mongodb-org-unstable-server and mongodb-enterprise-unstable-server, which showed that the two init scripts are identical. The /etc/rc.d/init.d/mongod files are also identical between the two packages. |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 07/Feb/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
duplicate | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Storch [ 18/Oct/13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
There is a similar problem on Fedora 18 (vagrant box http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210.box):
I don't think the problem has to do with dependency resolution. On both Fedora 18 and 19 the package manager determines that cyrus-sasl and net-snmp-libs are dependencies. Cyrus-sasl is already installed on Fedora, but net-snmp-libs gets installed along with the enterprise package. Here's what happens when I ask explicitly to install net-snmp-libs and cyrus-sasl:
Maybe the Fedora SNMP and SASL packages differ from the Redhat packages in some way we don't expect? Maybe the Fedora packages are actually broken? Maybe we don't run the linker with the correct LD_LIBRARY_PATH? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ernie Hershey [ 18/Oct/13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Maybe this is an error in where/how the dependencies are specified for the server package. Is it definitely limited only to Fedora 19? Maybe the package names for sasl and snmp are different in the fedora 19 repos? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Storch [ 17/Oct/13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
The shared library libsasl2.so.2 should be present at /usr/lib64/libsasl2.so.2 (installed as part of cyrus-sasl), but is missing.
Looks like there are shared library files from net-snmp-libs that are also missing, such as /usr/lib64/libnetsnmpagent.so.20 | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Storch [ 17/Oct/13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
The output of "sudo journalctl -xn" may also be of interest:
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by David Storch [ 17/Oct/13 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
StackOverflow post describing the same issue: http://stackoverflow.com/questions/11081822/mongodb-service-not-running-in-fedora |