Problem restarting Apache2 [Can't load Perl module...]

Hi guys! My Apache2 is unable to restart after installing OTRS. Here is the error : Stopping httpd: [ OK ] Starting httpd: [Tue May 15 10:17:51 2007] [error] Can't locate Apache2/Reload.p m in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/p erl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/sit e_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/v endor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) a t (eval 77) line 3.! [Tue May 15 10:17:51 2007] [error] Can't load Perl module Apache2::Reload for se rver localhost:80, exiting...! What can I do ? Thanks.

Raphael Kouhana wrote:
My Apache2 is unable to restart after installing OTRS.
Here is the error :
Stopping httpd: [ OK ] Starting httpd: [Tue May 15 10:17:51 2007] [error] Can't locate Apache2/Reload.pm in @INC <snip> [Tue May 15 10:17:51 2007] [error] Can't load Perl module Apache2::Reload for server localhost:80, exiting...!
What can I do ?
What OS are you on? You have installed mod_perl? We're using Apache 2 on CentOS 4 and I'm using Apache::Reload in the config, not Apache2::Reload. Nils Breunese.

Hi, Thanks to answer. I'm using RedHat ES 3 + httpd-2.0.46 + mod_perl-1.99_09-10.ent What "config" are you talking about ? Thanks Groetjes, Raph -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Breunese (Lemonbit Internet) Sent: mardi 15 mai 2007 11:23 To: User questions and discussions about OTRS.org Subject: Re: [otrs] Problem restarting Apache2 [Can't load Perl module...] Raphael Kouhana wrote:
My Apache2 is unable to restart after installing OTRS.
Here is the error :
Stopping httpd: [ OK ] Starting httpd: [Tue May 15 10:17:51 2007] [error] Can't locate Apache2/Reload.pm in @INC <snip> [Tue May 15 10:17:51 2007] [error] Can't load Perl module Apache2::Reload for server localhost:80, exiting...!
What can I do ?
What OS are you on? You have installed mod_perl? We're using Apache 2 on CentOS 4 and I'm using Apache::Reload in the config, not Apache2::Reload. Nils Breunese.

httpd.conf ?? it seems that this file hasn't change after installation. Raph -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Breunese (Lemonbit Internet) Sent: mardi 15 mai 2007 12:13 To: User questions and discussions about OTRS.org Subject: Re: [otrs] Problem restarting Apache2 [Can't load Perl module...] Raphael Kouhana wrote:
I'm using RedHat ES 3 + httpd-2.0.46 + mod_perl-1.99_09-10.ent
What "config" are you talking about ?
The apache configuration for OTRS. Nils Breunese.

Sorry, I installed it with rpm. Maybe I should have use the tar.gz procedure. Thank you anyway -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Breunese (Lemonbit Internet) Sent: mardi 15 mai 2007 13:14 To: User questions and discussions about OTRS.org Subject: Re: [otrs] Problem restarting Apache2 [Can't load Perl module...] Raphael Kouhana wrote:
httpd.conf ??
it seems that this file hasn't change after installation.
You didn't tell us how you installed OTRS (.tar.gz? .rpm?), but you might want to take a look in /etc/httpd/conf.d/. Nils Breunese.

Yes! It works great! Bedankt :) -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Breunese (Lemonbit Internet) Sent: mardi 15 mai 2007 13:23 To: User questions and discussions about OTRS.org Subject: Re: [otrs] Problem restarting Apache2 [Can't load Perl module...] Raphael Kouhana wrote:
Sorry, I installed it with rpm. Maybe I should have use the tar.gz procedure.
Thank you anyway
Did you find the apache config for OTRS in /etc/httpd/conf.d/? Have you tried changing Apache2::Reload to Apache::Reload? Nils Breunese.

I had this same problem when I first loaded 2.1.7 from rpm. The problem had something to do with the otrs apache file in /etc/httpd/conf.d/. As I recall it had apache2:reload.pm and it needed to be apache:reload.pm(?). Sorry that I am not being more specific... Don't exactly remember. Hope this helps. gl ________________________________ From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Raphael Kouhana Sent: Tuesday, May 15, 2007 4:53 AM To: otrs@otrs.org Subject: [otrs] Problem restarting Apache2 [Can't load Perl module...] Hi guys! My Apache2 is unable to restart after installing OTRS. Here is the error : Stopping httpd: [ OK ] Starting httpd: [Tue May 15 10:17:51 2007] [error] Can't locate Apache2/Reload.p m in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/p erl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/sit e_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/v endor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) a t (eval 77) line 3.! [Tue May 15 10:17:51 2007] [error] Can't load Perl module Apache2::Reload for se rver localhost:80, exiting...! What can I do ? Thanks.
participants (3)
-
LQ Marshall
-
Nils Breunese (Lemonbit Internet)
-
Raphael Kouhana