Seite 1 von 1

Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 12 Jun 2019, 14:50
von TheNavy
Hallo zusammen,
ich habe auf diversen Clients das Problem, dass die Installation des neusten Client-Agents fehlschlägt. Im Log steht dann folgende Fehlermeldung:

Code: Alles auswählen

(85)      [1] [Jun 12 14:42:27:185] [opsi-client-agent] MS Windows 10.0 64 Bit, Release: 1803, Edition: PRODUCT_PROFESSIONAL
(86)      [1] [Jun 12 14:42:27:186] [opsi-client-agent] opsi service version : 4
(87)      [1] [Jun 12 14:42:27:186] [opsi-client-agent] 
(627)     [2] [Jun 12 14:42:34:607] [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
(632)     [2] [Jun 12 14:42:34:607] [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
(633)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] ___________________
(634)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] script finished: failed
(635)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] 2 errors
(636)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] 0 warnings
(637)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] 
(638)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] installed product: opsi-client-agent Version: 4.1.0.0-29
(639)     [1] [Jun 12 14:42:34:608] [opsi-client-agent] 
Bei anderen Clients läuft die Installation auf die neuste Version wiederum ohne Probleme. Kann da noch kein System draus erkennen.

Hat da jemand ne Idee? Danke im voraus :)

Gruß
Richard

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 17 Jun 2019, 14:08
von n.wenselowski
Hi Richard,

danke für den Report.

Kannst du einschränken auf welchen Versionen von Windows 10 das Problem auftritt?

Welche Version des opsi-winst setzt du ein?


Gruß

Niko

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 17 Jun 2019, 14:14
von wom
Hi,

wir haben seit einer Weile dasselbe Problem, soweit ich das beobachtet habe unabhängig von der Windows 10 Version (allerdings immer x64).
Eingesetzt wird hier opsi-winst 4.12.1.2-1.

Gruß
Martin

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 17 Jun 2019, 14:44
von n.wenselowski
Hi,

Ist 32bit generell nicht betroffen oder wurde es nicht probiert?

Hilft es die Version von opsi-winst aus experimental (aktuell 4.12.1.5-1) zu installieren?


Gruß

Niko

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 18 Jun 2019, 13:24
von wom
Hi Niko,

tut mir Leid, hätte mich klarer ausdrücken müssen... 32bit Installationen wurden nicht getestet, da nicht vorhanden.

Mit dem neuen opsi-winst läuft die Installation mit "success" durch. Allerdings habe ich noch ein paar nicht-fatale Fehler im Log:

Code: Alles auswählen

(621)     [5] [Jun 18 13:16:30:522] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
(625)     [5] [Jun 18 13:16:30:543] [opsi-client-agent]     comment: call function read_oca_configuration()
(628)     [4] [Jun 18 13:16:37:783] [opsi-client-agent]     Warning: list to loop through is empty - no loop ...
(629)     [3] [Jun 18 13:16:38:871] [opsi-client-agent]           Error: retrieveJSONObject --- opsi service problem ----> {"message":"Bad object id: ''","class":"ValueError"}
(630)     [3] [Jun 18 13:16:38:871] [opsi-client-agent]           Received (first 512): {"id": 1, "result": null, "error": {"message": "Bad object id: ''", "class": "ValueError"}}
(631)     [3] [Jun 18 13:16:38:871] [opsi-client-agent]           Error: -> {"message":"Bad object id: ''","class":"ValueError"}
(633)     [5] [Jun 18 13:16:38:943] [opsi-client-agent]     comment: call function oca_copy_files()
(636)     [4] [Jun 18 13:16:41:089] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(637)     [4] [Jun 18 13:16:41:395] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(638)     [4] [Jun 18 13:16:41:440] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(639)     [4] [Jun 18 13:16:42:130] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(640)     [4] [Jun 18 13:16:49:003] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(641)     [4] [Jun 18 13:16:49:170] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(642)     [4] [Jun 18 13:16:49:400] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(643)     [4] [Jun 18 13:16:49:533] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(644)     [4] [Jun 18 13:16:49:575] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(645)     [4] [Jun 18 13:16:49:856] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(646)     [4] [Jun 18 13:16:49:885] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(647)     [4] [Jun 18 13:16:50:030] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(648)     [4] [Jun 18 13:16:50:084] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(649)     [4] [Jun 18 13:16:50:115] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(650)     [4] [Jun 18 13:16:50:208] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(651)     [4] [Jun 18 13:16:50:608] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(652)     [4] [Jun 18 13:16:50:961] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(653)     [4] [Jun 18 13:16:51:006] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(654)     [4] [Jun 18 13:16:51:034] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(655)     [4] [Jun 18 13:16:51:067] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(656)     [4] [Jun 18 13:16:51:334] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(657)     [4] [Jun 18 13:16:51:557] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(658)     [4] [Jun 18 13:16:51:616] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(659)     [4] [Jun 18 13:16:51:814] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(660)     [4] [Jun 18 13:16:51:863] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(661)     [4] [Jun 18 13:16:51:898] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(662)     [4] [Jun 18 13:16:51:938] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(663)     [4] [Jun 18 13:16:51:968] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(664)     [4] [Jun 18 13:16:52:002] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(665)     [4] [Jun 18 13:16:52:033] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(666)     [4] [Jun 18 13:16:52:069] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(667)     [4] [Jun 18 13:16:52:100] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(668)     [4] [Jun 18 13:16:52:131] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(669)     [4] [Jun 18 13:16:52:167] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(670)     [4] [Jun 18 13:16:52:292] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(671)     [4] [Jun 18 13:16:52:441] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(672)     [4] [Jun 18 13:16:52:481] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(673)     [4] [Jun 18 13:16:52:535] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(674)     [4] [Jun 18 13:16:52:578] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(675)     [4] [Jun 18 13:16:52:895] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(676)     [4] [Jun 18 13:16:53:001] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(677)     [4] [Jun 18 13:16:53:087] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(678)     [4] [Jun 18 13:17:00:555] [opsi-client-agent]               Warning:  Target file was in use, copying should be completed after reboot.
(679)     [4] [Jun 18 13:17:03:671] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(681)     [5] [Jun 18 13:17:06:884] [opsi-client-agent]     comment: call function oca_write_configuration()
(684)     [3] [Jun 18 13:17:15:855] [opsi-client-agent]       Error: opsiclientd_register_service failed
Gruß
Martin

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 27 Jun 2019, 10:01
von TheNavy
Hey,
so ich melde mich auch mal zurück ;)

Also im Einsatz habe ich die winst 4.12.1.2-1.
Problem tritt auf der ganzen Palette von Windows 10 auf (Getestet bei 1803 1809 1903) (64Bit only da wir kein 32Bit mehr im Einsatz haben).
Teste die Tage auch mal die experimental-Version vom winst muss nur erstmal meine Testumgebung mal wieder auf den neusten Stand bringen ;)

Gruß
Richard

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 02 Jul 2019, 13:32
von n.wenselowski
Hi Martin,
wom hat geschrieben:Mit dem neuen opsi-winst läuft die Installation mit "success" durch. Allerdings habe ich noch ein paar nicht-fatale Fehler im Log:

Code: Alles auswählen

(621)     [5] [Jun 18 13:16:30:522] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
(625)     [5] [Jun 18 13:16:30:543] [opsi-client-agent]     comment: call function read_oca_configuration()
(628)     [4] [Jun 18 13:16:37:783] [opsi-client-agent]     Warning: list to loop through is empty - no loop ...
(629)     [3] [Jun 18 13:16:38:871] [opsi-client-agent]           Error: retrieveJSONObject --- opsi service problem ----> {"message":"Bad object id: ''","class":"ValueError"}
(630)     [3] [Jun 18 13:16:38:871] [opsi-client-agent]           Received (first 512): {"id": 1, "result": null, "error": {"message": "Bad object id: ''", "class": "ValueError"}}
(631)     [3] [Jun 18 13:16:38:871] [opsi-client-agent]           Error: -> {"message":"Bad object id: ''","class":"ValueError"}
(633)     [5] [Jun 18 13:16:38:943] [opsi-client-agent]     comment: call function oca_copy_files()
(636)     [4] [Jun 18 13:16:41:089] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(637)     [4] [Jun 18 13:16:41:395] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(638)     [4] [Jun 18 13:16:41:440] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(639)     [4] [Jun 18 13:16:42:130] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(640)     [4] [Jun 18 13:16:49:003] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(641)     [4] [Jun 18 13:16:49:170] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(642)     [4] [Jun 18 13:16:49:400] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(643)     [4] [Jun 18 13:16:49:533] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(644)     [4] [Jun 18 13:16:49:575] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(645)     [4] [Jun 18 13:16:49:856] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(646)     [4] [Jun 18 13:16:49:885] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(647)     [4] [Jun 18 13:16:50:030] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(648)     [4] [Jun 18 13:16:50:084] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(649)     [4] [Jun 18 13:16:50:115] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(650)     [4] [Jun 18 13:16:50:208] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(651)     [4] [Jun 18 13:16:50:608] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(652)     [4] [Jun 18 13:16:50:961] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(653)     [4] [Jun 18 13:16:51:006] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(654)     [4] [Jun 18 13:16:51:034] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(655)     [4] [Jun 18 13:16:51:067] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(656)     [4] [Jun 18 13:16:51:334] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(657)     [4] [Jun 18 13:16:51:557] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(658)     [4] [Jun 18 13:16:51:616] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(659)     [4] [Jun 18 13:16:51:814] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(660)     [4] [Jun 18 13:16:51:863] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(661)     [4] [Jun 18 13:16:51:898] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(662)     [4] [Jun 18 13:16:51:938] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(663)     [4] [Jun 18 13:16:51:968] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(664)     [4] [Jun 18 13:16:52:002] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(665)     [4] [Jun 18 13:16:52:033] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(666)     [4] [Jun 18 13:16:52:069] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(667)     [4] [Jun 18 13:16:52:100] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(668)     [4] [Jun 18 13:16:52:131] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(669)     [4] [Jun 18 13:16:52:167] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(670)     [4] [Jun 18 13:16:52:292] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(671)     [4] [Jun 18 13:16:52:441] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(672)     [4] [Jun 18 13:16:52:481] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(673)     [4] [Jun 18 13:16:52:535] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(674)     [4] [Jun 18 13:16:52:578] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(675)     [4] [Jun 18 13:16:52:895] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(676)     [4] [Jun 18 13:16:53:001] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(677)     [4] [Jun 18 13:16:53:087] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(678)     [4] [Jun 18 13:17:00:555] [opsi-client-agent]               Warning:  Target file was in use, copying should be completed after reboot.
(679)     [4] [Jun 18 13:17:03:671] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(681)     [5] [Jun 18 13:17:06:884] [opsi-client-agent]     comment: call function oca_write_configuration()
(684)     [3] [Jun 18 13:17:15:855] [opsi-client-agent]       Error: opsiclientd_register_service failed
Leider ist bei dem geringen Loglevel kein ordentliches Einordnen möglich, weil zu viele Informationen fehlen.
Wenn du denkst, dass es ein Bug ist, mach bitte ein eigenes Topic mit vollständigem Log auf.


Viele Grüße

Niko

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 10 Jul 2019, 13:46
von TheNavy
Moin zusammen,
ich habe jetzt mal das winst experimental installiert (4.12.5-1). Damit läuft der client-agent durch und funktioniert :!:
Allerdings hab ich ebenfalls Fehler im LOG:

Code: Alles auswählen

[1] [Jul 10 13:32:14:693] [opsi-client-agent] script finished: success
[1] [Jul 10 13:32:14:693] [opsi-client-agent] 4 errors
[1] [Jul 10 13:32:14:693] [opsi-client-agent] 45 warnings
Da der Client hinterher aber ohne Probleme läuft würde ich dass dann einfach mal so stehen lassen?! Oder wollt ihr ein ausführliches log dazu?

Gruß
Richard

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 22 Jul 2019, 16:00
von n.wenselowski
Ohne zu wissen was genau die angemeckerten Fehler sind, lässt sich das einfach nicht beurteilen.

Re: Client Agent 4.1.0.0-29 Setup läuft auf Fehler "%servicestr% could not be deleted from local func"

Verfasst: 19 Aug 2019, 14:59
von wolfbardo
Mit

Code: Alles auswählen

https://download.uib.de/opsi4.1/testing/packages/windows/localboot/opsi-client-agent_4.1.0.0-32.opsi
https://download.uib.de/opsi4.1/testing/packages/windows/localboot/opsi-winst_4.12.1.5-1.opsi
sollte das Problem behoben sein,

Gruss
Bardo Wolf