
Hi, hatte folgendes System: SuSE 9.0 Professional mit otrs 1.3.2 habe dann ein update auf: SuSE 9.2 Professional gemacht, otrs blieb erhalten. Nun hat sich der webserver von apache auf apache2 geändert, und otrs rafft das nicht. Wie kann ich das ändern??? Welche cronjobs müssen anschließend neu eingerichtet werden, da mein otrs keine mails mehr einsammelt? Vielen Dank Hans

Hallo Hans, On Sa, Jul 16, 2005 at 01:11:41 +0200, Hans Fittkau wrote:
hatte folgendes System:
SuSE 9.0 Professional mit otrs 1.3.2
habe dann ein update auf:
SuSE 9.2 Professional gemacht, otrs blieb erhalten. Nun hat sich der webserver von apache auf apache2 geändert, und otrs rafft das nicht. Wie kann ich das ändern???
Die für OTRS benötigte Webserverkonfiguration liegt in einer Datei, die du nur noch in deine httpd.conf bzw. apache.conf includen musst. In dieser Datei werden die nötigen Aliase, mod_perl Einstellungen und Zugriffsrestriktionen für die Verzeichnisse von OTRS gesetzt. Schau mal ins Verz. /opt/otrs/scripts Dort findest du diese Datei mit der Konfiguration, sie heißt athlon:~# apache2-httpd.include.conf. Include sie einfach am Ende deiner httpd.conf.
Welche cronjobs müssen anschließend neu eingerichtet werden, da mein otrs keine mails mehr einsammelt?
Eigentlich keine, da beim Update die cronjobs nicht gelöscht werden sollte. Was passiert, wenn du rcotrs start eingibst? Wahrscheinlich wird OTRS einfach _noch_ nicht wirklich gestartet.
Hans
Ciao, Christian -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hallo Christian, also, wenn ich die Datei include und den apache2 neu starte, erhalte ich folgendes: server:~ # rcapache2 restart [Tue Jul 19 17:55:51 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:51 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. [Tue Jul 19 17:55:51 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:51 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. Syntax OK Shutting down httpd2 (waiting for all children to terminate) done Starting httpd2 (prefork) [Tue Jul 19 17:55:57 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:57 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. [Tue Jul 19 17:55:57 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:57 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. done server:~ # rcapache2 status Checking for httpd2: running Prüfung auf otrs ergibt trotzdem das: server:~ # rcotrs start Starting OTRS Checking Apache ... failed! --> Please start the webserver at first! (rcapache start) <-- server:~ # Bin mit meinem Latein am Ende! Gruß, Hans Am Mo 18.07.2005 10:56 schrieb Christian Schoepplein <christian.schoepplein@otrs.de>:
Hallo Hans,
On Sa, Jul 16, 2005 at 01:11:41 +0200, Hans Fittkau wrote:
hatte folgendes System:
SuSE 9.0 Professional mit otrs 1.3.2
habe dann ein update auf:
SuSE 9.2 Professional gemacht, otrs blieb erhalten. Nun hat sich der webserver von apache auf apache2 geändert, und otrs rafft das nicht. Wie kann ich das ändern???
Die für OTRS benötigte Webserverkonfiguration liegt in einer Datei, die du nur noch in deine httpd.conf bzw. apache.conf includen musst. In dieser Datei werden die nötigen Aliase, mod_perl Einstellungen und Zugriffsrestriktionen für die Verzeichnisse von OTRS gesetzt. Schau mal ins Verz.
/opt/otrs/scripts
Dort findest du diese Datei mit der Konfiguration, sie heißt athlon:~# apache2-httpd.include.conf. Include sie einfach am Ende deiner httpd.conf.
Welche cronjobs müssen anschließend neu eingerichtet werden, da mein otrs keine mails mehr einsammelt?
Eigentlich keine, da beim Update die cronjobs nicht gelöscht werden sollte. Was passiert, wenn du
rcotrs start
eingibst? Wahrscheinlich wird OTRS einfach _noch_ nicht wirklich gestartet.
Hans
Ciao, Christian
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
Mit freundlichen Grüßen Best regards Hans Fittkau Hans Fittkau Datenbanksysteme ** network-admin, webservice, database-programming ** mail: info@fittkau.org inet: www.fittkau.org

Hallo Hans, On Di, Jul 19, 2005 at 06:14:18 +0200, Hans Fittkau wrote:
also, wenn ich die Datei include und den apache2 neu starte, erhalte ich folgendes:
server:~ # rcapache2 restart [Tue Jul 19 17:55:51 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:51 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. [Tue Jul 19 17:55:51 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:51 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. Syntax OK Shutting down httpd2 (waiting for all children to terminate) done Starting httpd2 (prefork) [Tue Jul 19 17:55:57 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:57 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. [Tue Jul 19 17:55:57 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:57 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. done server:~ # rcapache2 status Checking for httpd2: running
Prüfung auf otrs ergibt trotzdem das:
server:~ # rcotrs start Starting OTRS Checking Apache ... failed! --> Please start the webserver at first! (rcapache start) <-- server:~ #
So wie es aussieht, inkludierst du 2 mal die für OTRS benötigte apache-Konfiguration. Wahrscheinlich einmal für apache 1.x und jetzt nach dem Update auch noch die für apache 2.x. Wie und wo du das machst kannst du rausfinden, indem du ins Verz. /etc/apache2 wechselst und dort mit dem Befehl grep mal alle Files nach "otrs" durchsuchst: # grep otrs * -r In welchen Dateien wird überall "otrs" gefunden? Ciao, Christian -- ((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hallo Christian, also nun läuft mein apache2, doch bei dem Versuch, rcotrs start auszuführen passiert folgendes: server:/etc/apache2 # rcapache2 start Starting httpd2 (prefork) done server:/etc/apache2 # rcotrs restart Shutting down OTRS Disable /opt/otrs/bin/PostMaster.pl ... done. no crontab for otrs Shutting down cronjobs ... failed! Starting OTRS Checking Apache ... failed! --> Please start the webserver at first! (rcapache start) <-- Scheinbar sucht rcotrs nach apache und nicht nach apache2! Wie kann ich das ändern. Muß das script rcotrs angepaßt werden??? Gruß Hans Am Do 21.07.2005 09:37 schrieb Christian Schoepplein <christian.schoepplein@otrs.de>:
Hallo Hans,
On Di, Jul 19, 2005 at 06:14:18 +0200, Hans Fittkau wrote:
also, wenn ich die Datei include und den apache2 neu starte, erhalte ich folgendes:
server:~ # rcapache2 restart [Tue Jul 19 17:55:51 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:51 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. [Tue Jul 19 17:55:51 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:51 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. Syntax OK Shutting down httpd2 (waiting for all children to terminate) done Starting httpd2 (prefork) [Tue Jul 19 17:55:57 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:57 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. [Tue Jul 19 17:55:57 2005] [warn] The ScriptAlias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 6 will probably never match because it overlaps an earlier ScriptAlias. [Tue Jul 19 17:55:57 2005] [warn] The Alias directive in /opt/otrs/scripts/apache2-httpd.include.conf at line 7 will probably never match because it overlaps an earlier Alias. done server:~ # rcapache2 status Checking for httpd2: running
Prüfung auf otrs ergibt trotzdem das:
server:~ # rcotrs start Starting OTRS Checking Apache ... failed! --> Please start the webserver at first! (rcapache start) <-- server:~ #
So wie es aussieht, inkludierst du 2 mal die für OTRS benötigte apache-Konfiguration. Wahrscheinlich einmal für apache 1.x und jetzt nach dem Update auch noch die für apache 2.x. Wie und wo du das machst kannst du rausfinden, indem du ins Verz.
/etc/apache2
wechselst und dort mit dem Befehl grep mal alle Files nach "otrs" durchsuchst:
# grep otrs * -r
In welchen Dateien wird überall "otrs" gefunden?
Ciao, Christian
-- ((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
Mit freundlichen Grüßen Best regards Hans Fittkau Hans Fittkau Datenbanksysteme ** network-admin, webservice, database-programming ** mail: info@fittkau.org inet: www.fittkau.org
participants (2)
-
Christian Schoepplein
-
Hans Fittkau