Seite 1 von 2

swaudit bricht mit Fehlern ab

Verfasst: 26 Jul 2013, 11:33
von j.kroepke
Hallo,

ich hab bei einem unserer Clients das Problem, dass dort die Software Inventarisierung nicht läuft.

Die Audit wird mit folgendem Error abgebrochen:

Code: Alles auswählen

[5] [Jul 26 08:20:49:567] [swaudit]   Execution of OpsiServiceHashList_auditSoftware_createObjects
[3] [Jul 26 08:20:50:739] [swaudit]     Error: retrieveJSONObject --- opsi service problem ----> {"message":"(1062, \"Duplicate entry 'C9650n Series PS Driver from OKI\\xc2\\xae Printing Solutions for Window' for key 'PRIMARY'\")","class":"IntegrityError"}
Laut opsi-product-updater ist swaudit auf dem aktuellen Stand.

Code: Alles auswählen

swaudit_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'swaudit' is up to date
Mit freundlichen Grüßen,
jkroepke

Re: swaudit bringt mit Fehlern ab

Verfasst: 02 Aug 2013, 19:03
von d.oertel
Hi,

bitte im swaudit das property 'usefilebuffer' aktivieren.
Das ganz nochmal machen und dann die Filebuffer Dateien in c:\tmp\auditsoftware*.txt zippen und an mich senden.
(d.oertel (at) uib.de)

danke
gruß

d.oertel

Re: swaudit bricht mit Fehlern ab

Verfasst: 05 Aug 2013, 12:26
von d.oertel
Hi,

bitte mal diese Version probieren und Rückmeldung geben:
http://download.uib.de/opsi4.0/testing/ ... 0.2-3.opsi

gruß
d.oertel

Re: swaudit bricht mit Fehlern ab

Verfasst: 28 Aug 2013, 11:51
von j.kroepke
Hallo,

Die swaudit 4.0.2-3 lief ohne Probleme durch.

Danke für den Patch.

jkroepke

Re: swaudit bricht mit Fehlern ab

Verfasst: 25 Aug 2014, 19:25
von robert338
Hi,

dieser Thread ist schon etwas älter, habe aber auch einen fehler mir swaudit:

Code: Alles auswählen

[5] [Aug 25 19:20:38:858] [swaudit]   
[5] [Aug 25 19:20:38:858] [swaudit]   Execution of OpsiServiceHashList_auditSoftwareOnClient_createObjects
[3] [Aug 25 19:20:39:002] [swaudit]     Error: retrieveJSONObject --- opsi service problem ----> {"message":"(1406, \"Data too long for column 'uninstallString' at row 1\")","class":"DataError"}
[5] [Aug 25 19:20:39:002] [swaudit]  

Re: swaudit bricht mit Fehlern ab

Verfasst: 26 Aug 2014, 09:54
von n.wenselowski
Hallo,

tritt der Fehler auch auf, nachdem der folgende Befehle auf dem Server ausgeführt wurde?

Code: Alles auswählen

opsi-setup --update-mysql

Gruß

Niko

Re: swaudit bricht mit Fehlern ab

Verfasst: 26 Aug 2014, 10:28
von robert338
Hallo,

leider tritt der Fehler auch nach dem update der Datenbank auf.
hier die Ausgabe von
opsi-setup --update-mysql

Code: Alles auswählen

srv-xx-01:~ # opsi-setup --update-mysql
[5] [Aug 26 10:19:44] Connection to database 'opsi' on 'localhost' as user 'opsi' (opsi-setup|1215)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_HDAUDIO_DEVICE (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_SCSI_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_AUDIO_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_VIDEO_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_PCI_DEVICE (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_NETWORK_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_IDE_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_USB_DEVICE (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_PCMCIA_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_FLOPPY_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_USB_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating database table HARDWARE_DEVICE_1394_CONTROLLER (opsi-setup|1337)
[5] [Aug 26 10:19:51] Updating productId Columns (opsi-setup|1612)
[5] [Aug 26 10:19:51] Updating field 'description' on table PRODUCT_PROPERTY (opsi-setup|1625)
[5] [Aug 26 10:19:51] Updating field 'description' on table BOOT_CONFIGURATION (opsi-setup|1625)
[5] [Aug 26 10:19:51] Fixing DEFAULT for colum 'created' on table HOST (opsi-setup|1636)
[4] [Aug 26 10:19:51] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|381)
[5] [Aug 26 10:19:51] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|469)
[5] [Aug 26 10:19:51] Creating opsi base (SQL.py|399)
[4] [Aug 26 10:19:53] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|381)
[5] [Aug 26 10:19:53] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|469)
[5] [Aug 26 10:19:53] Creating base path: '/var/lib/opsi/config' (File.py|232)
[5] [Aug 26 10:19:54] Creating opsi base (SQL.py|399)
[4] [Aug 26 10:19:55] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|381)
[5] [Aug 26 10:19:55] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|469)
[5] [Aug 26 10:19:55] Creating base path: '/var/lib/opsi/config' (File.py|232)
[5] [Aug 26 10:19:55] Creating opsi base (SQL.py|399)
[5] [Aug 26 10:19:57] Configuring samba (opsi-setup|196)
[5] [Aug 26 10:19:57]    Share opsi_depot found and samba 4 is detected. Trying to detect the executablefix for opsi_depot-Share (opsi-setup|258)
[5] [Aug 26 10:19:57]    fix found, nothing to do (opsi-setup|272)
Erst nach dem Update des OpenSuSE 13.1 - testing Repository ist dieser Fehler aufgetreten.

Danke für die rasche Antwort!
LG Robert

Re: swaudit bricht mit Fehlern ab

Verfasst: 26 Aug 2014, 11:16
von n.wenselowski
Hallo,

es gibt ein neues swaudit, bitte mal damit probieren.
Zu finden ist es unter http://download.uib.de/opsi4.0/experime ... /products/


Gruß

Niko

Re: swaudit bricht mit Fehlern ab

Verfasst: 26 Aug 2014, 11:20
von robert338
Hi,

kurze gegenfrage, mit welchem Befehl kann ich dieses Modul installieren?

LG Robert

Re: swaudit bricht mit Fehlern ab

Verfasst: 26 Aug 2014, 14:37
von d.oertel
Hi,

http://download.uib.de/opsi4.0/experime ... 0.5-1.opsi
herunterladen und mit

Code: Alles auswählen

opsi-package-manager -i swaudit_4.0.5-1.opsi
installieren.

gruß
d.oertel