[GELÖST] configed (GUI) Fehlermeldung

Antworten
blits
Beiträge: 6
Registriert: 28 Jun 2013, 15:02

[GELÖST] configed (GUI) Fehlermeldung

Beitrag von blits »

Hallo Gemeinde,

ich habe OPSI vor etwa einem hablen Jahr entdeckt und bin begeistert.
Seither habe ich viele Pakete gebaut und auch erfolgreich auf diversen PCs installiert.
Gestern und Heute habe ich einige neue Pakete gebaut, unter anderem, Java 1.7 Update 25, das auch erfolgreich installiert wurde.
Auch das heutige Paket habe ich erfolgreich auf 3 Testrechnern installiert. Danach hat der "opsi config editor" auch noch einwandfrei funktioniert.
Ich wollte gerade noch weitere Pakete bauen und installieren, dafür muss aber vorher ein bestimmtes Programm auf dem Rechner installiert sein. Dafür habe ich folgenden Link aufgerufen: https://ip.des.opis.srv:4447/configed
Es kommt die Usernanmeldung, die erfolgreich scheint, gleich danach öffnet sich der opsi config editor und ein Fenster mit folgenden Meldungen:

Code: Alles auswählen

Jul 01  13:47:34.550  2013 -- Opsi service error:  [Exception] Parse error in line 1: not in a section
Jul 01  13:47:35.010  2013 -- Opsi service error:  [Exception] Parse error in line 1: not in a section
Jul 01  13:47:35.012  2013 -- JSONReMapper: Exception on reproducing  null, java.lang.NullPointerException
Jul 01  13:47:35.258  2013 -- Opsi service error:  [Exception] Parse error in line 1: not in a section
Jul 01  13:47:35.432  2013 -- Opsi service error:  [Exception] Parse error in line 1: not in a section
Jul 01  13:47:35.437  2013 -- JSONReMapper: Exception on reproducing  null, java.lang.NullPointerException
Wenn ich nun einem PC ein Programm zur installation zuweise steht im Log:

Code: Alles auswählen

Error: retrieveJSONObject --- opsi service problem ----> {"message":"Parse error in line 1: not in a section","class":"Exception"}
Ich habe schon folgendes Versucht:

Code: Alles auswählen

opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
und
aptitude update
aptitude safe-upgrade
ein:

Code: Alles auswählen

opsi-product-updater -i -vv
bringt irgendwann:

Code: Alles auswählen

Traceback:
     line 225 in 'getMetaData' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Product.py'
     line 380 in 'extract' in file '/usr/lib/pymodules/python2.6/OPSI/Util/File/Archive/__init__.py'
     ==>>> Failed to extract archive '/tmp/.opsi.unpack.6Mxwp/OPSI/OPSI.cpio.gz': Failed to get archive content '/tmp/.opsi.unpack.6Mxwp/OPSI/OPSI.cpio.gz': Command '/bin/cat "/tmp/.opsi.unpack.6Mxwp/OPSI/OPSI.cpio.gz" | /bin/cpio --quiet -it' failed (1):
/bin/cpio: Malformed number
/bin/cpio: Malformed number
:
:
/bin/cpio: Malformed number
/bin/cpio: verfrühtes Ende des Archivs
Traceback (most recent call last):
  File "/usr/bin/opsi-product-updater", line 1082, in <module>
    print >> sys.stderr, "ERROR: %s" % e
UnicodeEncodeError: 'ascii' codec can't encode character u'\u040f' in position 6085: ordinal not in range(128)
Wenn ich im Log von opsiconfigd schaue steht da nur eine Fehlermeldung drin:

Code: Alles auswählen

[5] [Jul 01 13:19:21] Publishing opsiconfd over zeroconf as 'opsi configuration daemon' on '4447' (opsiconfd.py|411)
[3] [Jul 01 13:19:21] Failed to publish opsiconfd over zeroconf: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (opsiconfd.py|416)
Ansonsten hat OPSI bis heute mittag einwandfrei funktioniert.

Hat jemand eine Lösung für mich?
Zuletzt geändert von blits am 01 Jul 2013, 14:53, insgesamt 1-mal geändert.
blits
Beiträge: 6
Registriert: 28 Jun 2013, 15:02

[Gelöst]: configed (GUI) Fehlermeldung

Beitrag von blits »

Hallo nochmal,

ich kann mitteilen, dass ich das Problem gelöst habe.

und zwar:
ich habe die Priorität eines Produktes geändert, dabei habe ich aus versehen das erste Zeichen aus dem File verändert.
Datei:

Code: Alles auswählen

/var/lib/opsi/config/products/produkt.localboot
muss beginnen mit:

Code: Alles auswählen

[Package]
opsi config editor neu laden und schon funktionierts wieder.

Schöne Grüße
Antworten