Bug 874511

Summary: [Installation]"error while loading shared libraries: libruby.so.1.9" is seen in the file /etc/httpd/logs/error_log
Product: OpenShift Container Platform Reporter: xjia <xjia>
Component: NodeAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2.0CC: bleanhar, jialiu, jkeck, jyundt, xtian
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-31 20:32:13 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:
Bug Depends On:    
Bug Blocks: 876603    

Description xjia 2012-11-08 10:50:15 UTC
Description of problem:
After setup environment, check the file /etc/httpd/logs/error_log on broker. Find one error message "/opt/rh/ruby193/root/usr/bin/ruby: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory"

Version-Release number of selected component (if applicable):
http://download.lab.bos.redhat.com/rel-eng/OpenShiftEnterprise/1.0/2012-11-07.2/


How reproducible:
Always

Steps to Reproduce:
1.After setup environment, check the file /etc/httpd/logs/error_log
2.
3.
  
Actual results:
/opt/rh/ruby193/root/usr/bin/ruby: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory

Expected results:
No such error.

Additional info:

Comment 2 Brenton Leanhardt 2012-12-12 14:58:19 UTC
*** Bug 876603 has been marked as a duplicate of this bug. ***

Comment 3 Brenton Leanhardt 2012-12-12 15:02:09 UTC
I verified that one way to fix this is to change the following setting in /etc/httpd/conf.d/ruby193-passenger.conf:

Broken:
PassengerRuby /opt/rh/ruby193/root/usr/bin/ruby

Works:
PassengerRuby /usr/bin/ruby193-ruby

I'm going to reach out to the Web Developer Toolkit team to see if this is the recommended way to resolve the issue.  It seems to me like there might be an issue with /opt/rh/ruby193/root/usr/bin/ruby.

Comment 4 Brenton Leanhardt 2012-12-12 18:15:45 UTC
For what it's worth I tested with ruby193-ruby-1.9.3.327-25.el6.x86_64 and saw the same behavior.

Comment 5 Brenton Leanhardt 2012-12-14 17:01:47 UTC
This will ship with the next puddle.

Comment 6 xjia 2012-12-17 09:06:20 UTC
Verify:
No such error

Version:
OpenShiftEnterprise/1.1.x/2012-12-14.1/

Comment 8 errata-xmlrpc 2013-01-31 20:32:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0220.html