Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Hilfe zu OTRS Problemen aller Art
Post Reply
Argyos
Znuny newbie
Posts: 3
Joined: 23 Oct 2015, 10:02
Znuny Version: 5.0.1

Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by Argyos »

Leider ist der Web Installer extern nicht erreichbar. Ich erhalte nur einen 500er Fehler und finde auch nichts im LogFile.

Es handelt sich um einen virtuellen Server mit CentOS 6.7 und OTRS 5.0.1.
Die Firewall von OS wurde deaktiviert, da der virtuelle Server noch durch eine weitere Firewall geschützt wird in der aber der TCP Port 80 freigegeben ist.

https und mysqld Services laufen.

Installiert habe ich alles nach der entsprechenden Anleitung im Manual.

Vermutlich ist es wieder mal nur ein "Tomaten auf den Augen"-Problem und würde mich freuen, wenn ihr mir helfen könntet.
wurzel
Znuny guru
Posts: 3234
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by wurzel »

Hi,

im Logfile sollte sich schon was finden lassen.

Wenn nix im Log steht, hast Du generell was an der Konfiguration faslch.
Hast Du das rpm installiert?

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Argyos
Znuny newbie
Posts: 3
Joined: 23 Oct 2015, 10:02
Znuny Version: 5.0.1

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by Argyos »

Hallo Flo,

ich habe das ganze nun nochmal neu installiert und habe nun auch etwas im Error Log:

Code: Select all

[Fri Oct 23 14:00:21 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Oct 23 14:00:21 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Oct 23 14:00:22 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 23 14:00:22 2015] [notice] Digest: done
[Fri Oct 23 14:00:22 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Oct 23 14:00:27 2015] [notice] caught SIGTERM, shutting down
[Fri Oct 23 14:00:27 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Oct 23 14:00:27 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Oct 23 14:00:27 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Oct 23 14:00:27 2015] [notice] Digest: done
[Fri Oct 23 14:00:27 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Oct 23 14:18:44 2015] [error] [client 92.50.87.206] Directory index forbidden by Options directive: /var/www/html/
[Fri Oct 23 14:18:44 2015] [error] [client 92.50.87.206] File does not exist: /var/www/html/favicon.ico, referer: http://redstone148.mydhp.de/
[Fri Oct 23 14:18:48 2015] [error] [client 92.50.87.206] Directory index forbidden by Options directive: /var/www/html/
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Fri Oct 23 14:18:59 2015

 Message: Can't create directory '/opt/otrs/var/tmp/CacheFileStorable':

 RemoteAddress: 92.50.87.206
 RequestURI: /otrs/installer.pl

 Traceback (2028):
   Module: Kernel::System::Cache::FileStorable::new Line: 46
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 226
   Module: Kernel::System::ObjectManager::Get Line: 180
   Module: Kernel::System::Cache::new Line: 63
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 226
   Module: Kernel::System::ObjectManager::Get Line: 180
   Module: Kernel::System::SysConfig::_Init Line: 1643
   Module: Kernel::System::SysConfig::new Line: 73
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 226
   Module: Kernel::System::ObjectManager::Get Line: 180
   Module: Kernel::Modules::Installer::Run Line: 148
   Module: Kernel::System::Web::InterfaceInstaller::Run Line: 126
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_installer_2epl::handler Line: 39
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31
Installiert habe ich natürlich das rpm. Herunter geladen von http://ftp.otrs.org/pub/otrs//RPMS/rhel ... noarch.rpm

Danke schonmal
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by RStraub »

Huhu,

deaktiviere mal SELinux und prüfe die Filerechte.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Argyos
Znuny newbie
Posts: 3
Joined: 23 Oct 2015, 10:02
Znuny Version: 5.0.1

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by Argyos »

Danke RStraub!

Nachdem ich SELinunx deaktiviert hatte, den Server neu gestartet und die Rechte entsprechend auf rwx gesetzt hatte, ging es.
wurzel
Znuny guru
Posts: 3234
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by wurzel »

Hi,

für die Dateirechte gibt es ein otrs.SetPermission.pl

Einfach auf rwx alles setzen, würde ich nicht machen.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by aph »

SELinux würde ich auch nicht ganz ausschalten sondern auf 'permissive' stellen. Später kannst du es wieder auf enforcing setzen.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
wurzel
Znuny guru
Posts: 3234
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by wurzel »

Hi,

wenn jemand 'ne gut funktionierende SELINUX Configuration mit OTRS hat, bitte her damit!

Danke :)

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Web Installier nicht erreichbar (CentOS 6.7 / OTRS 5.0.1 / vServer)

Post by aph »

Ich muss zugeben, ich kenne mich mit SELinux nur bedingt aus. Auf meinem lokalen Testsystem habe ich nach der Installation den Modus von permissive auf enforcing umgestellt und OTRS funktioniert immer noch, aber ich kann nicht garantieren, dass es woanders auch funktioniert.
Allgemein gesagt ist es immer besser den SELinux-Modus (temporär) auf permissive umzustellen anstatt SELinux komplett auzuschalten. Somit bekommen die Dateien weiterhin ein SELinux-Kontext und das System muss nicht relabled werden.

Vllt. weiß jemand wie man besser mit SELinux im Zusammenhang mit OTRS umgeht.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Post Reply