ich versuche ein Client mit Hilfe der service_setup.cmd einzurichten. Nach dem Verbinden mit dem Netzlaufwerk und starten der Datei werden 328 Dateien und nochmal eine kopiert, dann folgt die Abfrage von Service-URL (die richtig vorgegeben ist), Benutzer und Passwort. Nach der Eingabe beendet sich das Programm mit "Installation abgeschlosen". Es wird kein Reboot ausgeführt und auch nach manuellem Reboot wird der client-agent nicht ausgeführt.
Im Configed ist der Client zu sehen.
opsi-client-agent-log:
Code: Alles auswählen
.
.
.
[6] [Aug 15 16:36:35:513] ~~~~~~~ Start Sub ~~~~~~~ sub_sub_create_client
[5] [Aug 15 16:36:35:523]
[5] [Aug 15 16:36:35:523] If
[5] [Aug 15 16:36:35:523] $OCD_config_service.url$ = "" <<< result false
[5] [Aug 15 16:36:35:523] ($OCD_config_service.url$ = "") <<< result false
[5] [Aug 15 16:36:35:523] Then
[5] [Aug 15 16:36:35:523] EndIf
[5] [Aug 15 16:36:35:523] comment: Connect to service.....
[6] [Aug 15 16:36:35:523] Marked error number 0
[5] [Aug 15 16:36:35:553]
[5] [Aug 15 16:36:35:553] Execution of opsiservicecall_authenticated
[6] [Aug 15 16:36:35:553] "method": "authenticated"
[3] [Aug 15 16:36:35:553] Error: service not initialized
[3] [Aug 15 16:36:35:553] Error: no connection to service
[5] [Aug 15 16:36:35:553]
[5] [Aug 15 16:36:35:553] If
[5] [Aug 15 16:36:35:553] errorsOccuredSinceMark > 0 <<< result true
[5] [Aug 15 16:36:35:553] Then
[5] [Aug 15 16:36:35:553]
[5] [Aug 15 16:36:35:553] Set $INST_error$ = "true"
[6] [Aug 15 16:36:35:553] The value of the variable "$INST_error$" is now: "true"
[5] [Aug 15 16:36:35:553] comment: was not authenticated -> retry scripted login by default user/password
[5] [Aug 15 16:36:35:553]
[5] [Aug 15 16:36:35:553] Else
[5] [Aug 15 16:36:35:553] EndIf
[5] [Aug 15 16:36:35:553]
[5] [Aug 15 16:36:35:553] If
[6] [Aug 15 16:36:35:553] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:35:553]
[6] [Aug 15 16:36:35:553] effective list index 0 not in bounds 0, -1
[5] [Aug 15 16:36:35:553] takeString(0,$INST_ServiceResult$) = "false" <<< result false
[5] [Aug 15 16:36:35:553] $INST_error$ = "true" <<< result true
[5] [Aug 15 16:36:35:553] ($INST_error$ = "true") <<< result true
[5] [Aug 15 16:36:35:553] (takeString(0,$INST_ServiceResult$) = "false") or ($INST_error$ = "true") <<< result true
[5] [Aug 15 16:36:35:553] Then
[5] [Aug 15 16:36:35:553] comment: was not authenticated as admin-> retry scripted login by default user/password
[6] [Aug 15 16:36:35:563] Marked error number 2
[5] [Aug 15 16:36:35:563]
[5] [Aug 15 16:36:35:563] Set $INST_error$ = "false"
[6] [Aug 15 16:36:35:563] The value of the variable "$INST_error$" is now: "false"
[1] [Aug 15 16:36:35:563] LogLevel was 7
[1] [Aug 15 16:36:35:563] LogLevel set to 7
[5] [Aug 15 16:36:35:563]
[5] [Aug 15 16:36:35:563] Execution of opsiservicecall_authenticated
[6] [Aug 15 16:36:35:563] "method": "authenticated"
[6] [Aug 15 16:36:37:776] JSON Bench for backend_info "params":[],"id":1} Start: 16:36:35:563 Time: 00:00:02:213
[3] [Aug 15 16:36:37:776] Error: retrieveJSONObject --- opsi service problem ----> {"message":"Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: PAM authentication failed for user 'adminuser': ('Authentication failure', 7)","class":"OpsiAuthenticationError"}
[6] [Aug 15 16:36:39:639] JSON Bench for getOpsiInformation_hash "params":[],"id":1} Start: 16:36:37:776 Time: 00:00:01:863
[3] [Aug 15 16:36:39:639] Error: retrieveJSONObject --- opsi service problem ----> {"message":"Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: PAM authentication failed for user 'adminuser': ('Authentication failure', 7)","class":"OpsiAuthenticationError"}
[5] [Aug 15 16:36:39:639] opsi Server Version :
[4] [Aug 15 16:36:39:639] opsi service version could not retrieved, perhaps no connection
[3] [Aug 15 16:36:39:639] Error: no connection to service
[1] [Aug 15 16:36:39:649] LogLevel was 7
[1] [Aug 15 16:36:39:649] LogLevel set to 7
[5] [Aug 15 16:36:39:649]
[5] [Aug 15 16:36:39:649] If
[5] [Aug 15 16:36:39:659] errorsOccuredSinceMark > 0 <<< result true
[5] [Aug 15 16:36:39:659] Then
[5] [Aug 15 16:36:39:659]
[5] [Aug 15 16:36:39:659] Set $INST_error$ = "true"
[6] [Aug 15 16:36:39:659] The value of the variable "$INST_error$" is now: "true"
[5] [Aug 15 16:36:39:659] comment: scripted login by default user/password failed -> retry interactive
[5] [Aug 15 16:36:39:659]
[5] [Aug 15 16:36:39:659] Else
[5] [Aug 15 16:36:39:659]
[5] [Aug 15 16:36:39:659] If
[5] [Aug 15 16:36:39:659] Then
[5] [Aug 15 16:36:39:659] EndIf
[5] [Aug 15 16:36:39:659] EndIf
[5] [Aug 15 16:36:39:659]
[5] [Aug 15 16:36:39:659] If
[6] [Aug 15 16:36:39:659] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:39:659]
[6] [Aug 15 16:36:39:659] effective list index 0 not in bounds 0, -1
[5] [Aug 15 16:36:39:659] takeString(0,$INST_ServiceResult$) = "false" <<< result false
[5] [Aug 15 16:36:39:659] $INST_error$ = "true" <<< result true
[5] [Aug 15 16:36:39:659] ($INST_error$ = "true") <<< result true
[5] [Aug 15 16:36:39:659] (takeString(0,$INST_ServiceResult$) = "false") or ($INST_error$ = "true") <<< result true
[5] [Aug 15 16:36:39:659] Then
[5] [Aug 15 16:36:39:669]
[5] [Aug 15 16:36:39:669] Set $INST_error$ = "false"
[6] [Aug 15 16:36:39:669] The value of the variable "$INST_error$" is now: "false"
[1] [Aug 15 16:36:39:669] LogLevel was 7
[1] [Aug 15 16:36:39:669] LogLevel set to 7
[5] [Aug 15 16:36:39:689]
[5] [Aug 15 16:36:39:689] Execution of opsiservicecall_authenticated
[6] [Aug 15 16:36:39:689] "method": "authenticated"
[6] [Aug 15 16:36:50:425] JSON Bench for backend_info "params":[],"id":1} Start: 16:36:50:164 Time: 00:00:00:261
[5] [Aug 15 16:36:50:425] opsi Server Version : 4.0.3.1
[6] [Aug 15 16:36:50:445] JSON service request https://192.168.2.1:4447/rpc backend_info
[6] [Aug 15 16:36:50:675] JSON Bench for backend_info "params":[],"id":1} Start: 16:36:50:445 Time: 00:00:00:230
[6] [Aug 15 16:36:50:675] JSON service request https://192.168.2.1:4447/rpc authenticated
[6] [Aug 15 16:36:50:735] JSON Bench for authenticated "params":[],"id":1} Start: 16:36:50:675 Time: 00:00:00:060
[6] [Aug 15 16:36:50:735] JSON result: true
[1] [Aug 15 16:36:50:755] LogLevel was 7
[1] [Aug 15 16:36:50:755] LogLevel set to 7
[6] [Aug 15 16:36:50:765] Marked error number 4
[5] [Aug 15 16:36:50:765]
[5] [Aug 15 16:36:50:765] Set $INST_ServiceResult$ = getReturnListFromSection('opsiservicecall_UserIsAdmin')
[5] [Aug 15 16:36:50:785]
[5] [Aug 15 16:36:50:785] Execution of opsiservicecall_UserIsAdmin
[6] [Aug 15 16:36:50:785] "method": "userIsAdmin"
[6] [Aug 15 16:36:50:785] Calling opsi service at https://192.168.2.1:4447
[6] [Aug 15 16:36:50:785] JSON service request https://192.168.2.1:4447/rpc userIsAdmin
[6] [Aug 15 16:36:50:865] JSON Bench for userIsAdmin "params":[],"id":1} Start: 16:36:50:785 Time: 00:00:00:080
[6] [Aug 15 16:36:50:865] JSON result: true
[6] [Aug 15 16:36:50:865] retrieving strings from getReturnListFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:865] (string 0)true
[7] [Aug 15 16:36:50:865]
[5] [Aug 15 16:36:50:865]
[5] [Aug 15 16:36:50:865] Set $INST_ServiceResult$ = createStringList("true")
[6] [Aug 15 16:36:50:865] retrieving strings from createStringList [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:865] (string 0)true
[7] [Aug 15 16:36:50:865]
[5] [Aug 15 16:36:50:865]
[5] [Aug 15 16:36:50:865] If
[6] [Aug 15 16:36:50:865] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:865] (string 0)true
[7] [Aug 15 16:36:50:865]
[5] [Aug 15 16:36:50:865] takeString(0,$INST_ServiceResult$) = "false" <<< result false
[5] [Aug 15 16:36:50:865] $INST_error$ = "true" <<< result false
[5] [Aug 15 16:36:50:865] ($INST_error$ = "true") <<< result false
[5] [Aug 15 16:36:50:865] (takeString(0,$INST_ServiceResult$) = "false") or ($INST_error$ = "true") <<< result false
[5] [Aug 15 16:36:50:865] Then
[5] [Aug 15 16:36:50:865] EndIf
[5] [Aug 15 16:36:50:865]
[5] [Aug 15 16:36:50:865] Else
[5] [Aug 15 16:36:50:865] EndIf
[5] [Aug 15 16:36:50:865] EndIf
[5] [Aug 15 16:36:50:865] comment: logged in as admin
[5] [Aug 15 16:36:50:865] comment: get MAC and IP for Service connection
[6] [Aug 15 16:36:50:875]
[6] [Aug 15 16:36:50:875] ~~~~~~~ Start Sub ~~~~~~~ sub_sub_try_to_get_my_mac
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_ShortServiceUrl$ = takestring(1, splitString($OCD_config_service.url$,"//"))
[6] [Aug 15 16:36:50:875] retrieving strings from splitString [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:875] (string 0)https:
[7] [Aug 15 16:36:50:875] (string 1)192.168.2.1:4447
[7] [Aug 15 16:36:50:875]
[6] [Aug 15 16:36:50:875] The value of the variable "$INST_ShortServiceUrl$" is now: "192.168.2.1:4447"
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_ConfigServerIP$ = takestring(0, splitString($INST_ShortServiceUrl$,":"))
[6] [Aug 15 16:36:50:875] retrieving strings from splitString [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:875] (string 0)192.168.2.1
[7] [Aug 15 16:36:50:875] (string 1)4447
[7] [Aug 15 16:36:50:875]
[6] [Aug 15 16:36:50:875] The value of the variable "$INST_ConfigServerIP$" is now: "192.168.2.1"
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_ConfigServerPort$ = takestring(1, splitString($INST_ShortServiceUrl$,":"))
[6] [Aug 15 16:36:50:875] retrieving strings from splitString [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:875] (string 0)192.168.2.1
[7] [Aug 15 16:36:50:875] (string 1)4447
[7] [Aug 15 16:36:50:875]
[6] [Aug 15 16:36:50:875] The value of the variable "$INST_ConfigServerPort$" is now: "4447"
[5] [Aug 15 16:36:50:875] comment: we need a IP-Number and at this time $INST_ConfigServerIP$ may also be a IP-Name
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] If
[5] [Aug 15 16:36:50:875] CompareDotSeparatedNumbers("4.11.3.6","4.11.3.2") >= "0" <<< result true
[5] [Aug 15 16:36:50:875] Then
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_ConfigServerIP$ = GetIpByName($INST_ConfigServerIP$)
[6] [Aug 15 16:36:50:875] The value of the variable "$INST_ConfigServerIP$" is now: "192.168.2.1"
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Else
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] If
[5] [Aug 15 16:36:50:875] Then
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Else
[5] [Aug 15 16:36:50:875] EndIf
[5] [Aug 15 16:36:50:875] EndIf
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] If
[5] [Aug 15 16:36:50:875] $INST_ConfigServerIP$ = "" <<< result false
[5] [Aug 15 16:36:50:875] not ($INST_ConfigServerIP$ = "") <<< result true
[5] [Aug 15 16:36:50:875] Then
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_ShortServiceUrl$ = $INST_ConfigServerIP$+":"+$INST_ConfigServerPort$
[6] [Aug 15 16:36:50:875] The value of the variable "$INST_ShortServiceUrl$" is now: "192.168.2.1:4447"
[5] [Aug 15 16:36:50:875] comment: let us try to guess the ip number by getbestinterface windows api ...
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] If
[5] [Aug 15 16:36:50:875] CompareDotSeparatedNumbers("4.11.3.6","4.11.3.2") >= "0" <<< result true
[5] [Aug 15 16:36:50:875] Then
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_IPAddress$ = GetMyIpByTarget($INST_ConfigServerIP$)
[6] [Aug 15 16:36:50:875] The value of the variable "$INST_IPAddress$" is now: "192.168.2.66"
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Else
[5] [Aug 15 16:36:50:875] EndIf
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] If
[5] [Aug 15 16:36:50:875] $INST_IPAddress$ = "" <<< result false
[5] [Aug 15 16:36:50:875] Then
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Else
[5] [Aug 15 16:36:50:875]
[5] [Aug 15 16:36:50:875] Set $INST_ServiceResult$ = getOutStreamFromSection('DosInAnIcon_WMI_running')
[5] [Aug 15 16:36:50:885]
[5] [Aug 15 16:36:50:885] 3 DosInAnIcon_WMI_running
[6] [Aug 15 16:36:50:885] c:\opsi.org\tmp\_winstbat_1.bat saved back
[6] [Aug 15 16:36:50:885] Executing "cmd.exe" /C "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [Aug 15 16:36:50:965] ExitCode 0
[6] [Aug 15 16:36:50:965]
[6] [Aug 15 16:36:50:965] output:
[6] [Aug 15 16:36:50:965] --------------
[6] [Aug 15 16:36:50:965]
[6] [Aug 15 16:36:50:965] SERVICE_NAME: Winmgmt
[6] [Aug 15 16:36:50:965] TYPE : 20 WIN32_SHARE_PROCESS
[6] [Aug 15 16:36:50:965] STATE : 4 RUNNING
[6] [Aug 15 16:36:50:965] (STOPPABLE,PAUSABLE,ACCEPTS_SHUTDOWN)
[6] [Aug 15 16:36:50:965] WIN32_EXIT_CODE : 0 (0x0)
[6] [Aug 15 16:36:50:965] SERVICE_EXIT_CODE : 0 (0x0)
[6] [Aug 15 16:36:50:965] CHECKPOINT : 0x0
[6] [Aug 15 16:36:50:965] WAIT_HINT : 0x0
[6] [Aug 15 16:36:50:965]
[6] [Aug 15 16:36:50:975] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [Aug 15 16:36:50:975] Search "c:\opsi.org\tmp\"
[6] [Aug 15 16:36:50:975] File "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [Aug 15 16:36:50:975] The file has been deleted
[6] [Aug 15 16:36:50:975] retrieving strings from getOutStreamFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:975] (string 0)
[7] [Aug 15 16:36:50:975] (string 1)SERVICE_NAME: Winmgmt
[7] [Aug 15 16:36:50:975] (string 2) TYPE : 20 WIN32_SHARE_PROCESS
[7] [Aug 15 16:36:50:975] (string 3) STATE : 4 RUNNING
[7] [Aug 15 16:36:50:975] (string 4) (STOPPABLE,PAUSABLE,ACCEPTS_SHUTDOWN)
[7] [Aug 15 16:36:50:975] (string 5) WIN32_EXIT_CODE : 0 (0x0)
[7] [Aug 15 16:36:50:975] (string 6) SERVICE_EXIT_CODE : 0 (0x0)
[7] [Aug 15 16:36:50:975] (string 7) CHECKPOINT : 0x0
[7] [Aug 15 16:36:50:975] (string 8) WAIT_HINT : 0x0
[7] [Aug 15 16:36:50:975]
[5] [Aug 15 16:36:50:975]
[5] [Aug 15 16:36:50:975] If
[6] [Aug 15 16:36:50:985] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:50:985] (string 0)
[7] [Aug 15 16:36:50:985] (string 1)SERVICE_NAME: Winmgmt
[7] [Aug 15 16:36:50:985] (string 2) TYPE : 20 WIN32_SHARE_PROCESS
[7] [Aug 15 16:36:50:985] (string 3) STATE : 4 RUNNING
[7] [Aug 15 16:36:50:985] (string 4) (STOPPABLE,PAUSABLE,ACCEPTS_SHUTDOWN)
[7] [Aug 15 16:36:50:985] (string 5) WIN32_EXIT_CODE : 0 (0x0)
[7] [Aug 15 16:36:50:985] (string 6) SERVICE_EXIT_CODE : 0 (0x0)
[7] [Aug 15 16:36:50:985] (string 7) CHECKPOINT : 0x0
[7] [Aug 15 16:36:50:985] (string 8) WAIT_HINT : 0x0
[7] [Aug 15 16:36:50:985]
[5] [Aug 15 16:36:50:985] "" = takeFirstStringContaining($INST_ServiceResult$,"RUNNING") <<< result false
[5] [Aug 15 16:36:50:985] GetMsVersionInfo >= "5.1" <<< result true
[5] [Aug 15 16:36:50:985] (GetMsVersionInfo >= "5.1") <<< result true
[5] [Aug 15 16:36:50:985] ("" = takeFirstStringContaining($INST_ServiceResult$,"RUNNING")) and (GetMsVersionInfo >= "5.1") <<< result false
[5] [Aug 15 16:36:50:985] Then
[5] [Aug 15 16:36:50:985]
[5] [Aug 15 16:36:50:985] Else
[5] [Aug 15 16:36:50:985] comment: WMI is running or we are at win2k and we only hope that it is running
[5] [Aug 15 16:36:50:985]
[5] [Aug 15 16:36:50:985] Set $INST_ServiceResult$ = getOutStreamFromSection('DosInAnIcon_getMac_by_exe')
[5] [Aug 15 16:36:50:985]
[5] [Aug 15 16:36:50:985] 3 DosInAnIcon_getMac_by_exe
[6] [Aug 15 16:36:50:985] c:\opsi.org\tmp\_winstbat_2.bat saved back
[6] [Aug 15 16:36:50:985] Executing "cmd.exe" /C "c:\opsi.org\tmp\_winstbat_2.bat"
[6] [Aug 15 16:36:51:436] ExitCode 0
[6] [Aug 15 16:36:51:436]
[6] [Aug 15 16:36:51:436] output:
[6] [Aug 15 16:36:51:436] --------------
[6] [Aug 15 16:36:51:436] 192.168.2.66 00:11:43:6C:B3:D7
[6] [Aug 15 16:36:51:436] 0.0.0.0 00:16:6F:2A:F2:CE
[6] [Aug 15 16:36:51:436]
[6] [Aug 15 16:36:51:436] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [Aug 15 16:36:51:436] Search "c:\opsi.org\tmp\"
[6] [Aug 15 16:36:51:436] File "c:\opsi.org\tmp\_winstbat_2.bat"
[6] [Aug 15 16:36:51:436] The file has been deleted
[6] [Aug 15 16:36:51:436] retrieving strings from getOutStreamFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:436] (string 0)192.168.2.66 00:11:43:6C:B3:D7
[7] [Aug 15 16:36:51:436] (string 1)0.0.0.0 00:16:6F:2A:F2:CE
[7] [Aug 15 16:36:51:436]
[5] [Aug 15 16:36:51:436]
[5] [Aug 15 16:36:51:436] Set $INST_MAC$ = lower(takestring(1, splitStringOnWhiteSpace(takeFirstStringContaining($INST_ServiceResult$,$INST_IPAddress$))))
[6] [Aug 15 16:36:51:446] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:446] (string 0)192.168.2.66 00:11:43:6C:B3:D7
[7] [Aug 15 16:36:51:446] (string 1)0.0.0.0 00:16:6F:2A:F2:CE
[7] [Aug 15 16:36:51:446]
[6] [Aug 15 16:36:51:446] retrieving strings from splitStringOnWhiteSpace [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:446] (string 0)192.168.2.66
[7] [Aug 15 16:36:51:446] (string 1)00:11:43:6C:B3:D7
[7] [Aug 15 16:36:51:446]
[6] [Aug 15 16:36:51:446] The value of the variable "$INST_MAC$" is now: "00:11:43:6c:b3:d7"
[5] [Aug 15 16:36:51:446]
[5] [Aug 15 16:36:51:446] If
[5] [Aug 15 16:36:51:446] $INST_MAC$ = "" <<< result false
[5] [Aug 15 16:36:51:446] Then
[5] [Aug 15 16:36:51:446] EndIf
[5] [Aug 15 16:36:51:446] EndIf
[5] [Aug 15 16:36:51:446] EndIf
[5] [Aug 15 16:36:51:446] EndIf
[6] [Aug 15 16:36:51:446]
[6] [Aug 15 16:36:51:446] ~~~~~~~ End Sub ~~~~~~~ sub_sub_try_to_get_my_mac
[6] [Aug 15 16:36:51:446]
[5] [Aug 15 16:36:51:446]
[5] [Aug 15 16:36:51:446] If
[5] [Aug 15 16:36:51:446] $INST_DnsDomainName$ = "" <<< result false
[5] [Aug 15 16:36:51:446] ($INST_DnsDomainName$ = "") <<< result false
[5] [Aug 15 16:36:51:446] Then
[5] [Aug 15 16:36:51:446] EndIf
[5] [Aug 15 16:36:51:456] comment: *** does the client exist? ***
[5] [Aug 15 16:36:51:466]
[5] [Aug 15 16:36:51:466] Set $INST_pcname$ = lower($INST_pcname$)
[6] [Aug 15 16:36:51:466] The value of the variable "$INST_pcname$" is now: "laptop"
[5] [Aug 15 16:36:51:476]
[5] [Aug 15 16:36:51:476] Set $INST_ClientId$ = $INST_pcname$ + "." + $INST_DnsDomainName$
[6] [Aug 15 16:36:51:476] The value of the variable "$INST_ClientId$" is now: "laptop.xxx.de"
[5] [Aug 15 16:36:51:476]
[5] [Aug 15 16:36:51:476] If
[5] [Aug 15 16:36:51:476] $SHI_pckey$ = "" <<< result false
[5] [Aug 15 16:36:51:476] $SHI_pckey$ = "#@PCKEY#" <<< result true
[5] [Aug 15 16:36:51:476] ($SHI_pckey$ = "#@PCKEY#") <<< result true
[5] [Aug 15 16:36:51:476] ($SHI_pckey$ = "") or ($SHI_pckey$ = "#@PCKEY#") <<< result true
[5] [Aug 15 16:36:51:476] (($SHI_pckey$ = "") or ($SHI_pckey$ = "#@PCKEY#")) <<< result true
[5] [Aug 15 16:36:51:476] Then
[1] [Aug 15 16:36:51:496] LogLevel was 7
[1] [Aug 15 16:36:51:496] LogLevel set to 7
[5] [Aug 15 16:36:51:506]
[5] [Aug 15 16:36:51:506] Set $SHI_pckey$ = createNewOpsiHostKey
[6] [Aug 15 16:36:51:506] The value of the variable "$SHI_pckey$" is now: "349b8a9a271a87f97a50eee409d04dcc"
[1] [Aug 15 16:36:51:516] LogLevel was 7
[1] [Aug 15 16:36:51:516] LogLevel set to 7
[5] [Aug 15 16:36:51:516] EndIf
[5] [Aug 15 16:36:51:516]
[5] [Aug 15 16:36:51:516] If
[5] [Aug 15 16:36:51:526]
[5] [Aug 15 16:36:51:526] Execution of opsiservicecall_host_getIdents_for_clientId
[6] [Aug 15 16:36:51:526] "method": "host_getIdents"
[6] [Aug 15 16:36:51:526] Calling opsi service at https://192.168.2.1:4447
[6] [Aug 15 16:36:51:526] JSON service request https://192.168.2.1:4447/rpc host_getIdents
[6] [Aug 15 16:36:51:606] JSON Bench for host_getIdents "params":["[]",{"id":"laptop.xxx.de"}],"id":1} Start: 16:36:51:526 Time: 00:00:00:080
[6] [Aug 15 16:36:51:606] JSON result: []
[6] [Aug 15 16:36:51:606] retrieving strings from getReturnListFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:606] (string 0)[]
[7] [Aug 15 16:36:51:606]
[5] [Aug 15 16:36:51:606] "" = takeFirstStringContaining(getReturnListFromSection('opsiservicecall_host_getIdents_for_clientId'), $INST_ClientId$) <<< result true
[5] [Aug 15 16:36:51:606] ("" = takeFirstStringContaining(getReturnListFromSection('opsiservicecall_host_getIdents_for_clientId'), $INST_ClientId$)) <<< result true
[5] [Aug 15 16:36:51:606] Then
[5] [Aug 15 16:36:51:616] comment: *** Create client ***
[5] [Aug 15 16:36:51:626]
[5] [Aug 15 16:36:51:626] Set $INST_ServiceResult$ = getReturnListFromSection('opsiservicecall_createClient')
[5] [Aug 15 16:36:51:636]
[5] [Aug 15 16:36:51:636] Execution of opsiservicecall_createClient
[6] [Aug 15 16:36:51:636] "method": "host_createOpsiClient"
[6] [Aug 15 16:36:51:636] Calling opsi service at https://192.168.2.1:4447
[6] [Aug 15 16:36:51:636] JSON service request https://192.168.2.1:4447/rpc host_createOpsiClient
[6] [Aug 15 16:36:51:697] JSON Bench for host_createOpsiClient "params":["laptop.xxx.de","349b8a9a271a87f97a5 Start: 16:36:51:636 Time: 00:00:00:061
[6] [Aug 15 16:36:51:697] JSON result: []
[6] [Aug 15 16:36:51:697] retrieving strings from getReturnListFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:697] (string 0)[]
[7] [Aug 15 16:36:51:697]
[5] [Aug 15 16:36:51:697]
[5] [Aug 15 16:36:51:697] Else
[5] [Aug 15 16:36:51:707] EndIf
[5] [Aug 15 16:36:51:717]
[5] [Aug 15 16:36:51:717] Set $INST_ServiceResult$ = getReturnListFromSection('opsiservicecall_getNetworkconfig_hash')
[5] [Aug 15 16:36:51:727]
[5] [Aug 15 16:36:51:727] Execution of opsiservicecall_getNetworkconfig_hash
[6] [Aug 15 16:36:51:727] "method": "getNetworkConfig_hash"
[6] [Aug 15 16:36:51:727] Calling opsi service at https://192.168.2.1:4447
[6] [Aug 15 16:36:51:727] JSON service request https://192.168.2.1:4447/rpc getNetworkConfig_hash
[6] [Aug 15 16:36:51:877] JSON Bench for getNetworkConfig_hash "params":["laptop.xxx.de"],"id":1} Start: 16:36:51:727 Time: 00:00:00:150
[6] [Aug 15 16:36:51:877] JSON result: winDomain=xxx.DE, winDomain=xxx.DE, nextBootServerType=service, utilsUrl=smb://srv01.xxx.de/opsi_depot, opsiServer=srv01.xxx.de, utilsDrive=p:, depotDrive=p:, depotUrl=smb://srv01.xxx.de/opsi_depot, configUrl=smb://srv01.xxx.de/opsi_depot, depotId=srv01.xxx.de, configDrive=p:, nextBootServiceURL=https://192.168.2.1:4447/rpc
[6] [Aug 15 16:36:51:877] retrieving strings from getReturnListFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:877] (string 0)winDomain=xxx.DE
[7] [Aug 15 16:36:51:877] (string 1)nextBootServerType=service
[7] [Aug 15 16:36:51:877] (string 2)utilsUrl=smb://srv01.xxx.de/opsi_depot
[7] [Aug 15 16:36:51:877] (string 3)opsiServer=srv01.xxx.de
[7] [Aug 15 16:36:51:877] (string 4)utilsDrive=p:
[7] [Aug 15 16:36:51:877] (string 5)depotDrive=p:
[7] [Aug 15 16:36:51:877] (string 6)depotUrl=smb://srv01.xxx.de/opsi_depot
[7] [Aug 15 16:36:51:877] (string 7)configUrl=smb://srv01.xxx.de/opsi_depot
[7] [Aug 15 16:36:51:877] (string 8)depotId=srv01.xxx.de
[7] [Aug 15 16:36:51:877] (string 9)configDrive=p:
[7] [Aug 15 16:36:51:877] (string 10)nextBootServiceURL=https://192.168.2.1:4447/rpc
[7] [Aug 15 16:36:51:877]
[5] [Aug 15 16:36:51:897]
[5] [Aug 15 16:36:51:897] Set $OCD_config_service.url$ = takestring(1, splitString(takeFirstStringContaining($INST_ServiceResult$,"nextBootServiceURL"), '='))
[6] [Aug 15 16:36:51:897] retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:897] (string 0)winDomain=xxx.DE
[7] [Aug 15 16:36:51:897] (string 1)nextBootServerType=service
[7] [Aug 15 16:36:51:897] (string 2)utilsUrl=smb://srv01.xxx.de/opsi_depot
[7] [Aug 15 16:36:51:897] (string 3)opsiServer=srv01.xxx.de
[7] [Aug 15 16:36:51:897] (string 4)utilsDrive=p:
[7] [Aug 15 16:36:51:897] (string 5)depotDrive=p:
[7] [Aug 15 16:36:51:897] (string 6)depotUrl=smb://srv01.xxx.de/opsi_depot
[7] [Aug 15 16:36:51:897] (string 7)configUrl=smb://srv01.xxx.de/opsi_depot
[7] [Aug 15 16:36:51:897] (string 8)depotId=srv01.xxx.de
[7] [Aug 15 16:36:51:897] (string 9)configDrive=p:
[7] [Aug 15 16:36:51:897] (string 10)nextBootServiceURL=https://192.168.2.1:4447/rpc
[7] [Aug 15 16:36:51:897]
[6] [Aug 15 16:36:51:897] retrieving strings from splitString [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:897] (string 0)nextBootServiceURL
[7] [Aug 15 16:36:51:897] (string 1)https://192.168.2.1:4447/rpc
[7] [Aug 15 16:36:51:897]
[6] [Aug 15 16:36:51:897] The value of the variable "$OCD_config_service.url$" is now: "https://192.168.2.1:4447/rpc"
[5] [Aug 15 16:36:51:897]
[5] [Aug 15 16:36:51:897] If
[5] [Aug 15 16:36:51:897] $OCD_config_service.url$ = "" <<< result false
[5] [Aug 15 16:36:51:897] Then
[5] [Aug 15 16:36:51:907] EndIf
[5] [Aug 15 16:36:51:917]
[5] [Aug 15 16:36:51:917] Set $INST_ServiceResult$ = getReturnListFromSection('opsiservicecall_close_session')
[5] [Aug 15 16:36:51:927]
[5] [Aug 15 16:36:51:927] Execution of opsiservicecall_close_session
[6] [Aug 15 16:36:51:937] "method": "backend_exit"
[6] [Aug 15 16:36:51:937] Calling opsi service at https://192.168.2.1:4447
[6] [Aug 15 16:36:51:937] JSON service request https://192.168.2.1:4447/rpc backend_exit
[6] [Aug 15 16:36:51:997] JSON Bench for backend_exit "params":[],"id":1} Start: 16:36:51:937 Time: 00:00:00:060
[6] [Aug 15 16:36:51:997] JSON result:
[6] [Aug 15 16:36:51:997] retrieving strings from getReturnListFromSection [switch to loglevel 7 for debugging]
[7] [Aug 15 16:36:51:997] (string 0)
[7] [Aug 15 16:36:51:997]
[5] [Aug 15 16:36:52:017] comment: after creation use host/key autheticated service
[6] [Aug 15 16:36:52:037] Marked error number 4
[1] [Aug 15 16:36:52:047] LogLevel was 7
[1] [Aug 15 16:36:52:047] LogLevel set to 7
[5] [Aug 15 16:36:52:057]
[5] [Aug 15 16:36:52:057] Execution of opsiservicecall_authenticated
[4] [Aug 15 16:36:52:057] Warning: Existing service connection will be reopend. This may cause critical errors. Do not do this, if you are not really shure what you doing.
[6] [Aug 15 16:36:52:057] "method": "authenticated"
[6] [Aug 15 16:36:52:277] JSON Bench for backend_info "params":[],"id":1} Start: 16:36:52:057 Time: 00:00:00:220
[3] [Aug 15 16:36:52:277] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[6] [Aug 15 16:36:52:498] JSON Bench for getOpsiInformation_hash "params":[],"id":1} Start: 16:36:52:277 Time: 00:00:00:221
[3] [Aug 15 16:36:52:498] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[5] [Aug 15 16:36:52:498] opsi Server Version :
[4] [Aug 15 16:36:52:498] opsi service version could not retrieved, perhaps no connection
[6] [Aug 15 16:36:52:498] JSON service request https://192.168.2.1:4447/rpc authenticated
[6] [Aug 15 16:36:52:718] JSON Bench for authenticated "params":[],"id":1} Start: 16:36:52:498 Time: 00:00:00:220
[6] [Aug 15 16:36:52:718] JSON result: true
[5] [Aug 15 16:36:52:728]
[5] [Aug 15 16:36:52:728] If
[5] [Aug 15 16:36:52:738] errorsOccuredSinceMark > 0 <<< result true
[5] [Aug 15 16:36:52:738] Then
[6] [Aug 15 16:36:52:738] Marked error number 5
[5] [Aug 15 16:36:52:738] comment: scripted login by client id / hostkey failed -> we don't retry
[5] [Aug 15 16:36:52:738] comment: giving up
[5] [Aug 15 16:36:52:748]
[5] [Aug 15 16:36:52:748] Set $INST_Authenticated$ = "false"
[6] [Aug 15 16:36:52:748] The value of the variable "$INST_Authenticated$" is now: "false"
[5] [Aug 15 16:36:52:748] Error level set to fatal
[5] [Aug 15 16:36:52:748] Process aborted
[6] [Aug 15 16:36:52:748]
[6] [Aug 15 16:36:52:748] ~~~~~~~ End Sub ~~~~~~~ sub_sub_create_client
[6] [Aug 15 16:36:52:748]
[5] [Aug 15 16:36:52:748] Process aborted
[6] [Aug 15 16:36:52:748]
[6] [Aug 15 16:36:52:748] ~~~~~~~ End Sub ~~~~~~~ sub_read_configuration
[6] [Aug 15 16:36:52:748]
[5] [Aug 15 16:36:52:748] Process aborted
[1] [Aug 15 16:36:52:748] ___________________
[1] [Aug 15 16:36:52:748] script finished
[1] [Aug 15 16:36:52:748] 5 errors
[1] [Aug 15 16:36:52:748] 3 warnings
[1] [Aug 15 16:36:52:748]
[1] [Aug 15 16:36:52:748]
[6] [Aug 15 16:36:52:748] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [Aug 15 16:36:52:748] Search "c:\opsi.org\tmp\"
[1] [Aug 15 16:36:52:748] ============ opsi-winst Version 4.11.3.6 WIN32 is regularly exiting. Time 2013-08-15 16:36:52 .
Code: Alles auswählen
[3] [Aug 15 16:36:52:277] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
[6] [Aug 15 16:36:52:498] JSON Bench for getOpsiInformation_hash "params":[],"id":1} Start: 16:36:52:277 Time: 00:00:00:221
[3] [Aug 15 16:36:52:498] Error: retrieveJSONObject --- opsi service problem ----> unexpected Result from webservice in retrieveJSONObject, number of lines: 0
Viele Grüße
Udo