Fehler bei "opsi-admin -d task setPcpatchPassword"

Antworten
Methleraner
Beiträge: 54
Registriert: 18 Aug 2010, 14:03

Fehler bei "opsi-admin -d task setPcpatchPassword"

Beitrag 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?
Benutzeravatar
c.kampka
Ex-uib-Team
Beiträge: 87
Registriert: 09 Aug 2010, 16:27
Kontaktdaten:

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

Beitrag 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
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://uib.de
http://opsi.org
Methleraner
Beiträge: 54
Registriert: 18 Aug 2010, 14:03

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

Beitrag von Methleraner »

Wie doof von mir ... :roll:

Dankeschön das war es!
Antworten