[Gelöst] Installation vom opsi-client-agent nicht möglich

Antworten
Benutzeravatar
D1Ck3n
Beiträge: 191
Registriert: 15 Mär 2013, 11:05

[Gelöst] Installation vom opsi-client-agent nicht möglich

Beitrag von D1Ck3n »

Hallo zusammen,

ich habe einen PC hier stehen auf dem ich den opsi-client-agent nicht installieren kann. Ich starte das service_setup.cmd und es fragt auch brav nach dem Login für den OPSI Admin und danach hängt die Installation fest und es passiert nichts mehr.

Ich habe nach dem Beenden des Setups mal in die Windows Ereignisanzeige geguckt und folgendes gefunden:

Code: Alles auswählen

Programm winst32.exe, Version 4.11.4.12 kann nicht mehr unter Windows ausgeführt werden und wurde beendet. Überprüfen Sie den Problemablauf in der Wartungscenter-Systemsteuerung um nach weiteren Informationen zum Problem zu suchen.
Prozess-ID: 1658
Startzeit: 01d1075b8ad5c582
Endzeit: 3
Anwendungspfad: c:\tmp\opsi\opsi-winst\winst32.exe
Berichts-ID:
Diesen Fehler habe ich nur bei einem Rechner (Win 7 x64). Vielleicht hat einer von euch eine Idee woran das liegen könnte.

Gruß
D1Ck3n
Zuletzt geändert von D1Ck3n am 16 Okt 2015, 17:16, insgesamt 1-mal geändert.
Gruß
D1Ck3n
Hom
Beiträge: 45
Registriert: 13 Mai 2013, 12:39

Re: Installation vom opsi-client-agent nicht möglich

Beitrag von Hom »

Morgen, wenn wir solche Fehler haben und das kam nur einmal vor, stimmte meistens irgendwas an der gesamten Windowsinstallation nicht.
Wir setzen mit dem OPSI die Kiste dann einfach neu auf.

Grüße
Hom
Benutzeravatar
D1Ck3n
Beiträge: 191
Registriert: 15 Mär 2013, 11:05

Re: Installation vom opsi-client-agent nicht möglich

Beitrag von D1Ck3n »

Hi Hom,

das tritt jetzt bei mehreren Rechnern auf. Ich verstehe nicht, warum plötzlich das Skript so mukken macht :?:

Gruß

Im Verzeichnis c:/tmp habe ich mir die Logs mal angesehen:

Code: Alles auswählen

[...]
[6] [Okt 16 16:17:21:025] ~~~~~~~ Start Sub ~~~~~~~  sub_read_configuration
[5] [Okt 16 16:17:21:037] comment: get installed gina
[5] [Okt 16 16:17:21:037] Set  $INST_AktGina$ = GetRegistryStringValueSysnative("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] GinaDLL")
[7] [Okt 16 16:17:21:037] Registry started without redirection (64 Bit)
[6] [Okt 16 16:17:21:037]   Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]  opened
[6] [Okt 16 16:17:21:037]   Variable "GinaDLL"  not found. Code: 2
[6] [Okt 16 16:17:21:037]   Variable "GinaDLL"  not found. Code: 2
[6] [Okt 16 16:17:21:037]   Key closed
[6] [Okt 16 16:17:21:037]   The value of the variable "$INST_AktGina$" is now: ""
[5] [Okt 16 16:17:21:037] comment: get nextgina to chain
[5] [Okt 16 16:17:21:037] Set  $INST_gina_to_chain$ = GetRegistryStringValueSysnative("[HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\opsi-client-agent] NextGina")
[7] [Okt 16 16:17:21:037] Registry started without redirection (64 Bit)
[6] [Okt 16 16:17:21:037]   Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\opsi-client-agent]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [Okt 16 16:17:21:037]   The value of the variable "$INST_gina_to_chain$" is now: ""
[6] [Okt 16 16:17:21:037] If
[5] [Okt 16 16:17:21:037]   $INST_gina_to_chain$ = ""   <<< result true
[6] [Okt 16 16:17:21:037] Then
[5] [Okt 16 16:17:21:038]   comment: no nextGina entry at opsi-client-agent - let us look at the old preloginloader key
[5] [Okt 16 16:17:21:038]   Set  $INST_gina_to_chain$ = GetRegistryStringValueSysnative("[HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\preloginloader] NextGina")
[7] [Okt 16 16:17:21:038]   Registry started without redirection (64 Bit)
[6] [Okt 16 16:17:21:038]     Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\preloginloader]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [Okt 16 16:17:21:038]     The value of the variable "$INST_gina_to_chain$" is now: ""
[6] [Okt 16 16:17:21:038] EndIf
[6] [Okt 16 16:17:21:038] If
[5] [Okt 16 16:17:21:038]   $INST_gina_to_chain$ = ""   <<< result true
[6] [Okt 16 16:17:21:038] Then
[5] [Okt 16 16:17:21:038]   comment: no new opsigina installed - let us look for opsi pgina installation
[5] [Okt 16 16:17:21:038]   Set  $INST_gina_to_chain$ = GetRegistryStringValueSysnative("[HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\preloginloader] pathMSGina")
[7] [Okt 16 16:17:21:038]   Registry started without redirection (64 Bit)
[6] [Okt 16 16:17:21:038]     Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\preloginloader]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [Okt 16 16:17:21:038]     The value of the variable "$INST_gina_to_chain$" is now: ""
[6] [Okt 16 16:17:21:038] EndIf
[6] [Okt 16 16:17:21:038] If
[5] [Okt 16 16:17:21:038]   $INST_gina_to_chain$ = ""   <<< result true
[6] [Okt 16 16:17:21:038] Then
[5] [Okt 16 16:17:21:038]   comment: no new opsi pgina installed - let us look for legacy opsi installation
[5] [Okt 16 16:17:21:038]   Set  $INST_old_reg_gina_installed$ = GetRegistryStringValueSysnative("[HKEY_LOCAL_MACHINE\SOFTWARE\pGina\Opsi] Installed")
[7] [Okt 16 16:17:21:039]   Registry started without redirection (64 Bit)
[6] [Okt 16 16:17:21:039]     Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\pGina\Opsi]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [Okt 16 16:17:21:039]     The value of the variable "$INST_old_reg_gina_installed$" is now: ""
[6] [Okt 16 16:17:21:039]   If
[5] [Okt 16 16:17:21:039]     $INST_old_reg_gina_installed$ = "1"   <<< result false
[6] [Okt 16 16:17:21:039]   Then
[6] [Okt 16 16:17:21:039]   EndIf
[6] [Okt 16 16:17:21:039] EndIf
[6] [Okt 16 16:17:21:039] If
[5] [Okt 16 16:17:21:039]   $INST_gina_to_chain$ = ""   <<< result true
[5] [Okt 16 16:17:21:039]   "64 Bit System" = $INST_SystemType$   <<< result true
[5] [Okt 16 16:17:21:039]   ("64 Bit System" = $INST_SystemType$)   <<< result true
[5] [Okt 16 16:17:21:039]   ($INST_gina_to_chain$ = "") and ("64 Bit System" = $INST_SystemType$)   <<< result true
[6] [Okt 16 16:17:21:039] Then
[5] [Okt 16 16:17:21:039]   comment: perhaps opsi-client-agent previously installed into wrong registry tree with 32-bit settings
[5] [Okt 16 16:17:21:039]   Set  $INST_gina_to_chain$ = GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\opsi-client-agent] NextGina")
[7] [Okt 16 16:17:21:039]   Registry started with redirection (32 Bit)
[6] [Okt 16 16:17:21:039]     Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\opsi.org\opsi-client-agent]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [Okt 16 16:17:21:039]     The value of the variable "$INST_gina_to_chain$" is now: ""
[6] [Okt 16 16:17:21:039] EndIf
[6] [Okt 16 16:17:21:039] If
[5] [Okt 16 16:17:21:039]   $INST_NTVersion$ < "6.0"   <<< result false
[6] [Okt 16 16:17:21:039] Then
[6] [Okt 16 16:17:21:039]   If
[6] [Okt 16 16:17:21:039]   Then
[6] [Okt 16 16:17:21:039]   Else
[6] [Okt 16 16:17:21:039]     If
[6] [Okt 16 16:17:21:039]     Then
[6] [Okt 16 16:17:21:039]     Else
[6] [Okt 16 16:17:21:039]       If
[6] [Okt 16 16:17:21:039]       Then
[6] [Okt 16 16:17:21:039]       Else
[6] [Okt 16 16:17:21:039]       EndIf
[6] [Okt 16 16:17:21:039]     EndIf
[6] [Okt 16 16:17:21:039]   EndIf
[6] [Okt 16 16:17:21:039] EndIf
[5] [Okt 16 16:17:21:040] Set  $GEN_bootmode$    	 = GetValueFromInifile($INST_cfgini$, "general", "bootmode", $GEN_bootmode$)
[6] [Okt 16 16:17:21:042]         reading the value to the key "bootmode" in section "general"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  "BKSTD"
[6] [Okt 16 16:17:21:042]   The value of the variable "$GEN_bootmode$" is now: "BKSTD"
[5] [Okt 16 16:17:21:042] comment: Getting dns domain from config file
[5] [Okt 16 16:17:21:042] Set  $INST_DnsDomainName$ = GetValueFromInifile($INST_cfgini$, "general", "dnsdomain", $INST_DnsDomainName$)
[6] [Okt 16 16:17:21:043]         reading the value to the key "dnsdomain" in section "general"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:043]   The value of the variable "$INST_DnsDomainName$" is now: "domain.tld"
[5] [Okt 16 16:17:21:043] comment: Getting dns domain from custom config file
[5] [Okt 16 16:17:21:043] Set  $INST_DnsDomainName$ = GetValueFromInifile($INST_custom_Cfgini$, "general", "dnsdomain", $INST_DnsDomainName$)
[6] [Okt 16 16:17:21:043]         reading the value to the key "dnsdomain" in section "general"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "domain.tld"
[6] [Okt 16 16:17:21:043]   The value of the variable "$INST_DnsDomainName$" is now: "domain.tld"
[6] [Okt 16 16:17:21:043] If
[5] [Okt 16 16:17:21:043]   $INST_DnsDomainName$ = ""   <<< result false
[5] [Okt 16 16:17:21:043]   ($INST_DnsDomainName$ = "")   <<< result false
[6] [Okt 16 16:17:21:043] Then
[6] [Okt 16 16:17:21:043] EndIf
[6] [Okt 16 16:17:21:043] LogLevel was 7
[6] [Okt 16 16:17:21:043] LogLevel set to 7
[5] [Okt 16 16:17:21:043] Set  $SHI_pckey$ = GetValueFromInifile($INST_cfgini$, "shareinfo", "pckey", "")
[6] [Okt 16 16:17:21:043]         reading the value to the key "pckey" in section "shareinfo"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:043]   The value of the variable "$SHI_pckey$" is now: "#@PCKEY#"
[6] [Okt 16 16:17:21:043] LogLevel was 7
[6] [Okt 16 16:17:21:043] LogLevel set to 7
[5] [Okt 16 16:17:21:044] comment: Getting values from from config file
[5] [Okt 16 16:17:21:044] Set  $OCD_global.log_level$ 		    = GetValueFromInifile($INST_cfgini$, "opsiclientd", "global.log_level", $OCD_global.log_level$)
[6] [Okt 16 16:17:21:044]         reading the value to the key "global.log_level" in section "opsiclientd"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:044]   The value of the variable "$OCD_global.log_level$" is now: "6"
[5] [Okt 16 16:17:21:044] Set  $OCD_config_service.url$ 		    = GetValueFromInifile($INST_cfgini$, "opsiclientd", "config_service.url", $OCD_config_service.url$)
[6] [Okt 16 16:17:21:044]         reading the value to the key "config_service.url" in section "opsiclientd"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:044]   The value of the variable "$OCD_config_service.url$" is now: "https://ip.des.opsi.servers:4447"
[5] [Okt 16 16:17:21:044] Set  $OCD_config_service.connection_timeout$ = GetValueFromInifile($INST_cfgini$, "opsiclientd", "config_service.connection_timeout", $OCD_config_service.connection_timeout$)
[6] [Okt 16 16:17:21:045]         reading the value to the key "config_service.connection_timeout" in section "opsiclientd"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  "10"
[6] [Okt 16 16:17:21:045]   The value of the variable "$OCD_config_service.connection_timeout$" is now: "30"
[5] [Okt 16 16:17:21:045] Set  $OCD_control_server.port$ 		    = GetValueFromInifile($INST_cfgini$, "opsiclientd", "control_server.port", $OCD_control_server.port$)
[6] [Okt 16 16:17:21:045]         reading the value to the key "control_server.port" in section "opsiclientd"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:045]   The value of the variable "$OCD_control_server.port$" is now: "4441"
[5] [Okt 16 16:17:21:045] Set  $OCD_notification_server.port$ 	    = GetValueFromInifile($INST_cfgini$, "opsiclientd", "notification_server.port", $OCD_notification_server.port$)
[6] [Okt 16 16:17:21:045]         reading the value to the key "notification_server.port" in section "opsiclientd"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:045]   The value of the variable "$OCD_notification_server.port$" is now: "4442"
[5] [Okt 16 16:17:21:045] Set  $OCD_open_firewall_for_control_server$  = GetValueFromInifile($INST_cfgini$, "opsiclientd", "open_firewall_for_control_server", $OCD_open_firewall_for_control_server$)
[6] [Okt 16 16:17:21:046]         reading the value to the key "open_firewall_for_control_server" in section "opsiclientd"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:046]   The value of the variable "$OCD_open_firewall_for_control_server$" is now: "1"
[5] [Okt 16 16:17:21:046] Set  $OLB_LogLevel$ 			    = GetValueFromInifile($INST_cfgini$, "opsiLoginBlocker", "LogLevel", $OLB_LogLevel$)
[6] [Okt 16 16:17:21:046]         reading the value to the key "LogLevel" in section "opsiLoginBlocker"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:046]   The value of the variable "$OLB_LogLevel$" is now: "5"
[5] [Okt 16 16:17:21:046] Set  $OLB_LoginBlockerStart$          	    = GetValueFromInifile($INST_cfgini$, "opsiLoginBlocker", "LoginBlockerStart", $OLB_LoginBlockerStart$)
[6] [Okt 16 16:17:21:046]         reading the value to the key "LoginBlockerStart" in section "opsiLoginBlocker"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  "1"
[6] [Okt 16 16:17:21:046]   The value of the variable "$OLB_LoginBlockerStart$" is now: "1"
[5] [Okt 16 16:17:21:046] Set  $OLB_LoginBlockerTimeoutConnect$	    = GetValueFromInifile($INST_cfgini$, "opsiLoginBlocker", "LoginBlockerTimeoutConnect", $OLB_LoginBlockerTimeoutConnect$)
[6] [Okt 16 16:17:21:047]         reading the value to the key "LoginBlockerTimeoutConnect" in section "opsiLoginBlocker"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  "120"
[6] [Okt 16 16:17:21:047]   The value of the variable "$OLB_LoginBlockerTimeoutConnect$" is now: "120"
[5] [Okt 16 16:17:21:047] comment: Getting values (overwrite)from from custom config file
[5] [Okt 16 16:17:21:047] Set  $OCD_global.log_level$ 		    = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "global.log_level", $OCD_global.log_level$)
[6] [Okt 16 16:17:21:047]         reading the value to the key "global.log_level" in section "opsiclientd"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "6"
[6] [Okt 16 16:17:21:047]   The value of the variable "$OCD_global.log_level$" is now: "6"
[5] [Okt 16 16:17:21:047] Set  $OCD_config_service.url$ 		    = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "config_service.url", $OCD_config_service.url$)
[6] [Okt 16 16:17:21:047]         reading the value to the key "config_service.url" in section "opsiclientd"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "https://ip.des.opsi.servers:4447"
[6] [Okt 16 16:17:21:047]   The value of the variable "$OCD_config_service.url$" is now: "https://ip.des.opsi.servers:4447"
[5] [Okt 16 16:17:21:047] Set  $OCD_config_service.connection_timeout$ = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "config_service.connection_timeout", $OCD_config_service.connection_timeout$)
[6] [Okt 16 16:17:21:048]         reading the value to the key "config_service.connection_timeout" in section "opsiclientd"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "30"
[6] [Okt 16 16:17:21:048]   The value of the variable "$OCD_config_service.connection_timeout$" is now: "30"
[5] [Okt 16 16:17:21:048] Set  $OCD_control_server.port$ 		    = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "control_server.port", $OCD_control_server.port$)
[6] [Okt 16 16:17:21:048]         reading the value to the key "control_server.port" in section "opsiclientd"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "4441"
[6] [Okt 16 16:17:21:048]   The value of the variable "$OCD_control_server.port$" is now: "4441"
[5] [Okt 16 16:17:21:048] Set  $OCD_notification_server.port$ 	    = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "notification_server.port", $OCD_notification_server.port$)
[6] [Okt 16 16:17:21:048]         reading the value to the key "notification_server.port" in section "opsiclientd"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "4442"
[6] [Okt 16 16:17:21:048]   The value of the variable "$OCD_notification_server.port$" is now: "4442"
[5] [Okt 16 16:17:21:048] Set  $OCD_open_firewall_for_control_server$  = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "open_firewall_for_control_server", $OCD_open_firewall_for_control_server$)
[6] [Okt 16 16:17:21:048]         reading the value to the key "open_firewall_for_control_server" in section "opsiclientd"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "1"
[6] [Okt 16 16:17:21:048]   The value of the variable "$OCD_open_firewall_for_control_server$" is now: "1"
[5] [Okt 16 16:17:21:048] Set  $OLB_LogLevel$ 			    = GetValueFromInifile($INST_custom_Cfgini$, "opsiLoginBlocker", "LogLevel", $OLB_LogLevel$)
[6] [Okt 16 16:17:21:049]         reading the value to the key "LogLevel" in section "opsiLoginBlocker"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "5"
[6] [Okt 16 16:17:21:049]   The value of the variable "$OLB_LogLevel$" is now: "5"
[5] [Okt 16 16:17:21:049] Set  $OLB_LoginBlockerStart$          	    = GetValueFromInifile($INST_custom_Cfgini$, "opsiLoginBlocker", "LoginBlockerStart", $OLB_LoginBlockerStart$)
[6] [Okt 16 16:17:21:049]         reading the value to the key "LoginBlockerStart" in section "opsiLoginBlocker"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "1"
[6] [Okt 16 16:17:21:049]   The value of the variable "$OLB_LoginBlockerStart$" is now: "1"
[5] [Okt 16 16:17:21:049] Set  $OLB_LoginBlockerTimeoutConnect$	    = GetValueFromInifile($INST_custom_Cfgini$, "opsiLoginBlocker", "LoginBlockerTimeoutConnect", $OLB_LoginBlockerTimeoutConnect$)
[6] [Okt 16 16:17:21:049]         reading the value to the key "LoginBlockerTimeoutConnect" in section "opsiLoginBlocker"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "120"
[6] [Okt 16 16:17:21:049]   The value of the variable "$OLB_LoginBlockerTimeoutConnect$" is now: "120"
[6] [Okt 16 16:17:21:049] If
[5] [Okt 16 16:17:21:049]   GetProductProperty ("LoginBlockerStart","") = "on"   <<< result false
[6] [Okt 16 16:17:21:049] Then
[6] [Okt 16 16:17:21:049] EndIf
[6] [Okt 16 16:17:21:049] If
[5] [Okt 16 16:17:21:050]   GetProductProperty ("LoginBlockerStart","") = "off"   <<< result false
[6] [Okt 16 16:17:21:050] Then
[6] [Okt 16 16:17:21:050] EndIf
[5] [Okt 16 16:17:21:050] comment: Getting values from from config file
[5] [Okt 16 16:17:21:050] Set  $INST_Service_User$          	= GetValueFromInifile($INST_cfgini$, "installation", "service_user", $INST_Service_User$)
[6] [Okt 16 16:17:21:050]         reading the value to the key "service_user" in section "installation"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  "pcpatch"
[6] [Okt 16 16:17:21:050]   The value of the variable "$INST_Service_User$" is now: "adminuser"
[5] [Okt 16 16:17:21:050] Set  $INST_Service_Password$      	= GetValueFromInifile($INST_cfgini$, "installation", "service_password", $INST_Service_Password$)
[6] [Okt 16 16:17:21:050]         reading the value to the key "service_password" in section "installation"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  "pcpatch"
[6] [Okt 16 16:17:21:050]   The value of the variable "$INST_Service_Password$" is now: "none"
[5] [Okt 16 16:17:21:050] Set  $INST_service_hidden_password$      	= GetValueFromInifile($INST_cfgini$, "installation", "service_hidden_password", $INST_service_hidden_password$)
[6] [Okt 16 16:17:21:051]         reading the value to the key "service_hidden_password" in section "installation"  from inifile  "c:\tmp\opsi\cfg\config.ini", default value  ""
[6] [Okt 16 16:17:21:051]   The value of the variable "$INST_service_hidden_password$" is now: ""
[5] [Okt 16 16:17:21:051] comment: Getting values (overwrite)from from custom config file
[5] [Okt 16 16:17:21:051] Set  $INST_Service_User$          	= GetValueFromInifile($INST_custom_Cfgini$, "installation", "service_user", $INST_Service_User$)
[6] [Okt 16 16:17:21:051]         reading the value to the key "service_user" in section "installation"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "adminuser"
[6] [Okt 16 16:17:21:051]   The value of the variable "$INST_Service_User$" is now: "adminuser"
[5] [Okt 16 16:17:21:051] Set  $INST_Service_Password$      	= GetValueFromInifile($INST_custom_Cfgini$, "installation", "service_password", $INST_Service_Password$)
[6] [Okt 16 16:17:21:051]         reading the value to the key "service_password" in section "installation"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  "none"
[6] [Okt 16 16:17:21:051]   The value of the variable "$INST_Service_Password$" is now: "none"
[5] [Okt 16 16:17:21:051] Set  $INST_service_hidden_password$      	= GetValueFromInifile($INST_custom_Cfgini$, "installation", "service_hidden_password", $INST_service_hidden_password$)
[6] [Okt 16 16:17:21:051]         reading the value to the key "service_hidden_password" in section "installation"  from inifile  "c:\tmp\opsi\custom\config.ini", default value  ""
[6] [Okt 16 16:17:21:051]   The value of the variable "$INST_service_hidden_password$" is now: ""
[6] [Okt 16 16:17:21:051] If
[5] [Okt 16 16:17:21:051]   $INST_service_hidden_password$ = ""   <<< result true
[5] [Okt 16 16:17:21:051]   not ($INST_service_hidden_password$ = "")   <<< result false
[6] [Okt 16 16:17:21:051] Then
[6] [Okt 16 16:17:21:052] EndIf
[6] [Okt 16 16:17:21:052] If
[6] [Okt 16 16:17:21:052]     Starting query if file exist ...
[5] [Okt 16 16:17:21:052]     "c:\tmp\opsi\cfg\sysconf.ini": 
[5] [Okt 16 16:17:21:052]   FileExists ($INST_sysconfini$)   <<< result false
[5] [Okt 16 16:17:21:052]   (FileExists ($INST_sysconfini$))   <<< result false
[6] [Okt 16 16:17:21:052] Then
[6] [Okt 16 16:17:21:052] EndIf
[6] [Okt 16 16:17:21:052] If
[5] [Okt 16 16:17:21:052]   $INST_pcname$ = ""   <<< result false
[6] [Okt 16 16:17:21:052] Then
[6] [Okt 16 16:17:21:052] EndIf
[5] [Okt 16 16:17:21:052] Set  $INST_pcname$ = lower($INST_pcname$)
[6] [Okt 16 16:17:21:052]   The value of the variable "$INST_pcname$" is now: "pc"
[5] [Okt 16 16:17:21:052] Set  $INST_pcname$ = stringReplace($INST_pcname$,"_","-")
[6] [Okt 16 16:17:21:052]   The value of the variable "$INST_pcname$" is now: "pc"
[6] [Okt 16 16:17:21:052] If
[5] [Okt 16 16:17:21:052]   $INST_DnsDomainName$ = ""   <<< result false
[5] [Okt 16 16:17:21:052]   not ($INST_DnsDomainName$ = "")   <<< result true
[6] [Okt 16 16:17:21:052] Then
[5] [Okt 16 16:17:21:052]   Set  $INST_ClientId$ = $INST_pcname$ + "." + $INST_DnsDomainName$
[6] [Okt 16 16:17:21:052]     The value of the variable "$INST_ClientId$" is now: "pc.domain.tld"
[6] [Okt 16 16:17:21:052] EndIf
[6] [Okt 16 16:17:21:052] If
[5] [Okt 16 16:17:21:052]   $GEN_bootmode$ = ""   <<< result false
[6] [Okt 16 16:17:21:052] Then
[6] [Okt 16 16:17:21:052] EndIf
[6] [Okt 16 16:17:21:052] If
[5] [Okt 16 16:17:21:053]   $INST_Modus$ = "INSTALL"   <<< result true
[6] [Okt 16 16:17:21:053] Then
[6] [Okt 16 16:17:21:053]   If
[5] [Okt 16 16:17:21:053]     $INST_SubModus$ = "BOOTIMAGE"   <<< result false
[6] [Okt 16 16:17:21:053]   Then
[6] [Okt 16 16:17:21:053]   EndIf
[6] [Okt 16 16:17:21:053]   If
[5] [Okt 16 16:17:21:053]     $INST_SubModus$ = "CREATE_CLIENT"   <<< result true
[6] [Okt 16 16:17:21:053]   Then
[6] [Okt 16 16:17:21:054]     
[6] [Okt 16 16:17:21:054]     ~~~~~~~ Start Sub ~~~~~~~  sub_sub_create_client
[6] [Okt 16 16:17:21:058]     If
[5] [Okt 16 16:17:21:058]       $OCD_config_service.url$ = ""   <<< result false
[5] [Okt 16 16:17:21:058]       ($OCD_config_service.url$ = "")   <<< result false
[6] [Okt 16 16:17:21:058]     Then
[6] [Okt 16 16:17:21:058]     EndIf
[5] [Okt 16 16:17:21:058]     comment: Connect to service.....
[5] [Okt 16 16:17:21:058]     Set  $INST_userIsAdmin$ = "false"
[6] [Okt 16 16:17:21:058]       The value of the variable "$INST_userIsAdmin$" is now: "false"
[6] [Okt 16 16:17:21:058]     Marked error number 0
[5] [Okt 16 16:17:21:061]     
[5] [Okt 16 16:17:21:061]     Execution of opsiservicecall_authenticated
[6] [Okt 16 16:17:21:061]          "method": "authenticated"
[3] [Okt 16 16:17:21:061]       Error: service not initialized
[3] [Okt 16 16:17:21:061]       Error: no connection to service
[6] [Okt 16 16:17:21:061]     If
[5] [Okt 16 16:17:21:061]       errorsOccuredSinceMark > 0   <<< result true
[6] [Okt 16 16:17:21:061]     Then
[5] [Okt 16 16:17:21:061]       Set  $INST_error$ = "true"
[6] [Okt 16 16:17:21:061]         The value of the variable "$INST_error$" is now: "true"
[5] [Okt 16 16:17:21:062]       comment: was not authenticated -> retry scripted login by default user/password
[6] [Okt 16 16:17:21:062]     Else
[6] [Okt 16 16:17:21:062]     EndIf
[6] [Okt 16 16:17:21:062]     If
[6] [Okt 16 16:17:21:062]           retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Okt 16 16:17:21:062]               
[4] [Okt 16 16:17:21:062]       Stringlist $INST_ServiceResult$) = "false") or ($INST_error$ = "true") is empty in takeString function ! Use count() before takestring() to avoid this problem.
[5] [Okt 16 16:17:21:062]       takeString(0,$INST_ServiceResult$) = "false"   <<< result false
[5] [Okt 16 16:17:21:062]       $INST_error$ = "true"   <<< result true
[5] [Okt 16 16:17:21:062]       ($INST_error$ = "true")   <<< result true
[5] [Okt 16 16:17:21:062]       (takeString(0,$INST_ServiceResult$) = "false") or ($INST_error$ = "true")   <<< result true
[6] [Okt 16 16:17:21:062]     Then
[5] [Okt 16 16:17:21:062]       comment: was not authenticated as admin-> retry scripted login by default user/password
[6] [Okt 16 16:17:21:063]       Marked error number 2
[5] [Okt 16 16:17:21:063]       Set  $INST_error$ = "false"
[6] [Okt 16 16:17:21:063]         The value of the variable "$INST_error$" is now: "false"
[6] [Okt 16 16:17:21:063]       LogLevel was 7
[6] [Okt 16 16:17:21:063]       LogLevel set to 7
[5] [Okt 16 16:17:21:066]       
[5] [Okt 16 16:17:21:066]       Execution of opsiservicecall_authenticated
[6] [Okt 16 16:17:21:066]            "method": "authenticated"
[6] [Okt 16 16:17:26:081]         JSON Bench for backend_info "params":[],"id":1} Start: 16:17:21:067 Time: 00:00:05:014
[3] [Okt 16 16:17:26:081]         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] [Okt 16 16:17:26:081]         opsi Server Version : 
[6] [Okt 16 16:17:29:204]         JSON Bench for backend_info "params":[],"id":1} Start: 16:17:26:082 Time: 00:00:03:122
[3] [Okt 16 16:17:29:204]         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"}
[3] [Okt 16 16:17:29:204]         Error: -> {"message":"Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: PAM authentication failed for user 'adminuser': ('Authentication failure', 7)","class":"OpsiAuthenticationError"}
[3] [Okt 16 16:17:29:204]         Error: no connection to service
[6] [Okt 16 16:17:29:218]       LogLevel was 7
[6] [Okt 16 16:17:29:218]       LogLevel set to 7
[6] [Okt 16 16:17:29:219]       If
[5] [Okt 16 16:17:29:220]         errorsOccuredSinceMark > 0   <<< result true
[6] [Okt 16 16:17:29:220]       Then
[5] [Okt 16 16:17:29:221]         Set  $INST_error$ = "true"
[6] [Okt 16 16:17:29:221]           The value of the variable "$INST_error$" is now: "true"
[5] [Okt 16 16:17:29:221]         comment: scripted login by default user/password failed -> retry interactive
[6] [Okt 16 16:17:29:221]       Else
[6] [Okt 16 16:17:29:221]         If
[6] [Okt 16 16:17:29:221]         Then
[6] [Okt 16 16:17:29:221]         Else
[6] [Okt 16 16:17:29:221]         EndIf
[6] [Okt 16 16:17:29:221]       EndIf
[6] [Okt 16 16:17:29:221]       If
[6] [Okt 16 16:17:29:221]             retrieving strings from $INST_ServiceResult$ [switch to loglevel 7 for debugging]
[7] [Okt 16 16:17:29:221]                 
[4] [Okt 16 16:17:29:221]         Stringlist $INST_ServiceResult$) = "false") or ($INST_error$ = "true") is empty in takeString function ! Use count() before takestring() to avoid this problem.
[5] [Okt 16 16:17:29:221]         takeString(0,$INST_ServiceResult$) = "false"   <<< result false
[5] [Okt 16 16:17:29:221]         $INST_error$ = "true"   <<< result true
[5] [Okt 16 16:17:29:221]         ($INST_error$ = "true")   <<< result true
[5] [Okt 16 16:17:29:221]         (takeString(0,$INST_ServiceResult$) = "false") or ($INST_error$ = "true")   <<< result true
[6] [Okt 16 16:17:29:221]       Then
[5] [Okt 16 16:17:29:222]         Set  $INST_error$ = "false"
[6] [Okt 16 16:17:29:222]           The value of the variable "$INST_error$" is now: "false"
[6] [Okt 16 16:17:29:222]         LogLevel was 7
[6] [Okt 16 16:17:29:222]         LogLevel set to 7
[5] [Okt 16 16:17:29:225]         
[5] [Okt 16 16:17:29:225]         Execution of opsiservicecall_authenticated
[6] [Okt 16 16:17:29:225]              "method": "authenticated"
[6] [Okt 16 16:17:45:941]           JSON Bench for backend_info "params":[],"id":1} Start: 16:17:45:381 Time: 00:00:00:560
[3] [Okt 16 16:17:45:941]           exception in StartProgramModes: [pmBatch, pmSilent]: Access violation
Könnten die letzten zwei Zeilen das Problem sein?

Code: Alles auswählen

[6] [Okt 16 16:17:45:941]           JSON Bench for backend_info "params":[],"id":1} Start: 16:17:45:381 Time: 00:00:00:560
[3] [Okt 16 16:17:45:941]           exception in StartProgramModes: [pmBatch, pmSilent]: Access violation
Gruß
D1Ck3n
Benutzeravatar
D1Ck3n
Beiträge: 191
Registriert: 15 Mär 2013, 11:05

Re: [Gelöst] Installation vom opsi-client-agent nicht möglich

Beitrag von D1Ck3n »

Die aktualisierung des opsi-client-agents hat mein Problem gelöst!!
Gruß
D1Ck3n
Antworten