Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Hilfe zu Znuny Problemen aller Art
Locked
nitroburger
Znuny newbie
Posts: 3
Joined: 11 Mar 2016, 14:10
Znuny Version: OTRS 5.07

Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Post by nitroburger »

Tach zusammen,
ich versuche seit geraumer Zeit eine Teststellung von OTRS 5 Patch Level 7 zum Laufen zu bringen.
Habe jetzt diverse Linux-Distributionen (CentOS, Debian, openSUSE etc.) durch und mit keinem hab ich es hinbekommen.

Ich muss dazusagen, dass ich keine Linux-Kenntnisse habe und ein reiner Microsoft Server Admin bin.
Folgende Anleitung habe ich verwendet:
http://otrs.github.io/doc/manual/admin/ ... on-on-suse

Habe es auch bis zum Punkt geschafft (denke ich zumindest):
...
Next steps:
{restart web server]
systemctl restart apache2.service

[install the OTRS database]
Make sure your database server is running.
Use a web browser andopen this link:
http:///otrs/installer.pl

[start OTRS daemon and corresponding watchdog cronjob]
...

((enjoy))
Your OTRS Team

Aber wenn ich die besagte Seite öffne erhalte ich einen "Access forbidden Error 403"

Das Ganze betreibe ich in einer VirtualBox Maschine unter Windows. Hat jemand eine Idee was ich falsch gemacht haben könnte? Das Kennwort des OTRS Users kenne ich auch nicht?

Vielleicht hat ja jemand eine Idee. Besten Dank vorab!
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Post by RStraub »

Hallo nitroburger,

ich kenn mich leider mit Suse auch nicht aus, aber was meist hilft ist der Apache log. Häng dich mal ran während du einen Zugriff machst (als root):

Code: Select all

tail -f /var/log/apache2/error.log
und poste den Teil hier. Evtl. stimmen Datei Rechte oder die Apache Config nicht.

Den OTRS user solltest du kennen, der wird am Ende der Installation auf dem Webfrontend ausgegeben. Standardmäßig heißt erst "root@localhost". Du kannst auch jederzeit das Passwort manuell ändern durch den Aufruf (als otrs-user und seinem home-Verzeichnis):

Code: Select all

bin/otrs.Console.pl Admin::User::SetPassword root@localhost NeuesPasswort
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
nitroburger
Znuny newbie
Posts: 3
Joined: 11 Mar 2016, 14:10
Znuny Version: OTRS 5.07

Re: Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Post by nitroburger »

Danke schon mal für die schnelle Antwort.
Vorab ich hänge nicht an openSUSE aber hier bin ich am "weitesten" gekommen :D

Hier das Log:
AH00557: httpd2-prefork: apr_sockaddr_info_get() failed for linux-ngbt.site
AH00558: httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Fri Mar 11 12:43:42.507671 2016] [ssl:warn] [pid 2629] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Mar 11 12:43:42.511601 2016] [mpm_prefork:notice] [pid 2629] AH00163: Apache/2.4.6 (Linux/SUSE) OpenSSL/1.0.1k mod_perl/2.0.8 Perl/v5.18.1 configured -- resuming normal operations
[Fri Mar 11 12:43:42.511638 2016] [core:notice] [pid 2629] AH00094: Command line: '/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -D FOREGROUND'
[Fri Mar 11 12:45:28.674508 2016] [access_compat:error] [pid 2649] [client ::1:45633] AH01797: client denied by server configuration: /opt/otrs/bin/cgi-bin/installer.pl
[Fri Mar 11 12:45:28.674854 2016] [access_compat:error] [pid 2649] [client ::1:45633] AH01797: client denied by server configuration: /opt/otrs/bin/cgi-bin/index.pl
[Fri Mar 11 12:47:23.927233 2016] [access_compat:error] [pid 2650] [client ::1:45635] AH01797: client denied by server configuration: /opt/otrs/bin/cgi-bin/installer.pl
[Fri Mar 11 12:47:23.927645 2016] [access_compat:error] [pid 2650] [client ::1:45635] AH01797: client denied by server configuration: /opt/otrs/bin/cgi-bin/index.pl
[Fri Mar 11 12:53:22.864373 2016] [autoindex:error] [pid 2651] [client ::1:45949] AH01276: Cannot serve directory /srv/www/htdocs/: No matching DirectoryIndex (index.html,index.html.var) found, and server-generated directory index forbidden by Options directive
[Fri Mar 11 13:26:47.154182 2016] [mpm_prefork:notice] [pid 2629] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Mar 11 13:26:48.154735 2016] [core:notice] [pid 2629] AH00052: child pid 2649 exit signal Segmentation fault (11)
AH00557: httpd2-prefork: apr_sockaddr_info_get() failed for linux-ngbt.site
AH00558: httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Fri Mar 11 13:32:34.098898 2016] [ssl:warn] [pid 1868] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Mar 11 13:32:34.103107 2016] [mpm_prefork:notice] [pid 1868] AH00163: Apache/2.4.6 (Linux/SUSE) OpenSSL/1.0.1k mod_perl/2.0.8 Perl/v5.18.1 configured -- resuming normal operations
[Fri Mar 11 13:32:34.103141 2016] [core:notice] [pid 1868] AH00094: Command line: '/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -D FOREGROUND'
[Fri Mar 11 13:32:38.187005 2016] [access_compat:error] [pid 1888] [client ::1:42540] AH01797: client denied by server configuration: /opt/otrs/bin/cgi-bin/installer.pl
[Fri Mar 11 13:32:38.187506 2016] [access_compat:error] [pid 1888] [client ::1:42540] AH01797: client denied by server configuration: /opt/otrs/bin/cgi-bin/index.pl

Und da ich ja diesen Seite noch nicht öffnen konnte, glaub ich war ich auch noch nicht an dem Punkt wo ich das Kennwort setzen oder sehen kann, oder?
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Post by RStraub »

Oh sorry, du hast recht. Dachte du warst schon beim installer.pl

Client denied by server configuration klingt wie eine fehlende oder falsche Apache Config Datei.

Prüf mal bitte ob unter:
/etc/apache2/conf-available UND conf-enabled die otrs.conf liegt. Darin müsste auch eine Zeile "Require all granted" stehen.

Falls du noch nicht gebunden bist und dir die Mühe nochmal machen willst, ich hatte hier mal ein recht ausführliches Installationstutorial für die Beta Installation von OTRS 5 geschrieben:
viewtopic.php?f=34&t=29987
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
nitroburger
Znuny newbie
Posts: 3
Joined: 11 Mar 2016, 14:10
Znuny Version: OTRS 5.07

Re: Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Post by nitroburger »

Sorry für meine verspätete Antwort, aber ich war leider krank.

Danke für Anleitung, werde es gleich damit mal versuchen.

Andere Frage. Kann man OTRS 5 auch unter einem Windows 2012R2 Server betreiben?
Wenn ja, kennt jemand ne Anleitung, weil so richtig finden konnte ich bis dato da noch nichts...
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Testumgebung OTRS 5 Patch Level 7 unter openSUSE 13.2

Post by jojo »

nitroburger wrote: Andere Frage. Kann man OTRS 5 auch unter einem Windows 2012R2 Server betreiben?
Wenn ja, kennt jemand ne Anleitung, weil so richtig finden konnte ich bis dato da noch nichts...
Nein, OTRS5 (und zukünftige Versionen) laufen nur noch auf UNIXoiden Betriebssystemen
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked