View previous topic :: View next topic |
Author |
Message |
fosstux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1026303592474ab97e4cba4.gif)
Joined: 01 Oct 2002 Posts: 274 Location: Vienna, Austria
|
Posted: Fri Jul 30, 2004 12:51 am Post subject: SOLVED: Problems Apache2 - mod_perl 1.99 |
|
|
Hi!
I've got an Apache 2.0.49 with mod_php4 and mod_ssl running and want to add mod_perl.
I've emerged everything without errors.
In /etc/apache2/conf/apache2.conf I've added the following:
Code: | LoadModule perl_module extramodules/mod_perl.so
PerlModule Apache2 |
as it can be read at http://perl.apache.org/docs/2.0/user/intro/start_fast.html.
In /etc/conf.d/apache2 I've added the following in the APACHE2_OPTS:
But when I try to start apache2 it terminates with the following error:
Code: | * Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 192.168.0.2 for ServerName
[Fri Jul 30 02:34:42 2004] [error] Can't locate File/Basename.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3/i686-linux /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl . /usr/lib/apache2/ /usr/lib/apache2/lib/perl) at /usr/lib/perl5/vendor_perl/5.8.2/i686-linux/Apache2.pm line 18.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.2/i686-linux/Apache2.pm line 18.\nCompilation failed in require at /etc/apache2/conf/modules.d/apache2-mod_perl-startup.pl line 1.\nBEGIN failed--compilation aborted at /etc/apache2/conf/modules.d/apache2-mod_perl-startup.pl line 1.\nCompilation failed in require at (eval 1) line 1.\n
[Fri Jul 30 02:34:42 2004] [error] Can't load Perl file: /etc/apache2/conf/modules.d/apache2-mod_perl-startup.pl for server 192.168.0.2:0, exiting...\n [ !! ] |
What's wrong?
Please help.
Thanks in advance _________________ Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition.
Last edited by fosstux on Wed Aug 04, 2004 1:52 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxmin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/473518307438a03b302dca.jpg)
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Fri Jul 30, 2004 11:34 am Post subject: |
|
|
Code: | # locate Basename.pm
/usr/lib/perl5/5.8.4/File/Basename.pm
# etcat -b /usr/lib/perl5/5.8.4/File/Basename.pm
Searching for /usr/lib/perl5/5.8.4/File/Basename.pm in * ...
dev-lang/perl-5.8.4
|
maybe you deleted the file accidentally? Try reemering perl!
Alex!! _________________ ALT-F4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fosstux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1026303592474ab97e4cba4.gif)
Joined: 01 Oct 2002 Posts: 274 Location: Vienna, Austria
|
Posted: Wed Aug 04, 2004 1:52 pm Post subject: |
|
|
Thanks. That worked. _________________ Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|