Seite 1 von 1

Fehler bei "opsi-admin -d task setPcpatchPassword"

Verfasst: 09 Feb 2011, 10:37
von Methleraner
Hallo,

wenn ich das Passwort des Users Pcpatch verändern möchte und folgenden Befehl eingebe

Code: Alles auswählen

opsi-admin -d task setPcpatchPassword
bekomme ich folgende Fehlermeldungen:

Code: Alles auswählen

root@opsidemo:/# opsi-admin -d task setPcpatchPassword
[2] Traceback: (Logger.py|710)
[2]      line 1505 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|710)
[2]      line 211 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|710)
[2]      line 142 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|710)
[2]      line 66 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Depotserver.py' (Logger.py|710)
[2]      line 1479 in 'host_getIdents' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|710)
[2]      line 1 in 'host_getObjects' in file '<string>' (Logger.py|710)
[2]      line 393 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|710)
[2]      line 1 in '<module>' in file '<string>' (Logger.py|710)
[2]      line 1 in 'host_getObjects' in file '<string>' (Logger.py|710)
[2]      line 309 in '_dispatchMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|710)
[2]      line 1 in '<module>' in file '<string>' (Logger.py|710)
[2]      line 831 in 'host_getObjects' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/SQL.py' (Logger.py|710)
[2]      line 185 in 'getSet' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|710)
[2]      line 337 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|710)
[2]      line 166 in 'execute' in file '/usr/lib/pymodules/python2.6/MySQLdb/cursors.py' (Logger.py|710)
[2]      line 35 in 'defaulterrorhandler' in file '/usr/lib/pymodules/python2.6/MySQLdb/connections.py' (Logger.py|710)
[2]      ==>>> (1146, "Table 'opsi.HOST' doesn't exist") (opsi-admin|1515)
Was habe ich falsch gemacht?

Re: Fehler bei "opsi-admin -d task setPcpatchPassword"

Verfasst: 09 Feb 2011, 10:52
von c.kampka
Hallo,

ich würde mal vermuten, der Schritt 2.2.3 aus dem opsi-getting-started Handbuch wurde nicht korrekt ausgeführt,
vor allem der Part mit:

Code: Alles auswählen

opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
Viele Grüße,
Christian Kampka

Re: Fehler bei "opsi-admin -d task setPcpatchPassword"

Verfasst: 09 Feb 2011, 11:01
von Methleraner
Wie doof von mir ... :roll:

Dankeschön das war es!