[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't start Apache after upgrading potato to testing



Hello,

I've upgraded my computer from a potato to the testing distribution and I cannot
start apache.

When I execute under root access the command :

/etc/init.d/apache start

I receive the message :

bash-2.05# /etc/init.d/apache start
Starting web server: apache.
[Mon Jul 30 11:01:37 2001] [error] Can't locate Apache.pm in @INC (@INC
contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.6
/usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 . /etc/apache/
/etc/apache/lib/perl) at (eval 1) line 3.

[Mon Jul 30 11:01:45 2001] [error] Can't locate Apache.pm in @INC (@INC
contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.6
/usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 . /etc/apache/
/etc/apache/lib/perl) at (eval 3) line 3.

Syntax error on line 157 of /etc/apache/access.conf:
Can't locate Apache/Constants.pm in @INC (@INC contains:
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5/5.6
/usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 . /etc/apache/
/etc/apache/lib/perl) at /usr/share/perl5/Apache/Filter.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/Apache/Filter.pm line 5.
Compilation failed in require at (eval 4) line 3.

/usr/sbin/apachectl start: httpd could not be started

In fact the module Apache.pm is in the directory /usr/lib/perl/5.6.0 which is
not in @INC.

http://packages.debian.org/cgi-bin/search_contents.pl?word=Constants.pm&case=insensitive&version=testing&arch=i386&directories=yes

I don't know how to solve this problem, is it a problem of the paquet
libapache-mod-perl or a problem of my perl config (I don't know how to change
the content of @INC) ? Or other ?

Can anyone help ?

Thanks for your reply,

With kind regards,

Gael,
gael.pegliasco@e-concepts.fr



Reply to: