Apache not starting after upgrade

Today after the upgrade of FC6 to Fedora 7 apache stopped working and giving
the error …

[Wed Oct 17 16:39:08 2007] [error] Apache2::ServerUtil object version
2.000002 does not match $Apache2::ServerUtil::VERSION 2.000003 at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line
94.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
250.\nBEGIN failed–compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
259.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Web/Handler.pm line
134.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Oct 17 16:39:08 2007] [error] Can’t load Perl file: /usr/sbin/webmux.pl
for server ourdomain.abc.com:80 http://ourdomain.abc.com/, exiting…

It was working fine before the upgrade, i have checked the file permission
of /etc/rt3 directory which is currently set to …

-rw-r–r-- 1 root root 68 2004-05-07 00:33 acl.Informix
-rw-r–r-- 1 root root 376 2004-06-26 20:31 acl.mysql
-rw-r–r-- 1 root root 240 2004-05-07 00:33 acl.Oracle
-rw-r–r-- 1 root root 1414 2004-05-28 03:30 acl.Pg
-rw-r–r-- 1 root root 109 2004-06-01 01:54 acl.Sybase
-rw-r–r-- 1 root root 22888 2006-08-22 16:44 initialdata
-rw-r–r-- 1 root root 20191 2006-12-29 09:15 RT_Config.pm
-rw-r–r-- 1 root root 17076 2006-11-04 19:51 RT_SiteConfig.pm
-rw-r----- 1 root root 614 2006-11-02 14:21 RT_SiteConfig.pm.new
-rw-r–r-- 1 root root 10518 2004-04-02 13:43 schema.Informix
-rw-r–r-- 1 root root 13158 2006-01-19 15:11 schema.mysql
-rw-r–r-- 1 root root 11713 2006-12-15 04:39 schema.Oracle
-rw-r–r-- 1 root root 13868 2004-11-11 08:46 schema.Pg
-rw-r–r-- 1 root root 10767 2004-11-11 08:46 schema.SQLite
-rw-r–r-- 1 root root 11550 2004-11-11 08:03 schema.Sybase
drwxr-xr-x 8 root root 4096 2007-10-17 18:05 upgrade

so no permission problem teh webserver user ‘apache’ can read these files.

If i moved the /etc/httpd/conf.d/rt3.conf off apache configs apache start
working.

Any help in this regards will be greatly appreciated.

Askar

Looks like you need to re-install Apache::Bundle from CPAN top match
your version of apache.

Asrai khn wrote:

Looks like you need to re-install Apache::Bundle from CPAN top match
your version of apache.

Not sure which perl modules to install its rpm base distro and we only
install packages from fedora repository (easy to update in future).

Askar.

Have you checked to make sure the version of RT installed via yum is the
most current available?

James Moseley

         "Asrai khn"                                                   
         <asraikhn@gmail.c                                             
         om>                                                        To 
         Sent by:                  rt-users@lists.bestpractical.com    
         rt-users-bounces@                                          cc 
         lists.bestpractic                                             
         al.com                                                Subject 
                                   Re: [rt-users] Apache not starting  
                                   after upgrade                       
         10/18/2007 01:32                                              
         PMOn 10/18/07, Drew Barnes <barnesaw@ucrwcu.rwc.uc.edu> wrote:

Looks like you need to re-install Apache::Bundle from CPAN top match
your version of apache.

Not sure which perl modules to install its rpm base distro and we only
install packages from fedora repository (easy to update in future).

Askar.
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

Have you checked to make sure the version of RT installed via yum is the
most current available?

Its rt3-3.6.3-1.fc7 available from Fedora 7 repo and at RT site the latest
version is rt-3.6.5.tar.gz

Thanks. Askar

Yes, 3.6.3 is available from FC7 repository. What’s actually installed,
though?

James Moseley

         "Asrai khn"                                                   
         <asraikhn@gmail.c                                             
         om>                                                        To 
                                   "James Moseley"                     
         10/18/2007 02:59          <jmoseley@corp.xanadoo.com>         
         PM                                                         cc 
                                   rt-users@lists.bestpractical.com,   
                                   rt-users-bounces@lists.bestpractica 
                                   l.com                               
                                                               Subject 
                                   Re: [rt-users] Apache not starting  
                                   after upgradeOn 10/18/07, James Moseley <jmoseley@corp.xanadoo.com> wrote:

Have you checked to make sure the version of RT installed via yum is the
most current available?

Its rt3-3.6.3-1.fc7 available from Fedora 7 repo and at RT site the latest
version is rt-3.6.5.tar.gz

Thanks. Askar

Yes, 3.6.3 is available from FC7 repository. What’s actually installed,
though?

The same version i have installed

$ rpm -qa | grep rt3
rt3-3.6.3-1.fc7

Askar.

OK. I have no idea what was or wasn’t installed as part of the RC7 RPM.
My best advice would be to download the source, run configure, and then do
a ‘make testdeps’. You’re not installing anything, but this will tell you
if you are missing anything.

James Moseley

         "Asrai khn"                                                   
         <asraikhn@gmail.c                                             
         om>                                                        To 
         Sent by:                  rt-users@lists.bestpractical.com    
         rt-users-bounces@                                          cc 
         lists.bestpractic                                             
         al.com                                                Subject 
                                   Re: [rt-users] Apache not starting  
                                   after upgrade                       
         10/18/2007 03:07                                              
         PMOn 10/19/07, James Moseley <jmoseley@corp.xanadoo.com> wrote:

Yes, 3.6.3 is available from FC7 repository. What’s actually installed,
though?

The same version i have installed

$ rpm -qa | grep rt3
rt3-3.6.3-1.fc7

Askar._______________________________________________
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

OK. I have no idea what was or wasn’t installed as part of the RC7 RPM.
My best advice would be to download the source, run configure, and then do
a ‘make testdeps’. You’re not installing anything, but this will tell you
if you are missing anything.

Thanks nice idea, atm not feeling for working will let you know later.

Askar.

OK. I have no idea what was or wasn’t installed as part of the RC7 RPM.
My best advice would be to download the source, run configure, and then do
a ‘make testdeps’. You’re not installing anything, but this will tell you
if you are missing anything.

I have downloaded the source of same version that has been installed by yum
and then run ‘configure’ and then ‘make testdeps’ it gives me few missing
deps

CORE dependencies:

DBIx::SearchBuilder 1.40…MISSING
DBIx::SearchBuilder version 1.4 required–this is only version 1.38 at
(eval 19) line 2.

DEV dependencies:
Test::Expect 0.30…MISSING

Wonders what packages to install for these deps and does it related to the
error i am getting while starting apache.

Thanks. Askar

Askar,

Forgive me if you’ve already tried this.

After running make testdeps, if something comes up missing the next step
is to run ‘make fixdeps’. This will connect to cpan and install your
missing Perl Modules. CPAN will also resolve any dependencies those
modules have.

There are a couple of cranky modules, but I don’t believe the ones you
listed ever gave me any problems.

CraigFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Asrai khn
Sent: Friday, October 19, 2007 8:51 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Apache not starting after upgrade

OK. I have no idea what was or wasn’t installed as part of the RC7 RPM.
My best advice would be to download the source, run configure, and then
do
a ‘make testdeps’. You’re not installing anything, but this will tell
you
if you are missing anything.

I have downloaded the source of same version that has been installed by
yum and then run ‘configure’ and then ‘make testdeps’ it gives me few
missing deps

CORE dependencies:

DBIx::SearchBuilder 1.40…MISSING
DBIx::SearchBuilder version 1.4 required–this is only version 1.38 at
(eval 19) line 2.

DEV dependencies:
Test::Expect 0.30…MISSING

Wonders what packages to install for these deps and does it related to
the error i am getting while starting apache.

Thanks. Askar

Askar,

Forgive me if you’ve already tried this.

After running make testdeps, if something comes up missing the next step
is to run ‘make fixdeps’. This will connect to cpan and install your
missing Perl Modules. CPAN will also resolve any dependencies those modules
have.

There are a couple of cranky modules, but I don’t believe the ones you
listed ever gave me any problems.

Craig,

RT3 is already installed from Fedora 7 repository I am trying to figure out
why apache failing to start after this host has been upgraded from FC6 to
F7.

The error i am getting is

[Wed Oct 17 16:39:08 2007] [error] Apache2::ServerUtil object version
2.000002 does not match $Apache2::ServerUtil::VERSION 2.000003 at
/usr/lib/perl5/5.8.8/i386
-linux-thread-multi/XSLoader.pm line 94.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
250.\nBEGIN failed–compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
259.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Web/Handler.pm line
134.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Oct 17 16:39:08 2007] [error] Can’t load Perl file: /usr/sbin/webmux.pl
for server

And for ‘make testdeps’ i have confirmed that the missing dependency from
Core ’ is already installed at this host

perl-DBIx-SearchBuilder-1.49-1.fc7

May be rt-3.6.3 requires lower version, but the above version comes with
Fedora 7.

We do not installed packages from CPAN but only Fedora repositories

reason: make easy to update

Askar.

Askar,

I’m running 3.6.4 with DBIx::SearchBilder v1.49. I don’t think that is
your problem. Sorry I don’t have any more to add to that.

CraigFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Asrai khn
Sent: Friday, October 19, 2007 9:16 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Apache not starting after upgrade

Askar,

Forgive me if you’ve already tried this.

After running make testdeps, if something comes up missing the next step
is to run ‘make fixdeps’. This will connect to cpan and install your
missing Perl Modules. CPAN will also resolve any dependencies those
modules have.

There are a couple of cranky modules, but I don’t believe the ones you
listed ever gave me any problems.

Craig,

RT3 is already installed from Fedora 7 repository I am trying to figure
out why apache failing to start after this host has been upgraded from
FC6 to F7.

The error i am getting is

[Wed Oct 17 16:39:08 2007] [error] Apache2::ServerUtil object version
2.000002 does not match $Apache2::ServerUtil::VERSION 2.000003 at
/usr/lib/perl5/5.8.8/i386
-linux-thread-multi/XSLoader.pm line 94.\nCompilation failed in require
at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
250.\nBEGIN failed–compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
259.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Web/Handler.pm line
134.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Oct 17 16:39:08 2007] [error] Can’t load Perl file:
/usr/sbin/webmux.pl for server

And for ‘make testdeps’ i have confirmed that the missing dependency
from Core ’ is already installed at this host

perl-DBIx-SearchBuilder-1.49-1.fc7

May be rt-3.6.3 requires lower version, but the above version comes with
Fedora 7.

We do not installed packages from CPAN but only Fedora repositories

reason: make easy to update

Askar.

I’m running 3.6.4 with DBIx::SearchBilder v1.49. I don’t think that is
your problem. Sorry I don’t have any more to add to that.

Craig,

Never mind actually we can live with rt binaries which are working fine on
this host no need for apache rt3.conf. This is our monitoring host which
uses rt binaries to integrate with “monitor” (network monitoring system) for
creating trouble tickets.

Sorry for causing trouble.

Thanks. Askar