Ich habe mir jetzt das Script angeschaut und versucht es zu lesen und zu verstehen
Desweiteren habe ich die opsi-client-agent.log gefunden und einen Auswertungsversuch gestartet
Wenn ich es richtig interpretiere, dann sollte das Script einen Ordner in c:\Program Files (x86)\opsi.org\opsi-client-agent anlegen, tut es aber nicht, obwohl es mit Adminrechten läuft. Es sind auch sehr viele Variablen leer (z.B.: The value of the variable "$INST_IPAddress$" is now: "") Gehört das so? Zum Schluß sind dann einige "Error: -> unexpected Result from ...." Fehler. Woran kann das liegen?
Danke
rat
1] [Jan 01 12:26:48:853] opsi-winst 4.11.4.12 started at >>
[1] [Jan 01 12:26:48:853] startmessage opsi-winst created at CentralForm.FormCreate: 01.01.2015 12:26:48
[1] [Jan 01 12:26:48:853] Loading skin from: C:\tmp\opsi\opsi-winst\winstskin
[1] [Jan 01 12:26:48:853] startmessage StartProgramModes and create log: 01.01.2015 12:26:48
[1] [Jan 01 12:26:49:692]
[1] [Jan 01 12:26:49:692] ============ Version 4.11.4.12 script "c:\tmp\opsi\setup.ins"
[1] [Jan 01 12:26:49:692] used script encoding: cp1252
[1] [Jan 01 12:26:49:692] used system encoding: cp1252
[1] [Jan 01 12:26:49:692] start: 2015-01-01 12:26:49
[1] [Jan 01 12:26:49:692] on client named "XXXX-PC"
[1] [Jan 01 12:26:49:693] loggedin user "xxx"
[1] [Jan 01 12:26:49:693] winst running as "xxx"
[1] [Jan 01 12:26:49:693] winst running with admin privileges
[1] [Jan 01 12:26:49:693] winst running in standard script mode
[1] [Jan 01 12:26:49:693] executing: "C:\tmp\opsi\opsi-winst\winst32.exe"
[1] [Jan 01 12:26:49:693] system infos:
[1] [Jan 01 12:26:49:696] 00-3A-32-F0-00-A2 - PC hardware address
[1] [Jan 01 12:26:49:696] xxxxxx.yyy.local - IP name
[1] [Jan 01 12:26:49:696] 192.168.1.32 - IP address
[1] [Jan 01 12:26:49:696] DEU - System default locale
[1] [Jan 01 12:26:49:696] MS Windows 6.1 64 Bit
[1] [Jan 01 12:26:49:696]
[6] [Jan 01 12:26:49:697] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [Jan 01 12:26:49:697] Key closed
[6] [Jan 01 12:26:49:810] opsi-winst has version 4.11.4.12, required is : >= 4.11.3.5
[5] [Jan 01 12:26:49:900] Set $LogDir$ = "C:\opsi.org\tmp"
[6] [Jan 01 12:26:49:904] The value of the variable "$LogDir$" is now: "C:\opsi.org\tmp"
[5] [Jan 01 12:26:49:904] Set $INST_Debug$ = "off"
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_Debug$" is now: "off"
[5] [Jan 01 12:26:49:904] Set $INST_AktGina$ = ""
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_AktGina$" is now: ""
[5] [Jan 01 12:26:49:904] Set $INST_service_hidden_password$ =""
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_service_hidden_password$" is now: ""
[5] [Jan 01 12:26:49:904] Set $INST_AllowReboot$ = "true"
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_AllowReboot$" is now: "true"
[5] [Jan 01 12:26:49:904] Set $INST_BaseDir$ = "C:\Program Files (x86)\opsi.org\opsi-client-agent"
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_BaseDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent"
[5] [Jan 01 12:26:49:904] Set $INST_OpsiclientdDir$ = $INST_BaseDir$+"\opsiclientd"
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_OpsiclientdDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd"
[5] [Jan 01 12:26:49:904] Set $INST_OpsiUtilitiesdDir$ = $INST_BaseDir$+"\utilities"
[6] [Jan 01 12:26:49:904] The value of the variable "$INST_OpsiUtilitiesdDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\utilities"
[5] [Jan 01 12:26:49:904] Set $INST_Cfgini$ = "c:\tmp\opsi\cfg\config.ini"
[6] [Jan 01 12:26:49:905] The value of the variable "$INST_Cfgini$" is now: "c:\tmp\opsi\cfg\config.ini"
[5] [Jan 01 12:26:49:905] Set $INST_custom_Cfgini$ = "c:\tmp\opsi\custom\config.ini"
[6] [Jan 01 12:26:49:905] The value of the variable "$INST_custom_Cfgini$" is now: "c:\tmp\opsi\custom\config.ini"
[5] [Jan 01 12:26:49:905] Set $INST_DepotServer$ = ""
[6] [Jan 01 12:26:49:905] The value of the variable "$INST_DepotServer$" is now: ""
[5] [Jan 01 12:26:49:905] Set $INST_IPAddress$ = ""
[6] [Jan 01 12:26:49:905] The value of the variable "$INST_IPAddress$" is now: ""
.............
.............
.............
[5] [Jan 01 12:26:49:977] Execution of opsiservicecall_authenticated
[6] [Jan 01 12:26:49:978] "method": "authenticated"
[6] [Jan 01 12:27:10:981] JSON Bench for backend_info "params":[],"id":1} Start: 12:26:49:978 Time: 00:00:21:003
[3] [Jan 01 12:27:10:981] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[5] [Jan 01 12:27:10:982] opsi Server Version :
[6] [Jan 01 12:27:31:984] JSON Bench for backend_info "params":[],"id":1} Start: 12:27:10:982 Time: 00:00:21:002
[3] [Jan 01 12:27:31:984] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[3] [Jan 01 12:27:31:984] Error: -> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[3] [Jan 01 12:27:31:984] Error: no connection to service
[6] [Jan 01 12:27:32:001] LogLevel was 7
[6] [Jan 01 12:27:32:002] LogLevel set to 7
[6] [Jan 01 12:27:32:002] If
[5] [Jan 01 12:27:32:006] errorsOccuredSinceMark > 0 <<< result true
[6] [Jan 01 12:27:32:006] Then
[5] [Jan 01 12:27:32:007] Set $INST_error$ = "true"
[6] [Jan 01 12:27:32:007] The value of the variable "$INST_error$" is now: "true"
[5] [Jan 01 12:27:32:008] comment: scripted login by default user/password failed -> retry interactive
[6] [Jan 01 12:27:32:008] Else
[6] [Jan 01 12:27:32:008] If
[6] [Jan 01 12:27:32:008] Then
[6] [Jan 01 12:27:32:009] Else
[6] [Jan 01 12:27:32:009] EndIf
[6] [Jan 01 12:27:32:009] EndIf
[6] [Jan 01 12:27:32:009] If
[6] [Jan 01 12:27:32:009] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Jan 01 12:27:32:009]
[4] [Jan 01 12:27:32:009] Stringlist $INST_ServiceResult$) = "false") or ($INST_error$ = "true") is empty in takeString function ! Use count() before takestring() to avoid this problem.
[5] [Jan 01 12:27:32:009] takeString(0,$INST_ServiceResult$) = "false" <<< result false
[5] [Jan 01 12:27:32:009] $INST_error$ = "true" <<< result true
[5] [Jan 01 12:27:32:009] ($INST_error$ = "true") <<< result true
[5] [Jan 01 12:27:32:009] (takeString(0,$INST_ServiceResult$) = "false") or ($INST_error$ = "true") <<< result true
[6] [Jan 01 12:27:32:009] Then
[5] [Jan 01 12:27:32:010] Set $INST_error$ = "false"
[6] [Jan 01 12:27:32:011] The value of the variable "$INST_error$" is now: "false"
[6] [Jan 01 12:27:32:012] LogLevel was 7
[6] [Jan 01 12:27:32:012] LogLevel set to 7
[5] [Jan 01 12:27:32:021]
[5] [Jan 01 12:27:32:021] Execution of opsiservicecall_authenticated
[6] [Jan 01 12:27:32:022] "method": "authenticated"
[6] [Jan 01 12:28:17:881] JSON Bench for backend_info "params":[],"id":1} Start: 12:27:56:886 Time: 00:00:20:995
[3] [Jan 01 12:28:17:881] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[5] [Jan 01 12:28:17:882] opsi Server Version :