Seite 1 von 1
hwaudit exitcode 259
Verfasst: 03 Mai 2011, 08:06
von Cherry
Hallo,
ich habe bereits im Forum gesucht und habe diesen thread gefunden:
viewtopic.php?f=7&t=1947&p=9572&hilit=e ... +255#p9572
Bei mir tritt der Fehler ebenso noch auf.
Opsi 4.0, audit Backend ist mysql und hwaudit Version 4.0.1-1 und 4.0.2-1.
Es tritt nur bei einem Client auf.
Bitte um Abhilfe.
Re: hwaudit exitcode 259
Verfasst: 07 Mai 2011, 10:41
von martin_esp
Hallo,
bei mir tritt das Problem auch auf, bei einigen Windows XP Clients geht es nicht, bei den anderen funktioniert es, gleicher Exit-Code wie in dem angegebenen Thread meines Vorgängers:
viewtopic.php?f=7&t=1947&p=9572&hilit=exitcode+255#p9572
Ich setzte auch OPSI 4.0 mit dem File-Backend (lt. Thread sollte das mit OPSI 4.0 gehen) hwaudit hat die Version 4.0.2-1.
Anbei als Dateianhang ein Logauszug wo es funktioniert und wo es nicht funktioniert:
Computer1: Hier funktioniert es korrekt:
Code: Alles auswählen
[5] [5.5.2011 18:41:05]
[5] [5.5.2011 18:41:05] Execution of Winbatch_hwaudit
[6] [5.5.2011 18:41:05] Call ""c:\tmp\hwaudit\hwaudit.exe" -u "computer1.esp.local" -p "*****(password)*****" -a "https://192.168.xxx.25:4447" -l 3"
[6] [5.5.2011 18:41:05] Waiting 90 seconds
[6] [5.5.2011 18:41:05] Waiting until process "hwaudit.exe" started and has ended
[6] [5.5.2011 18:41:06] Waiting for start of "hwaudit.exe"
[6] [5.5.2011 18:41:06] Waiting for process "hwaudit.exe" ending
[6] [5.5.2011 18:42:14] Process "hwaudit.exe" ended
[6] [5.5.2011 18:42:14] ExitCode 0 Executed process ""c:\tmp\hwaudit\hwaudit.exe" -u "computer1.esp.local" -p "*****(password)*****" -a "https://192.168.xxx.25:4447" -l 3"
[5] [5.5.2011 18:42:14]
[5] [5.5.2011 18:42:14] Set $exitcode$ = getLastExitCode
[6] [5.5.2011 18:42:14] The value of the variable "$exitcode$" is now: "0"
[6] [5.5.2011 18:42:14] Nothing to stop, no instances of "hwaudit.exe" found
[5] [5.5.2011 18:42:14]
[5] [5.5.2011 18:42:14] If
[6] [5.5.2011 18:42:14] Starting query if file exist ...
[5] [5.5.2011 18:42:14] FileExists("p:\install\hwaudit") <<< result true
[5] [5.5.2011 18:42:14] not (FileExists("p:\install\hwaudit")) <<< result false
[5] [5.5.2011 18:42:14] Then
[5] [5.5.2011 18:42:14] EndIf
Computer2: Hier funktioniert es nicht:
Code: Alles auswählen
[5] [5.5.2011 20:05:33] Execution of Winbatch_hwaudit
[6] [5.5.2011 20:05:33] Call ""c:\tmp\hwaudit\hwaudit.exe" -u "computer2.esp.local" -p "*****(password)*****" -a "https://192.168.xxx.25:4447" -l 3"
[6] [5.5.2011 20:05:33] Waiting 90 seconds
[6] [5.5.2011 20:05:33] Waiting until process "hwaudit.exe" started and has ended
[6] [5.5.2011 20:05:33] Waiting for start of "hwaudit.exe"
[6] [5.5.2011 20:05:33] Waiting for process "hwaudit.exe" ending
[6] [5.5.2011 20:07:03] Waiting for ending of "hwaudit.exe" stopped - time out 90 sec
[6] [5.5.2011 20:07:04] ExitCode 259 Executed process ""c:\tmp\hwaudit\hwaudit.exe" -u "computer2.esp.local" -p "*****(password)*****" -a "https://192.168.xxx.25:4447" -l 3"
[5] [5.5.2011 20:07:04]
[5] [5.5.2011 20:07:04] Set $exitcode$ = getLastExitCode
[6] [5.5.2011 20:07:04] The value of the variable "$exitcode$" is now: "259"
[6] [5.5.2011 20:07:04] 1 instance(s) of "hwaudit.exe" stopped
mfg,
Martin
Re: hwaudit exitcode 259
Verfasst: 10 Mai 2011, 12:27
von Cherry
Hallo,
[5] [10.05.2011 12:24:03] $exitcode$ = "0" <<< result false
[5] [10.05.2011 12:24:03] $exitcode$ = "259" <<< result false
[5] [10.05.2011 12:24:03] ($exitcode$ = "259") <<< result false
[5] [10.05.2011 12:24:03] ($exitcode$ = "0") or ($exitcode$ = "259") <<< result false
[5] [10.05.2011 12:24:03] not (($exitcode$ = "0") or ($exitcode$ = "259")) <<< result true
[5] [10.05.2011 12:24:03] Then
[3] [10.05.2011 12:24:03] Error: Fatal: hwaudit exit code = 255
[6] [10.05.2011 12:24:03] Error level set to fatal
[5] [10.05.2011 12:24:04] Process aborted
[1] [10.05.2011 12:24:04] ___________________
[1] [10.05.2011 12:24:04] script finished
[1] [10.05.2011 12:24:04] 1 error
[1] [10.05.2011 12:24:04] 1 warning
diese Fehler erscheinen auch mit dem neuesten opsi-client-agen 4.0.1-6 und den winst 4.10.8.14.
Re: hwaudit exitcode 259
Verfasst: 12 Mai 2011, 20:44
von d.oertel