CentOS 5.2 updates broke RT (apache) 3.8.1

Hello

I am in the process of doing a proof of concept for RT 3.8.1 running inside a VM session on my laptop with CENTOS 5.2.

I have it up and working and was alerted by the OS that there were 26 updates for me to apply. I have run several snapshots through the process of building RT - so that I don’t break it with out any recourse - so I ran the updates. I noticed there were some Perl updates and let them go on anyway. Needless to say after restarting Apache - just to see if things still worked - apache won’t start anymore.

Error is "httpd failed: The error was: Starting httpd: [FAILED]

Here are the updates that were applied (from syslog)

Sep 24 11:48:17 pope yum: Updated: perl - 4:5.8.8-15.el5_2.1.i386
Sep 24 11:48:18 pope yum: Updated: perl-Net-SSLeay - 1.32-1.el5.rf.i386
Sep 24 11:48:21 pope yum: Updated: perl-Net-DNS - 0.63-1.el5.rf.i386
Sep 24 11:48:22 pope yum: Updated: perl-IO-Zlib - 1.09-1.el5.rf.noarch
Sep 24 11:48:23 pope yum: Updated: perl-Archive-Tar - 1.38-1.el5.rf.noarch
Sep 24 11:48:23 pope yum: Updated: perl-IO-Socket-SSL - 1.13-1.el5.rf.noarch
Sep 24 11:48:24 pope yum: Installed: perl-Compress-Raw-Zlib - 2.011-1.el5.rf.i386
Sep 24 11:48:25 pope yum: Installed: perl-IO-Compress-Base - 2.011-1.el5.rf.noarch
Sep 24 11:48:25 pope yum: Updated: perl-HTML-Tagset - 3.20-1.el5.rf.noarch
Sep 24 11:48:26 pope yum: Updated: perl-HTML-Parser - 3.56-1.el5.rf.i386
Sep 24 11:48:36 pope yum: Installed: glib - 1:1.2.10-20.el5.i386
Sep 24 11:48:37 pope yum: Installed: gtk+ - 1:1.2.10-56.el5.i386
Sep 24 11:48:40 pope yum: Updated: spamassassin - 3.2.5-1.el5.rf.i386
Sep 24 11:48:40 pope yum: Installed: perl-IO-Compress-Zlib - 2.011-1.el5.rf.noarch
Sep 24 11:48:41 pope yum: Updated: perl-Compress-Zlib - 2.011-1.el5.rf.noarch
Sep 24 11:48:41 pope yum: Installed: perl-Crypt-PasswdMD5 - 1.3-1.2.el5.rf.noarch
Sep 24 11:48:41 pope yum: Updated: perl-IO-Socket-INET6 - 2.54-1.el5.rf.noarch
Sep 24 11:48:43 pope yum: Updated: lftp - 3.7.3-1.el5.rf.i386
Sep 24 11:48:43 pope yum: Installed: perl-Net-Daemon - 0.43-1.el5.rf.noarch
Sep 24 11:48:44 pope yum: Installed: perl-PlRPC - 0.2020-1.el5.rf.noarch
Sep 24 11:48:46 pope yum: Updated: perl-DBI - 1.605-1.el5.rf.i386
Sep 24 11:48:48 pope yum: Updated: subversion - 1.5.2-0.1.el5.rf.i386
Sep 24 11:48:49 pope yum: Updated: nmap - 2:4.20-1.el5.rf.i386
Sep 24 11:48:50 pope yum: Updated: libwpd - 0.8.14-1.el5.rf.i386
Sep 24 11:48:51 pope yum: Updated: dstat - 0.6.8-1.el5.rf.noarch
Sep 24 11:48:51 pope yum: Updated: udftools - 1.0.0b3-3.el5.rf.i386
Sep 24 11:48:51 pope yum: Updated: mtr - 2:0.74-1.el5.rf.i386
Sep 24 11:48:52 pope yum: Updated: cadaver - 0.22.5-1.el5.rf.i386
Sep 24 11:48:52 pope yum: Updated: nmap-frontend - 2:4.20-1.el5.rf.i386
Sep 24 11:48:53 pope yum: Updated: rsync - 3.0.4-1.el5.rf.i386
Sep 24 11:48:54 pope yum: Updated: perl-BSD-Resource - 1.2901-1.el5.rf.i386
Sep 24 11:48:57 pope yum: Updated: iso-codes - 1.0a-1.el5.rf.noarch
Sep 24 11:48:58 pope yum: Installed: gdk-pixbuf - 1:0.22.0-25.el5.i386
Sep 24 11:48:58 pope yum: Updated: flash-plugin - 9.0.124.0-1.el5.rf.i386
Sep 24 11:48:59 pope yum: Updated: rdesktop - 1.5.0-0.el5.rf.i386
Sep 24 11:49:00 pope yum: Updated: syslinux - 3.71-1.el5.rf.i386

My reason for posting is to know what modules I need to be careful with in the future as to what will break RT. Can anyone tell me which updates shouldn’t be run? Anything specific from the list above? I’ve reverted to my saved snapshot and it’s back up again and I did it once more to verify that the updates are what broke it - and it is the culprit.

If this goes into production - I want to be informed as to what updates/patches can go on easily to keep the OS up to date and what others I need to stay away from completely - or just be leary of.

Thanks - there are some great people on this list that PM’d me with a lot of great help.

-Todd Christensen

Check /var/log/httpd/error_log for the probable cause. I did that update,
and some modules were missing, don’t remember which one.

Also, after that, when you get apache to start, if you get a blank page from
RT, you need to start CPAN and do this:
force install Scalar::Util

That was my problem when I updated perl on RHEL 5.2, should be the same as
on CentOS. It was particularly hard to track since it left no messages
anywhere.

Mathieu Longtin
1-514-803-8977On Wed, Sep 24, 2008 at 2:40 PM, Todd Christensen tchristensen@utah.govwrote:

Hello

I am in the process of doing a proof of concept for RT 3.8.1 running inside
a VM session on my laptop with CENTOS 5.2.

I have it up and working and was alerted by the OS that there were 26
updates for me to apply. I have run several snapshots through the process
of building RT - so that I don’t break it with out any recourse - so I ran
the updates. I noticed there were some Perl updates and let them go on
anyway. Needless to say after restarting Apache - just to see if things
still worked - apache won’t start anymore.

Error is "httpd failed: The error was: Starting httpd: [FAILED]

Here are the updates that were applied (from syslog)

Sep 24 11:48:17 pope yum: Updated: perl - 4:5.8.8-15.el5_2.1.i386
Sep 24 11:48:18 pope yum: Updated: perl-Net-SSLeay - 1.32-1.el5.rf.i386
Sep 24 11:48:21 pope yum: Updated: perl-Net-DNS - 0.63-1.el5.rf.i386
Sep 24 11:48:22 pope yum: Updated: perl-IO-Zlib - 1.09-1.el5.rf.noarch
Sep 24 11:48:23 pope yum: Updated: perl-Archive-Tar - 1.38-1.el5.rf.noarch
Sep 24 11:48:23 pope yum: Updated: perl-IO-Socket-SSL -
1.13-1.el5.rf.noarch
Sep 24 11:48:24 pope yum: Installed: perl-Compress-Raw-Zlib -
2.011-1.el5.rf.i386
Sep 24 11:48:25 pope yum: Installed: perl-IO-Compress-Base -
2.011-1.el5.rf.noarch
Sep 24 11:48:25 pope yum: Updated: perl-HTML-Tagset - 3.20-1.el5.rf.noarch
Sep 24 11:48:26 pope yum: Updated: perl-HTML-Parser - 3.56-1.el5.rf.i386
Sep 24 11:48:36 pope yum: Installed: glib - 1:1.2.10-20.el5.i386
Sep 24 11:48:37 pope yum: Installed: gtk+ - 1:1.2.10-56.el5.i386
Sep 24 11:48:40 pope yum: Updated: spamassassin - 3.2.5-1.el5.rf.i386
Sep 24 11:48:40 pope yum: Installed: perl-IO-Compress-Zlib -
2.011-1.el5.rf.noarch
Sep 24 11:48:41 pope yum: Updated: perl-Compress-Zlib -
2.011-1.el5.rf.noarch
Sep 24 11:48:41 pope yum: Installed: perl-Crypt-PasswdMD5 -
1.3-1.2.el5.rf.noarch
Sep 24 11:48:41 pope yum: Updated: perl-IO-Socket-INET6 -
2.54-1.el5.rf.noarch
Sep 24 11:48:43 pope yum: Updated: lftp - 3.7.3-1.el5.rf.i386
Sep 24 11:48:43 pope yum: Installed: perl-Net-Daemon - 0.43-1.el5.rf.noarch
Sep 24 11:48:44 pope yum: Installed: perl-PlRPC - 0.2020-1.el5.rf.noarch
Sep 24 11:48:46 pope yum: Updated: perl-DBI - 1.605-1.el5.rf.i386
Sep 24 11:48:48 pope yum: Updated: subversion - 1.5.2-0.1.el5.rf.i386
Sep 24 11:48:49 pope yum: Updated: nmap - 2:4.20-1.el5.rf.i386
Sep 24 11:48:50 pope yum: Updated: libwpd - 0.8.14-1.el5.rf.i386
Sep 24 11:48:51 pope yum: Updated: dstat - 0.6.8-1.el5.rf.noarch
Sep 24 11:48:51 pope yum: Updated: udftools - 1.0.0b3-3.el5.rf.i386
Sep 24 11:48:51 pope yum: Updated: mtr - 2:0.74-1.el5.rf.i386
Sep 24 11:48:52 pope yum: Updated: cadaver - 0.22.5-1.el5.rf.i386
Sep 24 11:48:52 pope yum: Updated: nmap-frontend - 2:4.20-1.el5.rf.i386
Sep 24 11:48:53 pope yum: Updated: rsync - 3.0.4-1.el5.rf.i386
Sep 24 11:48:54 pope yum: Updated: perl-BSD-Resource - 1.2901-1.el5.rf.i386
Sep 24 11:48:57 pope yum: Updated: iso-codes - 1.0a-1.el5.rf.noarch
Sep 24 11:48:58 pope yum: Installed: gdk-pixbuf - 1:0.22.0-25.el5.i386
Sep 24 11:48:58 pope yum: Updated: flash-plugin - 9.0.124.0-1.el5.rf.i386
Sep 24 11:48:59 pope yum: Updated: rdesktop - 1.5.0-0.el5.rf.i386
Sep 24 11:49:00 pope yum: Updated: syslinux - 3.71-1.el5.rf.i386

My reason for posting is to know what modules I need to be careful with in
the future as to what will break RT. Can anyone tell me which updates
shouldn’t be run? Anything specific from the list above? I’ve reverted to
my saved snapshot and it’s back up again and I did it once more to verify
that the updates are what broke it - and it is the culprit.

If this goes into production - I want to be informed as to what
updates/patches can go on easily to keep the OS up to date and what others I
need to stay away from completely - or just be leary of.

Thanks - there are some great people on this list that PM’d me with a lot
of great help.

-Todd Christensen


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I am running 3.8.1 under CentOS 5.2 without issues, but I think I dodged
your bullet early when I was setting up the system.

In the past to avoid issues related to the distro mucking with my perl
install I would replace it’s perl with one built from src which I would
update via CPAN. However I wanted to get away from that with CentOS 5.x
and try to use just the distro installation, so I gave it a shot and ran
into the problem of the distro updating a perl module with an earlier
one than I already had installed.

My solution was to leave the stock perl alone and let it update what it
wants, but also install a copy from src into /usr/local/ which is what
mod_perl/RT references instead of the distro installation. So now I can
be sure that my critical perl install will remain untouched unless I
touch it.

rt-users-request@lists.bestpractical.com wrote: