Setupfehler bei opsi-client-agent bei aktuellem winst

Antworten
andré
Beiträge: 324
Registriert: 07 Jan 2014, 10:48

Setupfehler bei opsi-client-agent bei aktuellem winst

Beitrag von andré »

Hi,
die aktuellste Version vom opsi-client-agent bricht beim setup im Zusammenhang mit dem aktuellsten opsi-winst ab.
Die selbe Kombination in der Testumgebung (separater Opsi-Server mit eigenen Clients) funktioniert.

Folgende Versionen betrifft das:

Nicht funktionsfähig:
  • opsi-client-agent 4.1.0.0-29
    opsi-winst 4.12.1.2-1
Funktionsfähig:
  • opsi-client-agent 4.1.0.0-26 und 4.1.0.0-29
    opsi-winst 4.12.0.35-1
Ich hänge das Installationslog bei verschiedenen Varianten an:

opsi-client-agent 4.1.0.0-29 und opsi-winst 4.12.1.2 - Fehlschlag auf dem Produktivsystem

Code: Alles auswählen

[6] [Jun 14 16:10:40:805] [opsi-client-agent]     If
[6] [Jun 14 16:10:40:805] [opsi-client-agent]       $INST_MODUS$ = ""   <<< result true
[6] [Jun 14 16:10:40:805] [opsi-client-agent]     Then
[6] [Jun 14 16:10:40:805] [opsi-client-agent]       Set  $INST_MODUS$="UPDATE"
[6] [Jun 14 16:10:40:806] [opsi-client-agent]         The value of the variable "$INST_MODUS$" is now: "UPDATE"
[6] [Jun 14 16:10:40:806] [opsi-client-agent]     EndIf
[6] [Jun 14 16:10:40:806] [opsi-client-agent]     If
[6] [Jun 14 16:10:40:807] [opsi-client-agent]       $INST_SubModus$ = "BOOTIMAGE"   <<< result false
[6] [Jun 14 16:10:40:807] [opsi-client-agent]     Then
[6] [Jun 14 16:10:40:807] [opsi-client-agent]     Else
[6] [Jun 14 16:10:40:807] [opsi-client-agent]       Set  $INST_AllowReboot$ = GetProductProperty("allow_reboot", $INST_AllowReboot$)
[6] [Jun 14 16:10:40:808] [opsi-client-agent]         The value of the variable "$INST_AllowReboot$" is now: "True"
[6] [Jun 14 16:10:40:808] [opsi-client-agent]     EndIf
[5] [Jun 14 16:10:40:808] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
[8] [Jun 14 16:10:40:808] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
[8] [Jun 14 16:10:40:808] [opsi-client-agent]     We enter the defined function: oca_shutdown_starter_fix with 29 lines. inDefFuncLevel: 1 and index: 2
[8] [Jun 14 16:10:40:869] [opsi-client-agent]     We leave the defined function: oca_shutdown_starter_fix ; inDefFuncLevel: 0
[5] [Jun 14 16:10:40:869] [opsi-client-agent]     comment: call function read_oca_configuration()
[8] [Jun 14 16:10:40:869] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
[8] [Jun 14 16:10:40:869] [opsi-client-agent]     We enter the defined function: oca_read_configuration with 367 lines. inDefFuncLevel: 1 and index: 3
[4] [Jun 14 16:10:50:099] [opsi-client-agent]     Warning: list to loop through is empty - no loop ...
[2] [Jun 14 16:10:50:099] [opsi-client-agent]     Syntax Error in Section:  (Command in line 245 in defined function: oca_read_configuration file: setup412.opsiscript function start at line: 325; origin: setup412.opsiscript line: 570): for -> Loopvar: %servicestr% could not be deleted from local func: oca_read_configuration
[8] [Jun 14 16:10:50:099] [opsi-client-agent]     We leave the defined function: oca_read_configuration ; inDefFuncLevel: 0
[6] [Jun 14 16:10:50:099] [opsi-client-agent]     
[6] [Jun 14 16:10:50:099] [opsi-client-agent]     ~~~~~~~ End Sub   ~~~~~~~  sub "p:\opsi-client-agent\files\opsi\setup412.opsiscript"
[6] [Jun 14 16:10:50:099] [opsi-client-agent]     
[2] [Jun 14 16:10:50:099] [opsi-client-agent]     Syntax Error in Section: Actions (Command in line 15 in section: Actions; file: setup.opsiscript; section start at line: 6; origin: setup.opsiscript; line: 15): EndIf -> expected
[1] [Jun 14 16:10:50:100] [opsi-client-agent] ___________________
[1] [Jun 14 16:10:50:100] [opsi-client-agent] script finished: failed
[1] [Jun 14 16:10:50:100] [opsi-client-agent] 2 errors
[1] [Jun 14 16:10:50:100] [opsi-client-agent] 0 warnings
opsi-client-agent 4.1.0.0-29 und opsi-winst 4.12.0.35 - Erfolg auf dem Produktivsystem

Code: Alles auswählen

[6] [Jun 14 16:13:58:815] [opsi-client-agent]     If
[6] [Jun 14 16:13:58:816] [opsi-client-agent]       $INST_MODUS$ = ""   <<< result true
[6] [Jun 14 16:13:58:816] [opsi-client-agent]     Then
[6] [Jun 14 16:13:58:816] [opsi-client-agent]       Set  $INST_MODUS$="UPDATE"
[6] [Jun 14 16:13:58:816] [opsi-client-agent]         The value of the variable "$INST_MODUS$" is now: "UPDATE"
[6] [Jun 14 16:13:58:816] [opsi-client-agent]     EndIf
[6] [Jun 14 16:13:58:816] [opsi-client-agent]     If
[6] [Jun 14 16:13:58:817] [opsi-client-agent]       $INST_SubModus$ = "BOOTIMAGE"   <<< result false
[6] [Jun 14 16:13:58:817] [opsi-client-agent]     Then
[6] [Jun 14 16:13:58:817] [opsi-client-agent]     Else
[6] [Jun 14 16:13:58:817] [opsi-client-agent]       Set  $INST_AllowReboot$ = GetProductProperty("allow_reboot", $INST_AllowReboot$)
[6] [Jun 14 16:13:58:817] [opsi-client-agent]         The value of the variable "$INST_AllowReboot$" is now: "True"
[6] [Jun 14 16:13:58:817] [opsi-client-agent]     EndIf
[5] [Jun 14 16:13:58:818] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
[8] [Jun 14 16:13:58:818] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
[8] [Jun 14 16:13:58:818] [opsi-client-agent]     We enter the defined function: oca_shutdown_starter_fix with 29 lines. inDefFuncLevel: 1
[8] [Jun 14 16:13:58:855] [opsi-client-agent]     We leave the defined function: oca_shutdown_starter_fix ; inDefFuncLevel: 0
[5] [Jun 14 16:13:58:856] [opsi-client-agent]     comment: call function read_oca_configuration()
[8] [Jun 14 16:13:58:856] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
[8] [Jun 14 16:13:58:856] [opsi-client-agent]     We enter the defined function: oca_read_configuration with 367 lines. inDefFuncLevel: 1
[4] [Jun 14 16:14:07:615] [opsi-client-agent]     Warning: list to loop through is empty - no loop ...
[3] [Jun 14 16:14:10:706] [opsi-client-agent]           Error: retrieveJSONObject --- opsi service problem ----> {"message":"Bad object id: ''","class":"ValueError"}
[3] [Jun 14 16:14:10:706] [opsi-client-agent]           Received (first 512): {"id": 1, "result": null, "error": {"message": "Bad object id: ''", "class": "ValueError"}}
[3] [Jun 14 16:14:10:706] [opsi-client-agent]           Error: -> {"message":"Bad object id: ''","class":"ValueError"}
[8] [Jun 14 16:14:10:830] [opsi-client-agent]     We leave the defined function: oca_read_configuration ; inDefFuncLevel: 0
[5] [Jun 14 16:14:10:831] [opsi-client-agent]     comment: call function oca_copy_files()
[8] [Jun 14 16:14:10:831] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
[8] [Jun 14 16:14:10:831] [opsi-client-agent]     We enter the defined function: oca_copy_files with 203 lines. inDefFuncLevel: 1
[4] [Jun 14 16:14:11:604] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:11:666] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:11:888] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:12:204] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:20:009] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:20:154] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:20:397] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:27:978] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:124] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:271] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:468] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:551] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:799] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:852] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:28:944] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:011] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:085] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:240] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:294] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:451] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:581] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:716] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:777] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:934] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:29:987] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:30:064] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:30:582] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:30:634] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:30:835] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:30:883] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:31:004] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:31:137] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:31:302] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:31:670] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:31:873] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:32:346] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:32:414] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:32:507] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:32:732] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:32:790] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:33:022] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:33:134] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:34:647] [opsi-client-agent]             Warning: Ordering of files is dubious:
[4] [Jun 14 16:14:34:848] [opsi-client-agent]             Warning: Ordering of files is dubious:
[4] [Jun 14 16:14:35:472] [opsi-client-agent]               Warning:  Target file was in use, copying should be completed after reboot.
[4] [Jun 14 16:14:35:695] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
[8] [Jun 14 16:14:36:520] [opsi-client-agent]     We leave the defined function: oca_copy_files ; inDefFuncLevel: 0
[5] [Jun 14 16:14:36:520] [opsi-client-agent]     comment: call function oca_write_configuration()
[8] [Jun 14 16:14:36:520] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
[8] [Jun 14 16:14:36:520] [opsi-client-agent]     We enter the defined function: oca_write_configuration with 464 lines. inDefFuncLevel: 1
[3] [Jun 14 16:14:59:070] [opsi-client-agent]       Error: opsiclientd_register_service failed
[8] [Jun 14 16:15:12:388] [opsi-client-agent]     We leave the defined function: oca_write_configuration ; inDefFuncLevel: 0
[5] [Jun 14 16:15:12:388] [opsi-client-agent]     comment: is there a custom sub file ...
[6] [Jun 14 16:15:12:388] [opsi-client-agent]     If
[6] [Jun 14 16:15:12:389] [opsi-client-agent]       Starting query if file exist ...
[6] [Jun 14 16:15:12:393] [opsi-client-agent]         "p:\opsi-client-agent\files\opsi\custom\custom.opsiscript":
[6] [Jun 14 16:15:12:393] [opsi-client-agent]       fileexists("p:\opsi-client-agent\files\opsi\custom\custom.opsiscript")   <<< result false
[6] [Jun 14 16:15:12:393] [opsi-client-agent]     Then
[6] [Jun 14 16:15:12:394] [opsi-client-agent]     EndIf
[8] [Jun 14 16:15:12:394] [opsi-client-agent]     Looking for: p:\opsi-client-agent\files\opsi\subconfig.opsiscript
[7] [Jun 14 16:15:12:464] [opsi-client-agent]     Loaded sub from: p:\opsi-client-agent\files\opsi\subconfig.opsiscript with encoding: cp1252
[6] [Jun 14 16:15:12:465] [opsi-client-agent]     
[6] [Jun 14 16:15:12:465] [opsi-client-agent]     ~~~~~~~ Start Sub ~~~~~~~  sub "p:\opsi-client-agent\files\opsi\subconfig.opsiscript"
[7] [Jun 14 16:15:12:491] [opsi-client-agent]     
[7] [Jun 14 16:15:12:491] [opsi-client-agent]     (created string list $on_shutdown_configStates$)
[7] [Jun 14 16:15:12:491] [opsi-client-agent]     
[7] [Jun 14 16:15:12:491] [opsi-client-agent]     (created string list $on_shutdown_keylist$)
[6] [Jun 14 16:15:12:494] [opsi-client-agent]     Set  $INST_create_software_on_demand_menue_entry$ = "true"
[6] [Jun 14 16:15:12:495] [opsi-client-agent]       The value of the variable "$INST_create_software_on_demand_menue_entry$" is now: "true"
[6] [Jun 14 16:15:12:495] [opsi-client-agent]     Set  $kiosk_startmenue_folder$ = GetProductProperty ("kiosk_startmenue_folder", "opsi.org")
opsi-client-agent 4.1.0.0-29 und opsi-winst 4.12.1.2 - Erfolg auf dem Testsystem

Code: Alles auswählen

(602)     [6] [Jun 14 12:09:13:887] [opsi-client-agent]     If
(603)     [6] [Jun 14 12:09:13:887] [opsi-client-agent]       $INST_MODUS$ = ""   <<< result true
(604)     [6] [Jun 14 12:09:13:887] [opsi-client-agent]     Then
(605)     [6] [Jun 14 12:09:13:887] [opsi-client-agent]       Set  $INST_MODUS$="UPDATE"
(606)     [6] [Jun 14 12:09:13:888] [opsi-client-agent]         The value of the variable "$INST_MODUS$" is now: "UPDATE"
(607)     [6] [Jun 14 12:09:13:888] [opsi-client-agent]     EndIf
(608)     [6] [Jun 14 12:09:13:888] [opsi-client-agent]     If
(609)     [6] [Jun 14 12:09:13:888] [opsi-client-agent]       $INST_SubModus$ = "BOOTIMAGE"   <<< result false
(610)     [6] [Jun 14 12:09:13:888] [opsi-client-agent]     Then
(611)     [6] [Jun 14 12:09:13:889] [opsi-client-agent]     Else
(612)     [6] [Jun 14 12:09:13:889] [opsi-client-agent]       Set  $INST_AllowReboot$ = GetProductProperty("allow_reboot", $INST_AllowReboot$)
(613)     [6] [Jun 14 12:09:13:889] [opsi-client-agent]         The value of the variable "$INST_AllowReboot$" is now: "True"
(614)     [6] [Jun 14 12:09:13:889] [opsi-client-agent]     EndIf
(615)     [5] [Jun 14 12:09:13:890] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
(619)     [5] [Jun 14 12:09:13:920] [opsi-client-agent]     comment: call function read_oca_configuration()
(623)     [5] [Jun 14 12:09:19:456] [opsi-client-agent]     comment: call function oca_copy_files()
(626)     [4] [Jun 14 12:09:20:099] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(627)     [4] [Jun 14 12:09:20:164] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(628)     [4] [Jun 14 12:09:20:667] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(629)     [4] [Jun 14 12:09:21:663] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(630)     [4] [Jun 14 12:09:28:646] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(631)     [4] [Jun 14 12:09:29:038] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(632)     [4] [Jun 14 12:09:29:360] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(633)     [4] [Jun 14 12:09:30:639] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(634)     [4] [Jun 14 12:09:30:826] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(635)     [4] [Jun 14 12:09:31:006] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(636)     [4] [Jun 14 12:09:31:407] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(637)     [4] [Jun 14 12:09:31:618] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(638)     [4] [Jun 14 12:09:31:725] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(639)     [4] [Jun 14 12:09:32:039] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(640)     [4] [Jun 14 12:09:32:108] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(641)     [4] [Jun 14 12:09:32:428] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(642)     [4] [Jun 14 12:09:32:654] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(643)     [4] [Jun 14 12:09:32:856] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(644)     [4] [Jun 14 12:09:33:065] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(645)     [4] [Jun 14 12:09:33:527] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(646)     [4] [Jun 14 12:09:33:744] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(647)     [4] [Jun 14 12:09:33:785] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(648)     [4] [Jun 14 12:09:33:806] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(649)     [4] [Jun 14 12:09:33:966] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(650)     [4] [Jun 14 12:09:34:439] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(651)     [4] [Jun 14 12:09:35:146] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(652)     [4] [Jun 14 12:09:35:182] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(653)     [4] [Jun 14 12:09:35:210] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(654)     [4] [Jun 14 12:09:35:648] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(655)     [4] [Jun 14 12:09:35:896] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(656)     [4] [Jun 14 12:09:35:930] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(657)     [4] [Jun 14 12:09:36:301] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(658)     [4] [Jun 14 12:09:36:500] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(659)     [4] [Jun 14 12:09:37:112] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(660)     [4] [Jun 14 12:09:37:138] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(661)     [4] [Jun 14 12:09:37:165] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(662)     [4] [Jun 14 12:09:37:333] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(663)     [4] [Jun 14 12:09:37:830] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(664)     [4] [Jun 14 12:09:37:873] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(665)     [4] [Jun 14 12:09:38:135] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(666)     [4] [Jun 14 12:09:38:247] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(667)     [4] [Jun 14 12:09:39:389] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(668)     [4] [Jun 14 12:09:52:921] [opsi-client-agent]             Warning: Ordering of files is dubious:
(669)     [4] [Jun 14 12:09:53:065] [opsi-client-agent]             Warning: Ordering of files is dubious:
(670)     [4] [Jun 14 12:09:54:697] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(672)     [5] [Jun 14 12:09:56:681] [opsi-client-agent]     comment: call function oca_write_configuration()
(675)     [3] [Jun 14 12:10:05:810] [opsi-client-agent]       Error: opsiclientd_register_service failed
(677)     [5] [Jun 14 12:10:16:359] [opsi-client-agent]     comment: is there a custom sub file ...
(678)     [6] [Jun 14 12:10:16:359] [opsi-client-agent]     If
(679)     [6] [Jun 14 12:10:16:359] [opsi-client-agent]       Starting query if file exist ...
(680)     [6] [Jun 14 12:10:16:361] [opsi-client-agent]         "p:\opsi-client-agent\files\opsi\custom\custom.opsiscript":
(681)     [6] [Jun 14 12:10:16:361] [opsi-client-agent]       fileexists("p:\opsi-client-agent\files\opsi\custom\custom.opsiscript")   <<< result false
(682)     [6] [Jun 14 12:10:16:361] [opsi-client-agent]     Then
(683)     [6] [Jun 14 12:10:16:361] [opsi-client-agent]     EndIf
(685)     [7] [Jun 14 12:10:16:448] [opsi-client-agent]     Loaded sub from: p:\opsi-client-agent\files\opsi\subconfig.opsiscript with encoding: cp1252
(686)     [6] [Jun 14 12:10:16:448] [opsi-client-agent]     
(687)     [6] [Jun 14 12:10:16:448] [opsi-client-agent]     ~~~~~~~ Start Sub ~~~~~~~  sub "p:\opsi-client-agent\files\opsi\subconfig.opsiscript"
(688)     [7] [Jun 14 12:10:16:490] [opsi-client-agent]     
(689)     [7] [Jun 14 12:10:16:490] [opsi-client-agent]     (created string list $on_shutdown_configStates$)
(690)     [7] [Jun 14 12:10:16:491] [opsi-client-agent]     
(691)     [7] [Jun 14 12:10:16:491] [opsi-client-agent]     (created string list $on_shutdown_keylist$)
(692)     [6] [Jun 14 12:10:16:496] [opsi-client-agent]     Set  $INST_create_software_on_demand_menue_entry$ = "true"
(693)     [6] [Jun 14 12:10:16:503] [opsi-client-agent]       The value of the variable "$INST_create_software_on_demand_menue_entry$" is now: "true"
(694)     [6] [Jun 14 12:10:16:503] [opsi-client-agent]     Set  $kiosk_startmenue_folder$ = GetProductProperty ("kiosk_startmenue_folder", "opsi.org")
Die beiden Clients sind beide Windows 7 x64.
Irgendeine Idee, woran das liegen kann?
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Setupfehler bei opsi-client-agent bei aktuellem winst

Beitrag von n.wenselowski »

Hi,

danke für den Bugreport!
Es sieht mir von der Fehlermeldung aus wie viewtopic.php?f=6&t=11152.

Dass es mal geht und mal nicht ist schrägt - zumal bei beiden Versionen.
Kannst du auch mal probieren, ob der winst aus experimental hier einen Unterschied macht?


Gruß

Niko

Code: Alles auswählen

import OPSI
andré
Beiträge: 324
Registriert: 07 Jan 2014, 10:48

Re: Setupfehler bei opsi-client-agent bei aktuellem winst

Beitrag von andré »

Tatsache. Winst 4.12.1.5-1 funktioniert offenbar.

Hier im Beispiel auf dem Produktiv-Client, der im ersten Post fehlschlug. Getestet habe ich das jetzt auf einem Win7 und einem Win10-Client.

opsi-client-agent 4.1.0.0-29 und opsi-winst 4.12.1.5

Code: Alles auswählen

(606)     [6] [Jun 17 18:09:29:602] [opsi-client-agent]     If
(607)     [6] [Jun 17 18:09:29:602] [opsi-client-agent]       $INST_MODUS$ = ""   <<< result true
(608)     [6] [Jun 17 18:09:29:602] [opsi-client-agent]     Then
(609)     [6] [Jun 17 18:09:29:602] [opsi-client-agent]       Set  $INST_MODUS$="UPDATE"
(610)     [6] [Jun 17 18:09:29:603] [opsi-client-agent]         The value of the variable "$INST_MODUS$" is now: "UPDATE"
(611)     [6] [Jun 17 18:09:29:603] [opsi-client-agent]     EndIf
(612)     [6] [Jun 17 18:09:29:603] [opsi-client-agent]     If
(613)     [6] [Jun 17 18:09:29:603] [opsi-client-agent]       $INST_SubModus$ = "BOOTIMAGE"   <<< result false
(614)     [6] [Jun 17 18:09:29:603] [opsi-client-agent]     Then
(615)     [6] [Jun 17 18:09:29:603] [opsi-client-agent]     Else
(616)     [6] [Jun 17 18:09:29:604] [opsi-client-agent]       Set  $INST_AllowReboot$ = GetProductProperty("allow_reboot", $INST_AllowReboot$)
(617)     [6] [Jun 17 18:09:29:604] [opsi-client-agent]         The value of the variable "$INST_AllowReboot$" is now: "True"
(618)     [6] [Jun 17 18:09:29:604] [opsi-client-agent]     EndIf
(619)     [5] [Jun 17 18:09:29:605] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
(620)     [8] [Jun 17 18:09:29:605] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(621)     [8] [Jun 17 18:09:29:605] [opsi-client-agent]     We enter the defined function: oca_shutdown_starter_fix with 29 lines. inDefFuncLevel: 1 and index: 2
(622)     [8] [Jun 17 18:09:29:631] [opsi-client-agent]     We leave the defined function: oca_shutdown_starter_fix ; inDefFuncLevel: 0
(623)     [5] [Jun 17 18:09:29:631] [opsi-client-agent]     comment: call function read_oca_configuration()
(624)     [8] [Jun 17 18:09:29:631] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(625)     [8] [Jun 17 18:09:29:631] [opsi-client-agent]     We enter the defined function: oca_read_configuration with 367 lines. inDefFuncLevel: 1 and index: 3
(626)     [4] [Jun 17 18:09:33:481] [opsi-client-agent]     Warning: list to loop through is empty - no loop ...
(627)     [3] [Jun 17 18:09:34:315] [opsi-client-agent]           Error: retrieveJSONObject --- opsi service problem ----> {"message":"Bad object id: ''","class":"ValueError"}
(628)     [3] [Jun 17 18:09:34:316] [opsi-client-agent]           Received (first 512): {"id": 1, "result": null, "error": {"message": "Bad object id: ''", "class": "ValueError"}}
(629)     [3] [Jun 17 18:09:34:316] [opsi-client-agent]           Error: -> {"message":"Bad object id: ''","class":"ValueError"}
(630)     [8] [Jun 17 18:09:34:416] [opsi-client-agent]     We leave the defined function: oca_read_configuration ; inDefFuncLevel: 0
(631)     [5] [Jun 17 18:09:34:416] [opsi-client-agent]     comment: call function oca_copy_files()
(632)     [8] [Jun 17 18:09:34:416] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(633)     [8] [Jun 17 18:09:34:416] [opsi-client-agent]     We enter the defined function: oca_copy_files with 203 lines. inDefFuncLevel: 1 and index: 6
(634)     [4] [Jun 17 18:09:35:117] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(635)     [4] [Jun 17 18:09:35:154] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(636)     [4] [Jun 17 18:09:35:320] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(637)     [4] [Jun 17 18:09:35:584] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(638)     [4] [Jun 17 18:09:41:800] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(639)     [4] [Jun 17 18:09:41:929] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(640)     [4] [Jun 17 18:09:42:186] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(641)     [4] [Jun 17 18:09:48:925] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(642)     [4] [Jun 17 18:09:49:064] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(643)     [4] [Jun 17 18:09:49:233] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(644)     [4] [Jun 17 18:09:49:501] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(645)     [4] [Jun 17 18:09:49:572] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(646)     [4] [Jun 17 18:09:49:767] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(647)     [4] [Jun 17 18:09:49:821] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(648)     [4] [Jun 17 18:09:49:899] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(649)     [4] [Jun 17 18:09:49:959] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(650)     [4] [Jun 17 18:09:50:012] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(651)     [4] [Jun 17 18:09:50:169] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(652)     [4] [Jun 17 18:09:50:200] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(653)     [4] [Jun 17 18:09:50:353] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(654)     [4] [Jun 17 18:09:50:464] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(655)     [4] [Jun 17 18:09:50:607] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(656)     [4] [Jun 17 18:09:50:646] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(657)     [4] [Jun 17 18:09:50:761] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(658)     [4] [Jun 17 18:09:50:804] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(659)     [4] [Jun 17 18:09:50:874] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(660)     [4] [Jun 17 18:09:51:253] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(661)     [4] [Jun 17 18:09:51:288] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(662)     [4] [Jun 17 18:09:51:421] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(663)     [4] [Jun 17 18:09:51:462] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(664)     [4] [Jun 17 18:09:51:526] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(665)     [4] [Jun 17 18:09:51:622] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(666)     [4] [Jun 17 18:09:51:747] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(667)     [4] [Jun 17 18:09:52:028] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(668)     [4] [Jun 17 18:09:52:134] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(669)     [4] [Jun 17 18:09:52:579] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(670)     [4] [Jun 17 18:09:52:634] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(671)     [4] [Jun 17 18:09:52:771] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(672)     [4] [Jun 17 18:09:52:990] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(673)     [4] [Jun 17 18:09:53:035] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(674)     [4] [Jun 17 18:09:53:206] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(675)     [4] [Jun 17 18:09:53:305] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(676)     [4] [Jun 17 18:09:54:538] [opsi-client-agent]             Warning: Ordering of files is dubious:
(677)     [4] [Jun 17 18:09:54:681] [opsi-client-agent]             Warning: Ordering of files is dubious:
(678)     [4] [Jun 17 18:09:55:265] [opsi-client-agent]               Warning:  Target file was in use, copying should be completed after reboot.
(679)     [4] [Jun 17 18:09:55:459] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(680)     [8] [Jun 17 18:09:56:150] [opsi-client-agent]     We leave the defined function: oca_copy_files ; inDefFuncLevel: 0
(681)     [5] [Jun 17 18:09:56:150] [opsi-client-agent]     comment: call function oca_write_configuration()
(682)     [8] [Jun 17 18:09:56:150] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(683)     [8] [Jun 17 18:09:56:150] [opsi-client-agent]     We enter the defined function: oca_write_configuration with 464 lines. inDefFuncLevel: 1 and index: 7
(684)     [3] [Jun 17 18:10:06:260] [opsi-client-agent]       Error: opsiclientd_register_service failed
(685)     [8] [Jun 17 18:10:15:833] [opsi-client-agent]     We leave the defined function: oca_write_configuration ; inDefFuncLevel: 0
(686)     [5] [Jun 17 18:10:15:834] [opsi-client-agent]     comment: is there a custom sub file ...
(687)     [6] [Jun 17 18:10:15:834] [opsi-client-agent]     If
(688)     [6] [Jun 17 18:10:15:834] [opsi-client-agent]       Starting query if file exist ...
(689)     [6] [Jun 17 18:10:15:839] [opsi-client-agent]         "p:\opsi-client-agent\files\opsi\custom\custom.opsiscript":
(690)     [6] [Jun 17 18:10:15:839] [opsi-client-agent]       fileexists("p:\opsi-client-agent\files\opsi\custom\custom.opsiscript")   <<< result false
(691)     [6] [Jun 17 18:10:15:839] [opsi-client-agent]     Then
(692)     [6] [Jun 17 18:10:15:839] [opsi-client-agent]     EndIf
(693)     [8] [Jun 17 18:10:15:840] [opsi-client-agent]     Looking for: p:\opsi-client-agent\files\opsi\subconfig.opsiscript
(694)     [7] [Jun 17 18:10:15:900] [opsi-client-agent]     Loaded sub from: p:\opsi-client-agent\files\opsi\subconfig.opsiscript with encoding: cp1252
(695)     [6] [Jun 17 18:10:15:900] [opsi-client-agent]     
(696)     [6] [Jun 17 18:10:15:900] [opsi-client-agent]     ~~~~~~~ Start Sub ~~~~~~~  sub "p:\opsi-client-agent\files\opsi\subconfig.opsiscript"
Antworten