| View previous topic :: View next topic |
| Author |
Message |
agentwd40 n00b

Joined: 14 Oct 2002 Posts: 63
|
Posted: Mon Mar 10, 2003 4:17 pm Post subject: mod_perl problems |
|
|
i have added the line "LoadModule perl_module extramodules/mod_perl.so" to my apache2.conf and upon starting i get this error
(i'm using apache2 with the latest mod_perl)
[error] Can't locate Apache/Registry.pm in @INC (@INC contains: /home/httpd/perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux/Apache2 /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 3) line 3.
[Mon Mar 10 11:16:54 2003] [error] Can't load Perl module Apache::Registry for server servername:0, exiting...
Any help would be appreciated
Thanks |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Tue Mar 11, 2003 6:53 pm Post subject: |
|
|
Same problem here.
However, you don't need to add any line to apache2.conf. You just need to add -D PERL in /etc/conf.d/apache2
Regards,
Sébastien.
[EDIT] Bug #17320 |
|
| Back to top |
|
 |
hansw n00b

Joined: 16 Mar 2003 Posts: 1
|
Posted: Sun Mar 16, 2003 11:32 pm Post subject: |
|
|
Had the same problem. It seems to be a problem in commonapache2.conf. Finding the row with:
| Code: | | PerlModule Apache::Registry |
and changing it to:
| Code: | | PerlModule ModPerl::Registry |
seems to fix this problem, though I have not done extensive testing yet.
HTH,
Hans |
|
| Back to top |
|
 |
ttaw n00b

Joined: 27 Apr 2003 Posts: 67
|
Posted: Wed May 07, 2003 3:59 pm Post subject: |
|
|
Thanks, that works (it starts)
bit i still have an internal server error 500
| Code: |
More information about this error may be available in the server error log.
Apache/2.0.45 (Gentoo/Linux) mod_perl/1.99_08 Perl/v5.8.0 Server at ttaw01.chaoswg.de Port 80
|
The more information is:
| Code: |
[Wed May 07 17:56:24 2003] [notice] Digest: generating secret for digest authentication ...
[Wed May 07 17:56:24 2003] [notice] Digest: done
[Wed May 07 17:56:25 2003] [notice] Apache/2.0.45 (Gentoo/Linux) mod_perl/1.99_08 Perl/v5.8.0 configured -- resuming normal operations
[Wed May 07 17:57:01 2003] [error] [client 127.0.0.1] Premature end of script headers: hello.pl
|
This errors comes with every .pl script i try to start at /cgi-bin _________________ Greetz
Torsten |
|
| Back to top |
|
 |
|