[SERVER-22106] mongodb-org-3.2.0 on RHEL6 requires openssl>=1.0.1e Created: 08/Jan/16  Updated: 10/Mar/17  Resolved: 20/Sep/16

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 3.2.13, 3.3.14

Type: Bug Priority: Minor - P4
Reporter: Roberto Polli Assignee: Brian Samek
Resolution: Done Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-22508 Missing dependencies in 2.6 RPM Packa... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Steps To Reproduce:

1- add mongodb-3.2 yum repo
2- run# yum -y install mongodb-org-3.2.0
3- run# mongod -d

I expect:

  • mongo works

Instead:

  • I get an error complaining about TLS

Upgrading to openssl-1.0.1e fixes the issue.

Sprint: Build 12 (04/01/16), Build 13 (04/22/16), Build 14 (05/13/16), Build 15 (06/03/16), Build 16 (06/24/16), Build 17 (07/15/16), Build 18 (08/05/16), Build 2016-08-26, Build 2016-09-19, Build 2016-10-10
Participants:

 Description   

When installing mongodb-org-3.2.0 on RHEL6 via yum repo, mongod won't start anymore.

It complains about openssl version.

Openssl-1.0.1e should be an explicit requirement in the rpm.



 Comments   
Comment by Githook User [ 07/Mar/17 ]

Author:

{u'username': u'bsamek', u'name': u'Brian Samek', u'email': u'brian.samek@mongodb.com'}

Message: SERVER-22106 Require openssl >= 1.0.1 on RHEL 6

(cherry picked from commit 76ac56a6eaebc492799d532bf475615ed4161842)
Branch: v3.2
https://github.com/mongodb/mongo/commit/09ee121afda6db6ee397026eec411a50225837f8

Comment by Githook User [ 20/Sep/16 ]

Author:

{u'username': u'bsamek', u'name': u'Brian Samek', u'email': u'brian.samek@mongodb.com'}

Message: SERVER-22106 Require openssl >= 1.0.1 on RHEL 6
Branch: master
https://github.com/mongodb/mongo/commit/76ac56a6eaebc492799d532bf475615ed4161842

Comment by Roberto Polli [ 25/Feb/16 ]

RHEL 6.1.

Regards,
R.

Comment by Ernie Hershey [ 24/Feb/16 ]

Thanks for posting the error. I'm going to try to reproduce this in RHEL6. Was your system a totally stock RHEL 6 machine? What version of RHEL exactly was it?

Comment by Roberto Polli [ 09/Jan/16 ]

Hi Ernie,

the error was:

{{

{ relocation error: mongod: symbol TLSv1_1_client_method, version libssl.so.10 not defined in file libssl.so.10 with link time reference }

}}

Probably you can just set openssl >= 1.0.1e in mongodb rpm

Comment by Ernie Hershey [ 08/Jan/16 ]

All shared libraries should be added to the RPM's as dependencies during the rpm build process. That mechanism may be broken, or something else may be going on.

ioggstream can you post the exact error message you got?

Generated at Thu Feb 08 03:59:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.