OTRS 5 Beta 1 Gateway Timeout

Hilfe zu OTRS Problemen aller Art
Post Reply
alcesh
Znuny newbie
Posts: 12
Joined: 17 Feb 2014, 08:44
Znuny Version: 5.0.16
Real Name: Matthias

OTRS 5 Beta 1 Gateway Timeout

Post by alcesh »

Hallo miteinander,

ich habe mitbekommen das es eine OTRS 5 Beta gibt und wollte diese natürlich gleich mal testen.
Hierzu habe ich folgende Umgebung aufgebaut:
Auf meinem Notebook habe ich über VirtualBox eine blanke OpenSuse 13.2 VM aufgesetzt. Auf dieser habe ich nach folgender Anleitung OTRS 5 Beta 1 installiert: http://otrs.github.io/doc/manual/admin/ ... on-on-suse - die aktuellesten Pakete(Apache etc) wurden von Zypper während der Installation mitinstalliert.
Soweit so gut.

Allerdings gibt es bereits nach der Installation das erste Problem --> Beim Zugriff auf http://localhost/otrs/installer.pl sowie alle weiteren Elemente erhalte ich den Fehler "Zugriff verweigert". Diesen Fehler konnte ich durch einen kleinen Workaround beheben: apache2/httpd.conf:
<Directory />
Options None
AllowOverride None
#Require all denied
Require all granted
</Directory>
Nicht schön, aber es handelt sich ja nur um eine Testumgebung.
Im Anschluss läuft die installer.pl vorbildlich und ohne weiteren offensichtlichen Fehler.

Rufe ich nun http://localhost/otrs/index.pl(habe es auch über das Netzwerk mit anderen Geräten versucht, habe hier natürlich localhost durch die IP getauscht) auf und versuche mich anzumelden, laufe ich auf einen Gateway Timeout. Folgende Nachrichten stehen im Apache2 Log:

[Mon Aug 10 08:10:15.472423 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: ERROR: OTRS-CGI-10 Perl: 5.20.1 OS: linux Time: Mon Aug 10 08:10:15 2015, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472449 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: , referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472464 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Message: Directory doesn't exist: /opt/otrs/var/packages: , referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472466 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: , referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472472 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: RemoteAddress: 127.0.0.1, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472479 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: RequestURI: /otrs/installer.pl, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472481 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: , referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472486 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Traceback (4510): , referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472497 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Module: Kernel::System::Main::DirectoryRead Line: 870, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472511 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Module: Kernel::System::Package::PackageInstallDefaultFiles Line: 2595, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472521 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Module: Kernel::Modules::Installer::Run Line: 781, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472534 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Module: Kernel::System::Web::InterfaceInstaller::Run Line: 126, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472545 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: Module: /opt/otrs/bin/cgi-bin/installer.pl Line: 39, referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:10:15.472547 2015] [cgi:error] [pid 4229] [client 127.0.0.1:41266] AH01215: , referer: http://localhost/otrs/installer.pl
[Mon Aug 10 08:13:25.173613 2015] [cgi:warn] [pid 4537] [client 127.0.0.1:41282] AH01220: Timeout waiting for output from CGI script /opt/otrs/bin/cgi-bin/index.pl, referer: http://localhost/otrs/index.pl
[Mon Aug 10 08:13:25.173655 2015] [cgi:error] [pid 4537] [client 127.0.0.1:41282] Script timed out before returning headers: index.pl, referer: http://localhost/otrs/index.pl
[Mon Aug 10 08:14:25.231930 2015] [cgi:warn] [pid 4537] [client 127.0.0.1:41282] AH01220: Timeout waiting for output from CGI script /opt/otrs/bin/cgi-bin/index.pl, referer: http://localhost/otrs/index.pl

Ich interpretiere die Fehlermeldungen so, dass es bereits bei der Ausführung der installer.pl einen Fehler gibt, weil ein Verzeichnis fehlt - jedoch weiß ich nicht wie ich diesen Fehler beheben kann :(
Kann mir jemand weiterhelfen, wie ich die Beta-Umgebung ans laufen bekommen kann?

Sollten Infos fehlen, liefere ich diese natürlich gerne nach! :)

Vielen Dank und beste Grüße

Matthias
OS: CentOS 7.1
OTRS: 5.0.16
DB: MySQL
Webserver: Apache with mod_perl
Packages: Znuny4OTRS-Repo

How often have I said to you that when you have eliminated the impossible, whatever remains, however improbable, must be the truth? - Sherlock Holmes
steste123
Znuny wizard
Posts: 554
Joined: 25 Sep 2012, 19:04
Znuny Version: OTRS Help Desk
Real Name: Stefan

Re: OTRS 5 Beta 1 Gateway Timeout

Post by steste123 »

Hi,
hast du alle Module installiert?

perl /opt/otrs/bin/otrs.CheckModules.pl
OTRS 5.x - Debian 8 - apache 2.4 - MySQL 5.x
alcesh
Znuny newbie
Posts: 12
Joined: 17 Feb 2014, 08:44
Znuny Version: 5.0.16
Real Name: Matthias

Re: OTRS 5 Beta 1 Gateway Timeout

Post by alcesh »

Hallo,

habe das gecheckt, bis auf die üblichen Pakete mit Datenbankschnittstellen fehlt lediglich das IMAP Paket - da ich aber keine IMAP Konfiguration hinterlegt habe, sollte das keine Probleme machen, oder?

/opt/otrs/bin/otrs.CheckModules.pl
o Apache::DBI......................ok (v1.12)
o Apache2::Reload..................ok (v0.13)
o Archive::Tar.....................ok (v1.96)
o Archive::Zip.....................ok (v1.37)
o Crypt::Eksblowfish::Bcrypt.......Not installed! Use: 'zypper install perl-Crypt-Eksblowfish' (optional - For strong password hashing.)
o Crypt::SSLeay....................ok (v0.64)
o Date::Format.....................ok (v2.24)
o DBI..............................ok (v1.628)
o DBD::mysql.......................ok (v4.021)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................Not installed! Use: 'zypper install perl-DBD-Pg' (optional - Required to connect to a PostgreSQL database.)
o Encode::HanExtra.................ok (v0.23)
o IO::Socket::SSL..................ok (v1.997)
o JSON::XS.........................ok (v3.01)
o List::Util::XS...................ok (v1.38)
o LWP::UserAgent...................ok (v6.13)
o Mail::IMAPClient.................Not installed! Use: 'zypper install perl-Mail-IMAPClient' (optional - Required for IMAP TLS connections.)
o IO::Socket::SSL................ok (v1.997)
o ModPerl::Util....................ok (v2.000008)
o Net::DNS.........................ok (v0.74)
o Net::LDAP........................ok (v0.44)
o Template.........................ok (v2.25)
o Template::Stash::XS..............ok (undef)
o Text::CSV_XS.....................ok (v1.05)
o Time::HiRes......................ok (v1.9726)
o Time::Piece......................ok (v1.27)
o XML::LibXML......................ok (v2.0116)
o XML::LibXSLT.....................ok (v1.92)
o XML::Parser......................ok (v2.41)
o YAML::XS.........................ok (v0.44)
OS: CentOS 7.1
OTRS: 5.0.16
DB: MySQL
Webserver: Apache with mod_perl
Packages: Znuny4OTRS-Repo

How often have I said to you that when you have eliminated the impossible, whatever remains, however improbable, must be the truth? - Sherlock Holmes
alcesh
Znuny newbie
Posts: 12
Joined: 17 Feb 2014, 08:44
Znuny Version: 5.0.16
Real Name: Matthias

Re: OTRS 5 Beta 1 Gateway Timeout

Post by alcesh »

Statusupdate:

Da ich aktuell in Kontakt mit der xxx stehe, habe ich dort den Fehler einmal eingeworfen:
Das Problem, dass der Apache den Zugriff direkt nach der Installation verweigert, ist ein Problem mit mod_version:
Offenbar ist es so, dass unter OpenSuSE 13 das Apache-Module "mod_version" nicht standardmäßig aktiviert ist. Ich werde das noch mit ins RPM aufnehmen (a2enmod version), dann funktioniert die Apache-Konfiguration auch sauber.

Das eigentliche Problem, dass ich mich nicht einloggen kann, konnte auch von den OTRS Devs nicht reproduziert werden.
OS: CentOS 7.1
OTRS: 5.0.16
DB: MySQL
Webserver: Apache with mod_perl
Packages: Znuny4OTRS-Repo

How often have I said to you that when you have eliminated the impossible, whatever remains, however improbable, must be the truth? - Sherlock Holmes
p00b
Znuny newbie
Posts: 1
Joined: 02 Nov 2016, 17:01
Znuny Version: 5.0.14

Re: OTRS 5 Beta 1 Gateway Timeout

Post by p00b »

Hello guys,
I know this is an old post but i have been experiencing the same issue and found the culprit

Installing OTRS 5.0.14 on centos 7.2 on our on premise server was fine (a few minor issues but the web installation was completed without error)

on first login with root, the server never reply and a 504 gateway timeout is displayed

cause: Otrs , by default, tries to connect to internet to retrieve the News about OTRS releases. If your network does not allow this, you will get the 504 gateway timeout.

Resolution: Disabled Product and OTRS news from SysConfig. (/opt/otrs/Kernel/Config/Files/ZZZAuto.pm , change 0000-ProductNotify Default to 0)
Post Reply