Seite 1 von 1

hwinvent funktioniert nicht

Verfasst: 15 Jan 2011, 17:23
von tk47
Hallo,
ich habe ein Problem mit hwinvent, die Hardwareinventarisierung funktioniert nicht richtig, dadurch kann ich auch nicht Windows 7 mit ospi auf einem Client installieren.

Diese Fehlermeldung erscheint immer:

Code: Alles auswählen

Backend referential integrity error: Hardware device {'status': u'(Bus Powered)', 'vendorId': u'045E', 'interfaceSubClass': u'Boot Interface Subclass, 0 No Subclass', 'vendor': u'Microsoft Corp.', 'description': u'', 'interfaceProtocol': u'Keyboard, 0 None', 'maxPower': 100, 'deviceId': u'00B4', 'interfaceClass': u'Human Interface Device, 3 Human Interface Device', 'model': u'Microsoft\ufffd Digital Media Keyboard', 'usbRelease': u'2.00', 'type': 'AuditHardware', 'hardwareClass': u'USB_DEVICE', 'name': u'Microsoft\ufffd Digital Media Keyboard'} not found (error on server) (master.py|1440)
Könnt Ihr mir helfen?

Re: hwinvent funktioniert nicht

Verfasst: 16 Jan 2011, 10:36
von j.schneider
Bitte zusätzlich folgende Informationen posten:
  • opsiconfd-log
    /var/log/opsi/opsiconfd/192.168.1.146.log
  • Versionen der opsi-Pakete auf dem Server
    dpkg -l | grep opsi
  • /etc/opsi/backendManager/dispatch.conf

Re: hwinvent funktioniert nicht

Verfasst: 18 Jan 2011, 08:10
von tk47
Hier sind die infos:

Code: Alles auswählen

dpkg -l | grep opsi
ii  opsi-atftpd                           0.7.dfsg-1.4+svn22~lucid                        advanced TFTP server - opsi version with pcre, fifo and max-blks
ii  opsi-configed                         4.0.1.2-1                                       OPSI config editor
ii  opsi-depotserver                      4.0-3                                           opsi depotserver configuration package
ii  opsi-linux-bootimage                  20101203-1                                      Linux-Bootimage fuer das Softwareverteilungssystem OPSI
ii  opsi-utils                            4.0.0.5-1                                       opsi utils
ii  opsiconfd                             4.0.0.3-1                                       opsi configuration service
ii  opsipxeconfd                          4.0-1                                           opsi pxe configuration daemon
ii  python-opsi                           4.0.0.18-1                                      opsi python library

Code: Alles auswählen

dispatch.conf
backend_.*         : file, opsipxeconfd
host_.*            : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.*     : file, opsipxeconfd
audit.*            : mysql
softwareLicense.*  : mysql
.*                 : file

Re: hwinvent funktioniert nicht

Verfasst: 19 Jan 2011, 08:05
von j.schneider
Hallo,

das ist ein Bug im MySQL-Backend.
Das Zeichen u'\ufffd' macht an dieser Stelle ein Problem.
Wird in der nächsten python-opsi-Version behoben.
Workaround: Andere Tastatur verwenden.

Gruß,
Jan Schneider

Re: hwinvent funktioniert nicht

Verfasst: 19 Jan 2011, 10:21
von tk47
Mit einer anderen Tastatur funktioniert es!

Vielen Dank!