Hi Lars,

On Tue, Aug 16, 2005 at 09:49:21AM +0200, Lars Monsees wrote:
>>>> Reicht es aus, die Datei aus dem Perl-Verzeichnis ins
>>>> OTRS-Verzeichnis zu kopieren?
>>> 
>>> Du müsstest CGI.pm und das CGI-Verz. kopieren. Oder du entfernst
>>> CGI.pm und das CGI-Verz. aus Kernel/cpan-lib und greifst so auf das
>>> neuere CGI.pm aus deiner Perl-Installation zu.
>> 
>> 
>> Habe zunächst die Dateien aus Kernel/cpan-lib archiviert und dann
>> gelöscht -> Keine Änderung. 
>> 
>> Dann Dateien aus /usr/lib/perl5/5.8.7/ nach Kernel/cpan-lib kopiert
>> -> Internal server error 
>> Habe dann nochmal den otrs-Dienst neugestartet.
>> 
>> 
>> error_log:
>> 
>> [Fri Aug 12 09:46:28 2005] -e: Constant subroutine CGI::XHTML_DTD
>> redefined at
>> /usr/lib/perl5/site_perl/5.8.7/i686-linux/ModPerl/Util.pm line 69.
>> [Fri Aug 12 09:46:28 2005] [error] [client 62.206.18.94]
>> "ebcdic2ascii" is not exported by the CGI::Util module\n
>> "ascii2ebcdic" is not exported by the CGI::Util module\nCan't
>> continue after import errors at /opt/otrs/Kernel/cpan-lib/CGI.pm line
>> 27\nBEGIN failed--compilation aborted at
>> /opt/otrs/Kernel/cpan-lib/CGI.pm line 27.\nCompilation failed in
>> require at
>> /usr/lib/perl5/site_perl/5.8.7/i686-linux/Apache2/Reload.pm line
>> 158.\n, referer: http://www.xxxxx.de/otrs/index.pl?Action=Logout     
>> 
>> (zeit auf server war falsch, neu eingestellt)
>> diese einträge müssten nach dem otrs-dienst-neustart gekommen sein
>> (error_log erst später angeschaut) 
>> 
>> [Fri Aug 12 11:00:21 2005] [error] Not a CODE reference at
>> /opt/otrs//Kernel/System/WebRequest.pm line 71.\n 
>
>
>Ich komme hier nicht wirklich weiter. Hat noch jemand ne Idee?

Leider auch nicht so wirklich, mod_perl2 ist irgendwie unberechenbar :(.

Ich schick dir hier mal meine OTRS spezifischen Teil aus meiner 
Webserverkonfiguration, wie es bei mir mit OTRS 2.0, apache2 und 
mod_perl2 2.x unter debian unstable läuft.

-----
# --
# 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
-----

Ändert das was? Wie lauten die Fehler im Errorlog vom apache2?

>Könnte eine Aktualisierung auf OTRS 2.0 was bringen???

Eigentlich sollte auch OTRS 1.2.4 mit mod_perl2 laufen. Das Einzige, was 
wir IIRC wegen mod_perl2 seitdem geändert haben, ist, dass wir CGI.pm 
und das cGI Verzeichnis aus

$OTRSHOME/Kernel/cpan-lib

entfernt haben..., eben weil sich nicht alle Versionen von mod_perl2 
damit vertragen.

Viele Grüße,
Christian

-- 
((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication!

Attachment: signature.asc
Description: Digital signature

_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/

Antwort per Email an