Project

General

Profile

Actions

Bug #14793

closed

Clean install on CentOS 7.2.1511, foreman 1.11.1 will not run, problem with passenger_native_support.so

Added by Scott Worthington about 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
RPMs
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:
1. Install CentOS 7.2.1511 base install
2. Install the latest puppet version

yum -y install http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

3. Enable the EPEL (Extra Packages for Enterprise Linux) and the Foreman repos:

yum -y install epel-release

4. Install foreman release

yum -y install http://yum.theforeman.org/releases/1.11/el7/x86_64/foreman-release.rpm

5. Install additional channels

yum -y install foreman-release-scl

6. Install installer

yum -y install foreman-installer

7. Grab addons

yum -y install \
foreman-ec2 \
tfm-rubygem-foreman_ansible \
tfm-rubygem-foreman_ansible-doc \
tfm-rubygem-foreman_docker \
tfm-rubygem-foreman_docker-doc

8. Install screen & run installer

yum install -y screen ; screen
foreman-installer

9. Install completes with error, /var/log/httpd/error_log contains:

App 4480 stderr:  --> passenger_native_support was compiled for Ruby API version 2.0.0, but you're currently running a Ruby interpreter with API version 2.2.0.
App 4480 stderr:      Refusing to load existing passenger_native_support.
App 4480 stderr:  --> No passenger_native_support.so found for current Ruby interpreter.
App 4480 stderr:      This library provides various optimized routines that make
App 4480 stderr:      Phusion Passenger faster. Please run 'sudo yum install passenger-devel-4.0.53'
App 4480 stderr:      so that Phusion Passenger can compile one on the next run.
App 4480 stderr:  --> Continuing without passenger_native_support.so.
App 4480 stderr: Log file /usr/share/foreman/log/production.log cannot be opened. Falling back to STDOUT
App 4480 stdout:  WARN  root : No appender set, logging to STDOUT

The 1.11.1 EL7 updates posted to http://yum.theforeman.org/releases/1.11/el7/x86_64/ on 2016-04-19 are breaking all previously working installs.


Files

2016-04-26_latest_passenger_from_epel7.txt 2016-04-26_latest_passenger_from_epel7.txt 7.5 KB command line log of the installation of the EPEL7-based new passenger RPMs Scott Worthington, 04/26/2016 11:30 AM

Related issues 1 (0 open1 closed)

Is duplicate of SELinux - Bug #14811: Passenger paths changed once again (RHEL7)ClosedLukas Zapletal04/26/2016Actions
Actions

Also available in: Atom PDF