Re: port-problem: apache2.0.54 mod_perl2 no Modules!!

From: Florian Prester (Florian.Prester_at_rrze.uni-erlangen.de)
Date: 05/30/05

  • Next message: Imobach González Sosa: "Re: Poor network performance: a lot of timeouts"
    Date: Mon, 30 May 2005 16:58:44 +0200
    To: Daniel Gerzo <danger@rulez.sk>
    
    

    Hello Gerzo,

    Thanks for your reply.

    Daniel Gerzo wrote:

    >Hello Florian,
    >
    >Monday, May 30, 2005, 3:57:13 PM, you wrote these comments:
    >
    >
    >
    >>Hi,
    >>
    >>
    >
    >
    >
    >>I installed the mod_perl2 port.
    >>I added to the httpd.conf:
    >>
    >>
    >
    >
    >
    >>PerlModule Apache2
    >>
    >>
    >
    >this is wrong, you should add:
    >
    >LoadModule perl_module libexec/apache2/mod_perl.so
    >
    >
    Sorry, of course I added this line as well, forgot to mention.
    I do not have any scripts, so I am jist at the beginning :-(

    >Be careful, the mod_perl2 API was changed nearly to the 2.0 release,
    >so your scripts should not work. Check:
    >
    >http://perl.apache.org/docs/2.0/rename.html
    >
    >Btw. the mod_perl2 maintainer should check his pkg-message, because it
    >says: LoadModule perl_module modules/mod_perl.so, this path is wrong,
    >since FreeBSD installs modules to libexec/apache2/
    >
    >
    >
    I know about that issue, thanks

    >>Alias /perl/ /data/chroot/www/perl/
    >><Location /perl/>
    >>SetHandler perl-script
    >>PerlResponseHandler ModPerl::Registry
    >>PerlOptions +ParseHeaders
    >>Options +ExecCGI
    >></Location>
    >>
    >>
    >
    >
    >
    >>But nothing happens, the server cannot find the modules:
    >>
    >>
    >
    >
    >
    >>Fri May 27 12:04:56 2005] [error] Can't locate Apache2.pm in @INC (@INC
    >>contains: /usr/local/lib/perl5/site_perl/5.8.6/mach
    >>/usr/local/lib/perl5/site_perl/5.8.6
    >>/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl
    >>/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach
    >>/usr/local/lib/perl5/5.8.6 . /usr/local) at (eval 4) line 3.\n
    >>[Fri May 27 12:04:56 2005] [error] Can't load Perl module Apache2 for
    >>server ...
    >>
    >>
    >
    >
    >
    >>Any Ideas??
    >>
    >>
    >
    >
    >
    >>Thanks in advance
    >>darkspace
    >>
    >>
    >
    >
    >
    Any other ideas?

    Thanks
    Florian

    -- 
    --------------------------------------------------------------
    Dipl. Inf. Florian Prester
    Network Administration
    Regionales RechenZentrum Erlangen
    Universitaet Erlangen-Nuernberg
    Germany
    Tel.: +499131 8527813
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Imobach González Sosa: "Re: Poor network performance: a lot of timeouts"

    Relevant Pages

    • Re: Increase space for /var/db/
      ... But you have another cleaner option w/ MySQL. ... /usr/local/etc/rc.d/ scripts so I ... To unsubscribe, ... Protect your identity with Yahoo! ...
      (freebsd-questions)
    • Re: Samba ls date weirdness
      ... The ls manpage makes no mention whatsoever about date/time field changes ... I've made some changes to the scripts that hopefully ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • RE: export question
      ... I am sorry that you think I was arguing with you. ... environment, but you did not explain why export was not working. ... Export should allow me to use the variable in other scripts, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Question about sendmail
      ... So, when emails of specific Send-to address arrives to my mail server, I would ... It can redirect mail, forward mail, run scripts, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Cupsd strangeness....
      ... Starting cupsd. ... Nowadays all executable scripts in rc.d/ will be executed, not only those ending on .sh ... And I'm sure its a config error on my part. ... To unsubscribe, send any mail to ...
      (freebsd-questions)