Bug 874511 - [Installation]"error while loading shared libraries: libruby.so.1.9" is seen in the file /etc/httpd/logs/error_log
Summary: [Installation]"error while loading shared libraries: libruby.so.1.9" is seen ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
: 876603 (view as bug list)
Depends On:
Blocks: 876603
TreeView+ depends on / blocked
 
Reported: 2012-11-08 10:50 UTC by xjia
Modified: 2017-03-08 17:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-31 20:32:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 877957 0 low CLOSED Seen "error while loading shared libraries: libruby.so.1.9" in /var/log/httpd/error_log 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2013:0220 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 1.1 update 2013-02-01 01:23:24 UTC

Internal Links: 877957

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


Note You need to log in before you can comment on or make changes to this bug.