hwaudit Error: Fatal: hwaudit exit code = 255

Antworten
torstenv
Beiträge: 16
Registriert: 26 Jun 2013, 15:16

hwaudit Error: Fatal: hwaudit exit code = 255

Beitrag von torstenv »

Hi!

hwaudit V4.1.0.4-2 auf einem W2016 Server returned reproduzierbar Fehler 255.

Irgend eine Idee, wie ich das lösen kann?

Thx,
T.

Hier ein Auszug aus dem Log:

Code: Alles auswählen

(55)      [1] [Sep 04 10:25:23:770] [hwaudit] Prog: force_min_loglevel: 0
(56)      [1] [Sep 04 10:25:23:770] [hwaudit] Prog: default_loglevel: 7
(57)      [1] [Sep 04 10:25:23:770] [hwaudit] Prog: debug_prog: False
(58)      [1] [Sep 04 10:25:23:770] [hwaudit] Prog: debug_lib: False
(59)      [1] [Sep 04 10:25:23:770] [hwaudit] Prog: ScriptErrorMessages: False
(60)      [1] [Sep 04 10:25:23:770] [hwaudit] Prog: AutoActivityDisplay: False
(62)      [1] [Sep 04 10:25:23:799] [hwaudit] 
(63)      [1] [Sep 04 10:25:23:800] [hwaudit] ============ Version 4.12.0.25 script "p:\hwaudit\hwaudit.opsiscript"
(64)      [1] [Sep 04 10:25:23:800] [hwaudit]              used script encoding: cp1252
(65)      [1] [Sep 04 10:25:23:800] [hwaudit]              used system encoding: cp1252
(66)      [1] [Sep 04 10:25:23:800] [hwaudit]              start: 2018-09-04  10:25:23 
(67)      [1] [Sep 04 10:25:23:800] [hwaudit]              installing product: hwaudit_4.1.0.4-2
(68)      [1] [Sep 04 10:25:23:800] [hwaudit]              on client named    "ws1.my.domain.de"
(69)      [1] [Sep 04 10:25:23:800] [hwaudit]              loggedin user    ""
(70)      [1] [Sep 04 10:25:23:800] [hwaudit]              opsi-script running as    "SYSTEM"
(71)      [1] [Sep 04 10:25:23:800] [hwaudit]              opsi-script running with admin privileges
(72)      [1] [Sep 04 10:25:23:800] [hwaudit]              opsi-script running in standard script mode
(73)      [1] [Sep 04 10:25:23:800] [hwaudit] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"
(74)      [1] [Sep 04 10:25:23:800] [hwaudit] system infos:
(75)      [1] [Sep 04 10:25:23:803] [hwaudit] 70-85-C2-8D-77-39  -  PC hardware address
(76)      [1] [Sep 04 10:25:23:803] [hwaudit] ws1.my.domain.de  -  IP name 
(77)      [1] [Sep 04 10:25:23:803] [hwaudit] 192.168.1.161  -  IP address
(78)      [1] [Sep 04 10:25:23:803] [hwaudit] DEU  -  System default locale 
(84)      [1] [Sep 04 10:25:23:804] [hwaudit] MS Windows 10.0 64 Bit, Release: 1607, Edition: undefined
(85)      [1] [Sep 04 10:25:23:804] [hwaudit] opsi service version : 4
(86)      [1] [Sep 04 10:25:23:804] [hwaudit] 
(495)     [3] [Sep 04 10:25:25:198] [hwaudit]   Error: Fatal: hwaudit exit code = 255
(496)     [2] [Sep 04 10:25:25:198] [hwaudit]   Error level set to fatal
(498)     [1] [Sep 04 10:25:25:198] [hwaudit] ___________________
(499)     [1] [Sep 04 10:25:25:198] [hwaudit] script finished: failed
(500)     [1] [Sep 04 10:25:25:198] [hwaudit] 1 error
(501)     [1] [Sep 04 10:25:25:198] [hwaudit] 1 warning
(502)     [1] [Sep 04 10:25:25:198] [hwaudit] 
(503)     [1] [Sep 04 10:25:25:198] [hwaudit] installed product: hwaudit Version: 4.1.0.4-2
(504)     [1] [Sep 04 10:25:25:198] [hwaudit] 
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: hwaudit Error: Fatal: hwaudit exit code = 255

Beitrag von wolfbardo »

Bitte mal interaktiv versuchen:

Code: Alles auswählen

opsi-admin -d method getOpsiHostKey <clientname>
dann auf dem Client schauen welche Felermeldung erscheint bei:

Code: Alles auswählen

"C:\opsi.org\tmp\hwaudit\hwaudit.exe" -u "streamlinesrv.hanvb.local" -p "<opsihostkey-des-clients>" -a "https://>opsiserver>:4447" -l 3 -f "C:\opsi.org\tmp\hwaudit.log"
Gruss
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
torstenv
Beiträge: 16
Registriert: 26 Jun 2013, 15:16

Re: hwaudit Error: Fatal: hwaudit exit code = 255

Beitrag von torstenv »

Code: Alles auswählen

Traceback (most recent call last):
  File "hwaudit.py", line 9, in <module>
  File "OPSI\Backend\JSONRPC.pyo", line 50, in <module>
  File "OPSI\Backend\Backend.pyo", line 57, in <module>
  File "OPSI\Util\File\__init__.pyo", line 49, in <module>
  File "OPSI\System\__init__.pyo", line 43, in <module>
  File "OPSI\System\Windows.pyo", line 60, in <module>
  File "win32wnet.pyo", line 12, in <module>
  File "win32wnet.pyo", line 10, in __load
ImportError: DLL load failed: Eine DLL-Initialisierungsroutine ist fehlgeschlagen.
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: hwaudit Error: Fatal: hwaudit exit code = 255

Beitrag von uncle_scrooge »

Sounds familiar....
viewtopic.php?f=7&t=10496

Updatestand der Maschine? Aktuell?
torstenv
Beiträge: 16
Registriert: 26 Jun 2013, 15:16

Re: hwaudit Error: Fatal: hwaudit exit code = 255

Beitrag von torstenv »

Updatestand der Maschine? Aktuell?
Ja. "Ihr Gerät ist auf dem neuesten Stand. Letzte Überprüfung: Heute, ‏‎10:30"
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: hwaudit Error: Fatal: hwaudit exit code = 255

Beitrag von uncle_scrooge »

Mmhm.
Habe jetzt endlich meine Spielkiste gefunden: VM mit w2016.
Und da läuft hwaudit in der von Dir genannten Version einwandfrei durch.

>>"Ihr Gerät ist auf dem neuesten Stand. Letzte Überprüfung: Heute, ‏‎10:30"
Microsoftsche Managementmeldungen: Alles im grünen Bereich.
Das habe ich das letzte Mal vor 15 jahren geglaubt.

WSUS? Direkt gegen Microsoft Update? (Wehe!)

Ist Deine Kiste Hardware, oder VM?

Und bitte das komplette Log einstellen. (Schieberegler unten rechts bis zum Anschlag des rechten Bildschirmrandes.)

Auffällig ist noch das hier:
MS Windows 10.0 64 Bit, Release: 1607, Edition: undefined
Ich habe da schön 'Server Standard Edition (full installation)' stehen.

Edith meint noch, auf einem Dell R640 mit w2016 läuft es auch einwandfrei.

Edith plappert heute ziemlich rum: Bitte noch ein wmic qfe get absetzen, und die Ausgabe hier einstellen. Wegen 'neuestem Stand'.
Antworten