Project

General

Profile

Actions

Bug #8976

closed

httpd on RHEL7 (RHEL repo) incompatible with mod_fastcgi (ceph repo)

Added by Marcelo Giles almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Sandon Van Ness
Category:
-
Target version:
-
% Done:

100%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On a RHEL7 system

yum install httpd mod_fastcgi

systemctl start httpd

Apache fails to start with the folowing errors in /var/log/messages

systemd: Starting The Apache HTTP Server...
httpd: httpd: Syntax error on line 354 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/fastcgi.conf: Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: undefined symbol: unixd_config
systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
systemd: Failed to start The Apache HTTP Server.

rpm -q httpd
httpd-2.4.6-18.el7_0.x86_64

rpm -q mod_fastcgi
mod_fastcgi-2.4.7-1.ceph.el7.x86_64

httpd package provided in the rhel-x86_64-server-7 RHN channel.
mod_fascgi provided in the ceph.repo shipped with ICE 1.2

The httpd rpm shipped with the ICE repo is:
httpd-2.2.22-1.ceph.el7.src.rpm

So yum picks the newer one, from RHN.

As a temporary workaround, I subscribed the system to the rhel-x86_64-server-optional-7 RHN channel to satisfy a dependency (apr-util-ldap) for the ceph httpd pkg.

Then I run:
yum install apr-util-ldap

Then installed mode_fastcgi disabling RHN to force it to use the ceph repo:
yum install mod_fastcgi --noplugins

This installs:
httpd-2.2.22-1.ceph.el7.x86_64.rpm
httpd-tools-2.2.22-1.ceph.el7.x86_64.rpm
mod_fastcgi-2.4.7-1.ceph.el7.x86_64.rpm

systemctl start httpd now works.

There's an error message but apache seems to work in spite of it:
systemd1: PID file /var/run/httpd/httpd.pid not readable (yet?) after start.

Actions

Also available in: Atom PDF