Seite 1 von 1

Opsi 4.0 RC

Verfasst: 07 Sep 2010, 12:12
von untouchable
Hallo zusammen

Habe mir soeben die VM für den Opsi 4.0 RC installiert. Danach bin ich nach Handbuch Getting started vorgegangen. Auf Seite 18 soll das Passwort des Pcpatch gesetzt werden. Da bekomme ich aber folgenden Fehler:

opsi-admin -d task setPcpatchPassword
[2] Traceback: (Logger.py|707)
[2] line 1509 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|707)
[2] line 216 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|707)
[2] line 140 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|707)
[2] line 66 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Depotserver.py' (Logger.py|707)
[2] line 1437 in 'host_getIdents' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|707)
[2] line 1 in 'host_getObjects' in file '<string>' (Logger.py|707)
[2] line 305 in '_dispatchMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|707)
[2] line 1 in '<module>' in file '<string>' (Logger.py|707)
[2] line 1127 in 'host_getObjects' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] line 203 in 'getSet' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] line 343 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] line 166 in 'execute' in file '/usr/lib/pymodules/python2.6/MySQLdb/cursors.py' (Logger.py|707)
[2] line 35 in 'defaulterrorhandler' in file '/usr/lib/pymodules/python2.6/MySQLdb/connections.py' (Logger.py|707)
[2] ==>>> (1146, "Table 'opsi.HOST' doesn't exist") (opsi-admin|1519)

Muss denn im Zusammenhang mit dem Mysql noch was angepasst oder angelegt werden.

Gruss

untouchable

Re: Opsi 4.0 RC

Verfasst: 07 Sep 2010, 12:24
von j.schneider
Bitte den folgenden Befehl aufrufen und dann noch einmal probieren.

Code: Alles auswählen

opsi-setup --init-current-config

Re: Opsi 4.0 RC

Verfasst: 07 Sep 2010, 16:48
von untouchable
Hallo Herr Schneider

Hat funktioniert, Besten Dank.

Gruss
untouchable