Re: [otrs-de] mod_perl w/ apache2

Hello Andre, On Thu, 18 Aug 2005 16:26:49 +0200 Andre Bauer <monotek@freakmail.de> wrote:
Hallo.
Ja, gibt es. Ich habe es aber noch aus dem TAR gebaut.
Oh, prima. danke für den Hinweis. Aber erstmal den apache update hintermich bringen :-)
Normaler Weise sollte das ganze Perl Zeugs auskommentiert sein, bei der Debian Version..
Auch wenn man mod_perl benutzt? könntest du mal deine relvanten Teile aus der apache.conf posten, dann kann ich vergleihcen. Danke schonmal Gruß Stephan -- GDF Hannover - Solutions for spatial data analysis and remote sensing Hannover Office - Mengendamm 16d - D-30177 Hannover Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

Hallo. Meine unterscheidet sich etwas, aufgrund der 2.0 Version # -- # added for OTRS (http://otrs.org/) # -- # agent, admin and customer frontend ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/" # load all otrs modules #Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl # Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache::Reload #PerlInitHandler Apache::Reload # set mod_perl2 options <Location /otrs> ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl # SetHandler perl-script # PerlHandler ModPerl::Registry Options +ExecCGI # PerlOptions +ParseHeaders </Location> # MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400 -- Mit freundlichen Grüssen Andre Bauer System: Debian 3.1 mit OTRS 2.0.1 ============================================ SH> Hello Andre, SH> On Thu, 18 Aug 2005 16:26:49 +0200 Andre Bauer <monotek@freakmail.de> SH> wrote:
Hallo.
Ja, gibt es. Ich habe es aber noch aus dem TAR gebaut.
SH> Oh, prima. danke für den Hinweis. Aber erstmal den apache update SH> hintermich bringen :-)
Normaler Weise sollte das ganze Perl Zeugs auskommentiert sein, bei der Debian Version..
SH> Auch wenn man mod_perl benutzt? könntest du mal deine relvanten Teile SH> aus der apache.conf posten, dann kann ich vergleihcen. SH> Danke schonmal SH> Gruß SH> Stephan

Hello Andre, On Thu, 18 Aug 2005 17:04:32 +0200 Andre Bauer <monotek@freakmail.de> wrote:
--===============53774084486860985==
Hallo.
Meine unterscheidet sich etwas, aufgrund der 2.0 Version
# -- # added for OTRS (http://otrs.org/) # --
# agent, admin and customer frontend ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
# load all otrs modules #Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache::Reload #PerlInitHandler Apache::Reload
# set mod_perl2 options <Location /otrs> ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl # SetHandler perl-script # PerlHandler ModPerl::Registry Options +ExecCGI # PerlOptions +ParseHeaders </Location>
# MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400
Danke für die Konfig. OK, wenn ich die Perl-Sachen wie oben beschrieben auskommentiere, funktioniert alles. Ich bin aber noch nicht sicher, ob OTRS auch wie gewohnt läuft. Werde es nächste Woche probieren Gruß Stephan -- GDF Hannover - Solutions for spatial data analysis and remote sensing Hannover Office - Mengendamm 16d - D-30177 Hannover Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

Hello Andre, On Thu, 18 Aug 2005 17:04:32 +0200 Andre Bauer <monotek@freakmail.de> wrote:
--===============53774084486860985==
Hallo.
Meine unterscheidet sich etwas, aufgrund der 2.0 Version
# -- # added for OTRS (http://otrs.org/) # --
# agent, admin and customer frontend ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
# load all otrs modules #Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache::Reload #PerlInitHandler Apache::Reload
# set mod_perl2 options <Location /otrs> ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl # SetHandler perl-script # PerlHandler ModPerl::Registry Options +ExecCGI # PerlOptions +ParseHeaders </Location>
# MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400
OK, getestet. Funktioniert hier nicht. Ich brauche schon das mod_perl. Hier nochmal die Fehlermeldung: Weiß noch jemand rat? <Fehler> [Fri Aug 19 09:43:43 2005] [error] Can't locate object method "boot" via package "mod_perl" at /usr/lib/perl5/Apache/Constants.pm line 8.\nCompilationfailed in require at /usr/lib/perl5/Apache.pm line 6.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache.pm line 6.\nCompilation failed in require at /usr/lib/perl5/Apache/Registry.pm line 2.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache/Registry.pm line 2.\nCompilation failed in require at /usr/share/otrs/scripts/apache-perl-startup.pl line 12.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache-perl-startup.pl line 12.\nCompilation failed in require at (eval 3) line 1.\n </Fehler> danke für jede Hilfe Stephan -- GDF Hannover - Solutions for spatial data analysis and remote sensing Hannover Office - Mengendamm 16d - D-30177 Hannover Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

Hi Stephan, On Fri, Aug 19, 2005 at 09:46:14AM +0200, Stephan Holl wrote:
On Thu, 18 Aug 2005 17:04:32 +0200 Andre Bauer <monotek@freakmail.de> wrote:
--===============53774084486860985==
Hallo.
Meine unterscheidet sich etwas, aufgrund der 2.0 Version
# -- # added for OTRS (http://otrs.org/) # --
# agent, admin and customer frontend ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
# load all otrs modules #Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache::Reload #PerlInitHandler Apache::Reload
# set mod_perl2 options <Location /otrs> ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl # SetHandler perl-script # PerlHandler ModPerl::Registry Options +ExecCGI # PerlOptions +ParseHeaders </Location>
# MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400
OK, getestet. Funktioniert hier nicht. Ich brauche schon das mod_perl.
Ohne mod_perl sollte OTRS eigentlich auch funktionieren...
Hier nochmal die Fehlermeldung: Weiß noch jemand rat? <Fehler> [Fri Aug 19 09:43:43 2005] [error] Can't locate object method "boot" via package "mod_perl" at /usr/lib/perl5/Apache/Constants.pm line 8.\nCompilationfailed in require at /usr/lib/perl5/Apache.pm line 6.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache.pm line 6.\nCompilation failed in require at /usr/lib/perl5/Apache/Registry.pm line 2.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache/Registry.pm line 2.\nCompilation failed in require at /usr/share/otrs/scripts/apache-perl-startup.pl line 12.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache-perl-startup.pl line 12.\nCompilation failed in require at (eval 3) line 1.\n </Fehler>
Ich weiß jetzt nicht, was du genau installiert hast, also welche mod_perl2 Version und welches CGI.pm, aber vielleicht hilft dir folgende Konfiguration weiter. Mit dieser funktionierts bei mir unter debian unstalbe bestens: ------ # -- # added for OTRS (http://otrs.org/) # -- # agent, admin and customer frontend ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" # load all otrs modules Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl # Apache::Reload - Reload Perl Modules when Changed on Disk PerlModule Apache2::Reload PerlInitHandler Apache2::Reload PerlModule Apache2::RequestRec # set mod_perl2 options <Location /otrs> # ErrorDocument 403 /otrs/customer.pl AllowOverride None ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlOptions +SetupEnv Order allow,deny Allow from all </Location> # directory settings <Directory "/opt/otrs/bin/cgi-bin/"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <Directory "/opt/otrs/var/httpd/htdocs/"> AllowOverride None Order allow,deny Allow from all </Directory> # MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400 ----- Ciao, Christian -- ((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hello Christian, On Mon, 22 Aug 2005 11:17:15 +0200 Christian Schoepplein <christian.schoepplein@otrs.de> wrote:
Ohne mod_perl sollte OTRS eigentlich auch funktionieren...
Stimmt. Ich wollte aber gerne mod_perl2 benutzen... :-)
Ich weiß jetzt nicht, was du genau installiert hast, also welche mod_perl2 Version und welches CGI.pm, aber vielleicht hilft dir folgende Konfiguration weiter. Mit dieser funktionierts bei mir unter debian unstalbe bestens:
------ # -- # added for OTRS (http://otrs.org/) # --
# agent, admin and customer frontend ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# load all otrs modules Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
Da isser, der Übertäter. Ich hatte das falsche Startup-Skript geladen: apache-perl-startup.pl Nun klappts. Vielen Dank Stephan -- GDF Hannover - Solutions for spatial data analysis and remote sensing Hannover Office - Mengendamm 16d - D-30177 Hannover Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508
participants (3)
-
Andre Bauer
-
Christian Schoepplein
-
Stephan Holl