...
After upgrading from 3.0.4 to 3.0.5 or 3.0.6 from the mongodb repositories mongod fails with the following message: # mongod -f /etc/mongod.conf mongod: symbol lookup error: mongod: undefined symbol: FIPS_mode_set Seems to be related to openssl. These packages are present on my system: openssl-1.0.2d-1.1.x86_64 libopenssl0_9_8-0.9.8x-10.4.x86_64 libopenssl1_0_0-32bit-1.0.2d-1.1.x86_64 libopenssl-devel-1.0.2d-1.1.x86_64 libopenssl1_0_0-1.0.2d-1.1.x86_64
JIRAUSER1274045 commented on Fri, 9 Feb 2024 21:49:40 +0000: This issue is 8 years old, and has had almost no updates in the past years. cesar@ecuarock.net commented on Fri, 4 Sep 2015 20:29:04 +0000: Actually running like this works: LD_PRELOAD=/usr/lib64/libcrypto.so mongod -f /etc/mongod.conf The same thing for the mongo executable. It seems now that the problem is on how openssl and libcrypto are packaged for openSuSE as that libcrypto.so is provided by libopenssl-devel-1.0.2d-1.1.x86_64. Finally the solution was to do the following. I do not recommend it but it might work for some people: rpm -e --nodeps libopenssl0_9_8-0.9.8x-10.4.x86_64 cd /usr/lib64/ ln -s libssl.so libssl.so.0.9.8 ln -s libcrypto.so libcrypto.so.0.9.8 After that mongod and mongo load correctly. cesar@ecuarock.net commented on Fri, 4 Sep 2015 19:45:34 +0000: Maybe it would be good to limit the versions on the rpm spec file so that >= 3.0.5 requires openssl https://github.com/mongodb/mongo/blob/master/rpm/mongodb-org.spec#L38). ernie.hershey@10gen.com commented on Fri, 4 Sep 2015 11:42:02 +0000: Hi cesarizu - I'm sorry you're having this problem. I believe as a result of SERVER-18371, so in versions 3.0.5 and 3.0.6, our packages won't work in OpenSuSE, since we build them in SuSE Linux Enterprise Server and rely on the FIPS_mode_set function when it's available on the platform we build on. I think for now you have three options - 1) Upgrade/downgrade OpenSSL to match a SLES environment. Here are the SSL packages in place in our build environment: libopenssl0_9_8-0.9.8j-0.70.1 openssl-0.9.8j-0.66.1 openssl-certs-1.97-0.3.1 2) Use our legacy binaries, which don't support SSL (available here) 3) Compile against local SSL libraries, which will avoid calls to that FIPS function.
Update to mongodb-org-3.0.5 or 3.0.6 Start the server