uabrc / CRI_XCBC

Home of the XSEDE Compatible Basic Cluster
MIT License
0 stars 1 forks source link

OOD is reporting that Phusion Passenger is not found when starting user nginx #25

Open flakrat opened 5 years ago

flakrat commented 5 years ago

OOD is logging the following error during initialization under /var/log/nginx/${USER}/error.log on the OOD node:

App 179829 stderr:  --> No passenger_native_support.so found for current Ruby interpreter.
App 179829 stderr:      This library provides various optimized routines that make
App 179829 stderr:      Phusion Passenger faster. Please run 'sudo yum install passenger-devel-4.0.50'
App 179829 stderr:      so that Phusion Passenger can compile one on the next run.
App 179829 stderr:  --> Continuing without passenger_native_support.so.

It looks like OOD isn't locating the library, even though it exists:

$ rpm -q passenger
passenger-4.0.53-4.el7.x86_64

$ rpm -ql passenger | grep passenger_native_support.so
/usr/lib64/passenger/passenger_native_support.so

$ ls -l /usr/share/passenger/phusion_passenger.rb
-rw-r--r-- 1 root root 10435 Mar 22  2016 /usr/share/passenger/phusion_passenger.rb
jprorama commented 5 years ago

It looks like it might be a version issue. They are recommending 4.0.50 in the warning message (to let phusion build it's own). Can we try adding that version of the lib via the devel package as logged and see if it corrects itself?

flakrat commented 5 years ago

I can't find any existence of an EL7 package named passenger-devel. The closest is rubygems-passenger-devel, but that's version 4.0.18

The same error comes up on a google search for the Foreman install.

jprorama commented 5 years ago

Ok. We’ll dig into this.

flakrat commented 5 years ago

Also, note that the build date for the passenger-4.0.53-4 package is Wed Mar 23 02:14:12 2016

So the newer version (4.0.53 vs 4.0.50) is almost 3 years old.