Installation OTRS 2.3.4 (Source) auf Ubuntu 8.0.4 LTS

Hilfe zu Znuny Problemen aller Art
Locked
meggenberger
Znuny newbie
Posts: 1
Joined: 17 Apr 2009, 12:22
Znuny Version: 2.3.4

Installation OTRS 2.3.4 (Source) auf Ubuntu 8.0.4 LTS

Post by meggenberger »

Hallo zusammen.

Ich habe hier einen Ubunut 8.0.4 LTS server. Das OTRS Packet, dass ich via apt-get bekomme ist noch Version 2.2.4. Ich möchte aber die ITSM ITIL Erweiterungen benutzen und hab mich dann nach einiger Google Suche dafür entschieden OTRS via Source zu installieren.

Abhängigkeiten hab ich installiert. otrs.checkModules meldet mir, dass alle Module vorhanden sind. Beim Starten von Apache bekomme ich dann eine Fehlermeldung:

Code: Select all

[Fri Apr 17 14:16:28 2009] [error] Can't locate Apache/Reload.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at (eval 108) line 3.\n
Reload.pm hab ich dann in

/usr/lib/perl5/Apache2 gefunden.

Ich hab dann

Code: Select all

use lib "/usr/lib/perl5/Apache2";
in

/opt/otrs/scripts/apache2-perl-startup.pl

hinzugefügt. Damit komm ich etwas weiter. Die Fehlermeldung ist dann:

Code: Select all

[Fri Apr 17 14:21:53 2009] [error] Subroutine load redefined at /usr/lib/perl5/Apache2/XSLoader.pm line 29.\nCompilation failed in require at /usr/lib/perl5/Apache2/Response.pm line 24.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache2/Response.pm line 24.\nCompilation failed in require at /usr/share/perl/5.8/CGI.pm line 187.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 19.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 19.\nCompilation failed in require at (eval 2) line 1.\n
Hier komm ich nicht weiter. XSLoad.pm ist auch im Verzeichnis /usr/lib/perl5/Apache2 vorhanden. Was geht hier schief mit der Compilation?


Meine Config für den Virtuellen Server in Apache ist:

Code: Select all

NameVirtualHost 192.168.10.202:80
<VirtualHost 192.168.10.202:80>
  UseCanonicalName Off
  DocumentRoot /opt/otrs/
  ServerName otrs.blabasel.ch:80
  ServerAdmin me@devnull.ch
  ErrorLog /var/log/apache2/otrs_error.log
  CustomLog /var/log/apache2/otrs_access.log combined

  Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
  ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
  ScriptAlias / "/opt/otrs/bin/cgi-bin/"

  Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl

  PerlModule Apache::Reload
  PerlInitHandler Apache::Reload

  <Location /otrs>
    ErrorDocument 403 /index.pl
    AllowOverride None
    Options +ExecCGI
    SetHandler  perl-script
    PerlHandler ModPerl::Registry
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    PerlSendHeader On
    PerlSetupEnv On
    Order allow,deny
    Allow from all
    DirectoryIndex index.pl
  </Location>

  <Directory "/opt/otrs/bin/cgi-bin">
    ErrorDocument 403 /index.pl
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
    DirectoryIndex index.pl
  </Directory>

  <Directory "/opt/otrs/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>

</VirtualHost>
Hat einer eine Idee?
Locked