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

Re: Upgrade killed perl5.6



RS> Hi,
RS> After my upgrade yesterday something seems to be wrong around my perl5.6 and 
RS> / or apache.
RS> during init apache can't be loaded. Here is the output:

RS> **************
RS> Starting web server: apache.
RS> [Tue Jul  3 05:36:30 2001] [error] Can't locate Apache.pm in @INC (@INC 
RS> contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 
RS> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 
RS> /usr/local/lib/site_perl /usr/lib/perl5/5.6 /usr/lib/perl5/5.005/i386-linux 
RS> /usr/lib/perl5/5.005 . /etc/apache/ /etc/apache/lib/perl) at (eval 1) line 3.

RS> /usr/sbin/apachectl start: httpd could not be started
RS> **************

RS> What does that mean and how can i fix that?

AFAIK it know bug in apache-perl which places its Perl modules at
wrong directory. As temprorary workaround you can hack
/usr/sbin/apachectl.

Find line

    HTTPD='/usr/sbin/apache'

and replace it with

    HTTPD='PERL5LIB=/usr/lib/perl/5.6.0 /usr/sbin/apache'

Or just copy content of /usr/lib/perl/5.6.0 directory to /usr/lib/perl/5.6.1

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: