Ich bekomme nach dem Vorgehen aus der Upgrade-Doku Fehlermeldungen. Ich wollte von 3.4 auf die aktuelle 4.0 updaten. Folgender Fehler tritt auf, wenn ich
[5] [Sep 02 09:10:23] Connection to database 'opsi' on 'localhost' as user 'opsi' (opsi-setup|1028)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_HDAUDIO_DEVICE from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_SCSI_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_AUDIO_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_VIDEO_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_PCI_DEVICE from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_NETWORK_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_IDE_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_USB_DEVICE from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_PCMCIA_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_FLOPPY_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_USB_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Updating database table HARDWARE_DEVICE_1394_CONTROLLER from opsi 3.4 to 4.0 (opsi-setup|1150)
[5] [Sep 02 09:10:24] Modules file signature verified (customer: opsi community) (MySQL.py|413)
[5] [Sep 02 09:10:25] Creating opsi base (SQL.py|392)
[5] [Sep 02 09:10:25] Modules file signature verified (customer: opsi community) (MySQL.py|413)
[5] [Sep 02 09:10:26] Creating opsi base (SQL.py|392)
[5] [Sep 02 09:10:26] Modules file signature verified (customer: opsi community) (MySQL.py|413)
[5] [Sep 02 09:10:26] Creating opsi base (SQL.py|392)
[2] [Sep 02 09:10:27] Traceback: (Logger.py|742)
[2] [Sep 02 09:10:27] line 3029 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 02 09:10:27] line 2996 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 02 09:10:27] line 576 in 'update' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 02 09:10:27] line 2492 in 'initializeConfigs' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 02 09:10:27] line 1 in 'config_getIdents' in file '<string>' (Logger.py|742)
[2] [Sep 02 09:10:27] line 407 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Sep 02 09:10:27] line 1 in 'config_getIdents' in file '<string>' (Logger.py|742)
[2] [Sep 02 09:10:27] line 407 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Sep 02 09:10:27] line 1677 in 'config_getIdents' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Sep 02 09:10:27] line 1 in 'config_getObjects' in file '<string>' (Logger.py|742)
[2] [Sep 02 09:10:27] line 407 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Sep 02 09:10:27] line 1 in 'config_getObjects' in file '<string>' (Logger.py|742)
[2] [Sep 02 09:10:27] line 326 in '_dispatchMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Sep 02 09:10:27] line 997 in 'config_getObjects' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/SQL.py' (Logger.py|742)
[2] [Sep 02 09:10:27] ==>>> SQL backend module disabled (opsi-setup|3037)
ERROR: SQL backend module disabled
OPSI läuft somit nicht mehr und diverse Computer lassen sich nicht mehr starten. Dort erhalte ich nun die Meldung, dass der Zugriff nicht authorisiert sei. Irgendwie mag OPSI die MySQL-Datenbank nicht mehr ansprechen.
Das ganze läuft auf einem Ubuntu 10.04 Server.
Zuletzt geändert von AustinPowers am 02 Sep 2011, 10:26, insgesamt 2-mal geändert.
Vorab noch: Es wurde nur OPSI geupdatet. Der Server läuft schon länger mit Ubuntu 10.04.
Auch nach der Installation des openbsd-inetd läuft opsi-atftpd nicht. Müsste der denn überhaupt per ps zu finden sein? Der dürfte doch eingentlich nur über den openbsd-inetd gestartet und gestoppt werden, oder?
Oh... Mein Fehler! Das MySQL-Backend wird ja noch kofinanziert. Aus gewohnter Art ging ich davon aus, dass ich Daten vernünftig nur mit MySQL statt in Files verwalte und daher hatte ich natürlich eine falsche Konfiguration. Ich habe daher nun auf "file" umgestellt. Allerdings erhalte ich nun mit
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung. Gerne informieren wir Sie zu unserem Angebot.
Ja, das hat schonmal geholfen. Mit dem Nachteil, dass nun alles wieder leer ist. Die gesamten Rechnerdaten sind weg, es ist quasi eine leere OPSI-Installation. - Aber gut! Es geht erst einmal wieder.
Wofür genau wird denn nun der openbsd-inetd gebraucht und wieso lässt sich das nicht mit dem xinetd machen? Den xinetd brauche ich leider auf dem Server und würde ungern einen weiteren Server ins Netz stellen müssen, nur weil es nicht mit dem xinetd funktioniert.
Darüber hinaus hatte ich noch eine Fehlermeldung bezüglich der UTF8-Kodierung:
pc-131.lokale.domain A 192.168.11.131
Traceback (most recent call last):
File "/opt/pcbin/install/preloginloader/opsi-deploy-preloginloader", line 42, in <module>
from OPSI.Tools import *
ImportError: No module named Tools
Des Weiteren kann ich auf der linken Seite nichts mehr anklicken. Kein einzelner Rechner lässt sich auswählen. Auch kann ich keine Gruppen mehr anlegen.
Hmmmm... So, wie ich das sehe, muss ich nun doch alle Schritte einer Erstinstallation nochmal durchführen. Ich dachte, dass die alten Packete der 3.4 wenigstens noch irgendeinen Dienst tun. Vorher funktionierte der opsi-product-updater auch nicht, was jetzt allerdings geht. Nun warte ich mal ab, bis alles installiert ist.
Ich denke, diesen Fall werde ich erst einmal schließen, da es irgendwie grundsätzlich falsch lief. Ich gehe dann - wie gesagt - vor, wie bei einer Neuinstallation. Dadurch sollten meine Probleme dann behoben sein.