Greetings,
Apache wurde neugestartet. Die Maschine selber wurde einmal neugestartet.
Inhalt von /opt/otrs/RELEASE
Code: Select all
PRODUCT = OTRS
VERSION = 3.0.9
BUILDDATE = Fri Jul 1 10:21.53 CEST 2011
BUILDHOST = lusen.otrs.org
Anscheinend hat das verlinken nicht funktioniert.
Ich beschreibe kurz, wie ich es gemacht habe. Evtl. hat sich irgendwo ein Fehler eingeschlichen:
Dienste stoppen:
Code: Select all
/etc/init.d/apache2 stop
/etc/init.d/cron stop
/etc/init.d/mysql stop
Backup Ordner erstellt und Daten gesichert:
Code: Select all
mkdir otrs_backup
cp -r /opt/otrs /home/nope/otrs_backup/otrs
Installieren des neuen Releases (schritt 5 in der Anleitung)
Code: Select all
cd /opt
tar -xzf otrs.3.0.10.tar.gz
ln -s otrs.3.0.10 otrs
Die zuvor gesicherten Config Dateien wiederhergestellt:
Code: Select all
cp /home/nope/otrs/Kernel/Config.pm /opt/otrs/Kernel/Config.pm
cp /home/nope/otrs/Kernel/Config/GenericAgent.pm /opt/otrs/Kernel/Config/GenericAgent.pm
cp /home/nope/otrs/Kernel/Config/Files/ZZZAuto.pm /opt/otrs/Kernel/Config/Files/ZZZAuto.pm
Berechtigung
Code: Select all
cd /opt/otrs/
bin/otrs.SetPermissions.pl
Jetzt kommt idr. die Systemkonfiguration aktualisieren
Code: Select all
bin/otrs.RebuildConfig.pl
bin/otrs.DeleteCache.pl
Hier gab es zunächst folgende Fehlermeldung, weil MySQL noch nicht gestartet war:
Code: Select all
/opt/otrs# bin/otrs.RebuildConfig.pl
DBI connect('database=otrs;host=localhost;','otrs',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /opt/otrs/Kernel/System/DB.pm line 210
ERROR: OTRS-otrs.RebuildConfig.pl-10 Perl: 5.10.1 OS: linux Time: Tue Aug 23 11:37:30 2011
Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Traceback (1546):
Module: Kernel::System::DB::new (v1.127) Line: 181
Module: bin/otrs.RebuildConfig.pl (v1.14) Line: 55
Got no DBObject! at /opt/otrs/Kernel/System/SysConfig.pm line 103.
root@otrs:/opt/otrs# bin/otrs.DeleteCache.pl
DBI connect('database=otrs;host=localhost;','otrs',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /opt/otrs/Kernel/System/DB.pm line 210
ERROR: OTRS-otrs.DeleteCache.pl-10 Perl: 5.10.1 OS: linux Time: Tue Aug 23 11:37:53 2011
Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Traceback (1548):
Module: Kernel::System::DB::new (v1.127) Line: 181
Module: bin/otrs.DeleteCache.pl (v1.2.2.3) Line: 76
Habe die Dienste dann gestartet und RebuildConfig sowie DeleteCache nochmal durchlaufen lassen.
Dienste starten:
Code: Select all
/etc/init.d/mysql start
/etc/init.d/cron start
/etc/init.d/apache2 start
Ich werde mir mal anschauen, warum die RELEASE Datei nicht auf v3.0.10 verweist.
€dit:
/opt# ln -s otrs-3.0.10 otrs
ln: Erzeuge symbolische Verknüpfung „otrs/otrs-3.0.10“: Die Datei existiert bereits
Also ne verknüpfung ist vorhanden..
Ich möchte auch anmerken, ich bin noch nicht so Linuxbewandt.
MfG
Vino