apache-httpd.include.conf: Perlrequire ... --> Comilation Failed, AgentBounce

Hallo, da meine OTRS-Installation nicht sonderlich performant ist, möchte ich gerne die Performance-Stellschraube in der apache-httpd.include.conf ausprobieren. Ich habe hierzu in folgender Zeile den Kommentar entfernt: Perlrequire /opt/otrs/scripts/apache-perl-startup.pl Wenn ich Apache neu starten will bekomme ich folgende Meldung: ---------------------- linuxmnt:/opt/otrs/scripts # rcapache restart Shutting down httpd done Starting httpd [ Mailman PERL PHP4 Python ] [Tue Mar 16 09:29:07 2004] Format.pm: Using an array as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88. [Tue Mar 16 09:29:07 2004] Format.pm: Using an array as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217. [Tue Mar 16 09:29:08 2004] [error] syntax error at /opt/otrs//Kernel/Modules/AgentBounce.pm line 12, near "package Kernel::Modules::AgentBounce" BEGIN not safe after errors--compilation aborted at /opt/otrs//Kernel/Modules/AgentBounce.pm line 14. Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 102. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl line 102. Compilation failed in require at (eval 168) line 1. Syntax error on line 10 of /opt/otrs/scripts/apache-httpd.include.conf: syntax error at /opt/otrs//Kernel/Modules/AgentBounce.pm line 12, near "package Kernel::Modules::AgentBounce" BEGIN not safe after errors--compilation aborted at /opt/otrs//Kernel/Modules/AgentBounce.pm line 14. Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 102. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl line 102. Compilation failed in require at (eval 168) line 1. -------------------------- Wenn ich AgentBounce.pm direkt mit perl starten will bekomme ich folgende Meldung: linuxmnt:/opt/otrs/scripts # perl /opt/otrs//Kernel/Modules/AgentBounce.pm syntax error at /opt/otrs//Kernel/Modules/AgentBounce.pm line 12, near "package Kernel::Modules::AgentBounce" BEGIN not safe after errors--compilation aborted at /opt/otrs//Kernel/Modules/AgentBounce.pm line 14. Nachdem ich die CSV-Version von AgentBounce.pm heruntergeladen habe verschwindet ein Teil der Fehler- meldungen. rcapache restart liefert folgende Meldungen: -------- [Tue Mar 16 09:39:46 2004] Format.pm: Using an array as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88. [Tue Mar 16 09:39:46 2004] Format.pm: Using an array as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217. Syntax OK failed -------- Gibt es dazu schon ein Fix? Kann ich Apache so konfigurieren, dass er trotzdem startet, auch wenn als deprecated markierte Funktionen verwendet werden? Gruß, Volker

On Tuesday, March 16, 2004 9:51 AM
Maibaum, Volker
da meine OTRS-Installation nicht sonderlich performant ist, möchte ich gerne die Performance-Stellschraube in der apache-httpd.include.conf ausprobieren. Ich habe hierzu in folgender Zeile den Kommentar entfernt:
Perlrequire /opt/otrs/scripts/apache-perl-startup.pl [...] [Tue Mar 16 09:39:46 2004] Format.pm: Using an array as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88. [Tue Mar 16 09:39:46 2004] Format.pm: Using an array as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217. Syntax OK failed
Gibt es dazu schon ein Fix? Kann ich Apache so konfigurieren, dass er trotzdem startet, auch wenn als deprecated markierte Funktionen verwendet werden?
Dein Apache läuft schon, denke ich. Das sind lediglich Warnungen, dass in der verwendeten Perl-Routine wer schlampig programmiert hat. Du bist Dir sicher, dass Du nicht zufällig einen Apache2 installieren möchtest, mit mod_perl2. Wenn wir schon von Performanz reden, dann richtig, oder? Fröhlich grüßt Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Maibaum, Volker
-
Robert Kehl