Installation opsi-client-agent schlägt fehl

Antworten
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

Moin,

wir haben immer mal wieder Probleme den opsi-client-agent auf Geräten zu installieren.
In der Regel war es oft der Defender der angeschagen hat, es gab da in der Ausgabe bei der Installation entsprechende Fehlermeldungen.

Ich meine seit einem der letzten Paket Updates (noch 4.1) erhalte ich aber oft eine Ausgabe es hätte geklappt:

Code: Alles auswählen

ADMIN@ph-opsi:~$ /var/lib/opsi/depot/opsi-client-agent/opsi-deploy-client-agent -u 'peiker-holding.de\ADMIN' -c pcee-nb020.peiker-holding.de -vv
Password is required for deployment.
Password: 
[6] [2021-06-16 09:15:18.232] [               ] Deploying to Windows.   (__init__.py:117)
[6] [2021-06-16 09:15:18.242] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:174)
[6] [2021-06-16 09:15:18.244] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-06-16 09:15:18.245] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:75)
[6] [2021-06-16 09:15:18.247] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:137)
[6] [2021-06-16 09:15:18.493] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-06-16 09:15:18.509] [               ] Connecting to mysql://opsi:opsi@localhost/opsi   (MySQL.py:152)
[6] [2021-06-16 09:15:18.553] [               ] Opsi modules file '/etc/opsi/modules' not found   (Backend.py:428)
[6] [2021-06-16 09:15:18.553] [               ] Missing important information about modules. Probably no modules file installed.   (MySQL.py:318)
[6] [2021-06-16 09:15:18.553] [               ] Loading backend config '/etc/opsi/backends/file.conf'   (Dispatcher.py:137)
[6] [2021-06-16 09:15:18.558] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-06-16 09:15:18.560] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:137)
[6] [2021-06-16 09:15:18.569] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-06-16 09:15:18.569] [               ] Dispatcher backends: ['mysql', 'file', 'opsipxeconfd']   (Dispatcher.py:158)
[3] [2021-06-16 09:15:18.777] [               ] Failed to set network address '10.0.1.24/255.255.255.0' for depot ph-opsi.peiker-holding.de: 10.0.1.24/24 has host bits set   (Object.py:756)
[3] [2021-06-16 09:15:18.778] [               ] Failed to set network address '10.0.1.24/255.255.255.0' for depot ph-opsi.peiker-holding.de: 10.0.1.24/24 has host bits set   (Object.py:756)
[3] [2021-06-16 09:15:18.861] [               ] Failed to set network address '10.0.1.24/255.255.255.0' for depot ph-opsi.peiker-holding.de: 10.0.1.24/24 has host bits set   (Object.py:756)
[3] [2021-06-16 09:15:18.862] [               ] Failed to set network address '10.0.1.24/255.255.255.0' for depot ph-opsi.peiker-holding.de: 10.0.1.24/24 has host bits set   (Object.py:756)
[6] [2021-06-16 09:15:18.873] [               ] * BackendManager is creating ExtendedConfigDataBackend   (_Manager.py:179)
[6] [2021-06-16 09:15:18.874] [               ] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)>   (Extended.py:108)
[6] [2021-06-16 09:15:18.950] [               ] Got hostId pcee-nb020.peiker-holding.de   (windows.py:218)
[5] [2021-06-16 09:15:18.978] [               ] Starting deployment to host pcee-nb020.peiker-holding.de   (windows.py:99)
[5] [2021-06-16 09:15:18.979] [               ] Querying for ip address of host pcee-nb020.peiker-holding.de   (common.py:158)
[6] [2021-06-16 09:15:18.979] [               ] Getting host pcee-nb020.peiker-holding.de by name   (common.py:160)
[5] [2021-06-16 09:15:18.981] [               ] Got ip address 10.0.65.105 from syscall   (common.py:167)
[5] [2021-06-16 09:15:18.981] [               ] Pinging host 10.0.65.105 ...   (common.py:183)
[6] [2021-06-16 09:15:18.982] [               ] Executing: ping -q -c2 10.0.65.105   (Posix.py:912)
[6] [2021-06-16 09:15:18.989] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-06-16 09:15:20.004] [               ] Host 10.0.65.105 is up   (common.py:194)
[5] [2021-06-16 09:15:20.065] [               ] Testing winexe   (windows.py:222)
[6] [2021-06-16 09:15:20.075] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-06-16 09:15:20.082] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-06-16 09:15:20.095] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-06-16 09:15:20.096] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORT' //pcee-nb020.peiker-holding.de 'cmd.exe /C "del /s /q c:\\tmp\\opsi-client-agent_inst && rmdir /s /q c:\\tmp\\opsi-client-agent_inst || echo not found"'   (Posix.py:912)
[6] [2021-06-16 09:15:20.102] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-06-16 09:15:21.221] [               ] Patching config.ini   (windows.py:103)
[6] [2021-06-16 09:15:21.222] [               ] Copying from 'files/opsi/cfg/config.ini' to '/tmp/qAMfP5EotQ_config.ini'   (__init__.py:267)
[6] [2021-06-16 09:15:21.224] [               ] Copy done   (__init__.py:275)
[5] [2021-06-16 09:15:21.229] [               ] Copying installation files   (windows.py:117)
[6] [2021-06-16 09:15:21.230] [               ] Executing: /usr/bin/smbclient -m SMB3 -d 9 //pcee-nb020.peiker-holding.de/c$ -U 'peiker-holding.de\ADMIN%PASSWORT' -c 'prompt; recurse; md tmp; cd tmp; md opsi-client-agent_inst; cd opsi-client-agent_inst; mput files; mput utils; cd files\opsi\cfg; lcd /tmp; put qAMfP5EotQ_config.ini config.ini; exit;'   (Posix.py:912)
[6] [2021-06-16 09:15:21.238] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-06-16 09:15:57.939] [               ] Installing opsi-client-agent   (windows.py:128)
[6] [2021-06-16 09:15:57.940] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-06-16 09:15:57.947] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-06-16 09:15:57.959] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-06-16 09:15:57.960] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORT' //pcee-nb020.peiker-holding.de 'c:\\tmp\\opsi-client-agent_inst\\files\\opsi\\opsi-winst\\winst32.exe /batch c:\\tmp\\opsi-client-agent_inst\\files\\opsi\\setup.opsiscript c:\\tmp\\opsi-client-agent.log /PARAMETER REMOTEDEPLOY'   (Posix.py:912)
[6] [2021-06-16 09:15:57.966] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-06-16 09:16:01.479] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-06-16 09:16:01.486] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-06-16 09:16:01.496] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-06-16 09:16:01.497] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORT' //pcee-nb020.peiker-holding.de 'cmd.exe /C "del /s /q c:\\tmp\\opsi-client-agent_inst && rmdir /s /q c:\\tmp\\opsi-client-agent_inst"'   (Posix.py:912)
[6] [2021-06-16 09:16:01.503] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-06-16 09:16:02.070] [               ] opsi-client-agent successfully installed on pcee-nb020.peiker-holding.de   (windows.py:155)
[6] [2021-06-16 09:16:02.072] [               ] Updating productOnClient <ProductOnClient(clientId='pcee-nb020.peiker-holding.de', productId='opsi-client-agent', installationStatus='installed', actionRequest=None)>   (Extended.py:1835)
[6] [2021-06-16 09:16:02.105] [               ] ProductOnClient <ProductOnClient(clientId='pcee-nb020.peiker-holding.de', productId='opsi-client-agent', installationStatus='installed', actionRequest=None)> exists, updating   (Extended.py:1840)
[6] [2021-06-16 09:16:02.142] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-06-16 09:16:02.150] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-06-16 09:16:02.162] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-06-16 09:16:02.163] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORT' //pcee-nb020.peiker-holding.de 'net start opsiclientd'   (Posix.py:912)
[6] [2021-06-16 09:16:02.169] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-06-16 09:16:04.505] [               ] 1/1 deployments successfully   (__init__.py:210)
Aber auf dem Gerät ist der Client nicht installiert. Auf dem Client gibt es den Ordner C:\opsi.org aber fast ohne Inhalt. Im ordner log gibt es ein leeres log: vc_redis.msi und unter tmp drei batch scripte.

Installiere ich über cmd -> net use (....) und service_setup hat es auf den Problemkisten funktioniert. Auf der aktuellen Problemkiste läuft Win 10 20H2.
In einer VM lief alles reibungslos durch.

Grüße

Gregor

PS ach ja, natürlich ist da eine Fehlermeldung, aber die habe ich auch bei positiven Installationen.
PPS Taucht das Passwort nur in der Ausgabe von -vv auf? Ich hoffe doch,...
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Re: Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

Moin,

zwar habe ich jetzt auch schon mal wieder den opsi client agent erfolgreich verteilt, ich dachte das liegt am erfolgreichen Update auf die 4.2, aber gerade wieder das Problem an 3 neuen Laptops (hier nur von einem Gerät):

Code: Alles auswählen

ADMIN@ph-opsi:~$ /var/lib/opsi/depot/opsi-client-agent/opsi-deploy-client-agent -u 'peiker-holding.de\ADMIN' -c pcee-nb033.peiker-holding.de  -vv                                                     
Password is required for deployment.
Password: 
[6] [2021-07-20 13:20:50.020] [               ] Deploying to Windows.   (__init__.py:117)
[6] [2021-07-20 13:20:50.030] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:174)
[6] [2021-07-20 13:20:50.032] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-07-20 13:20:50.033] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:75)
[6] [2021-07-20 13:20:50.035] [               ] Loading backend config '/etc/opsi/backends/file.conf'   (Dispatcher.py:137)
[6] [2021-07-20 13:20:50.043] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-07-20 13:20:50.049] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:137)
[6] [2021-07-20 13:20:50.321] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-07-20 13:20:50.335] [               ] Connecting to mysql://opsi:opsi@localhost/opsi   (MySQL.py:152)
[6] [2021-07-20 13:20:50.377] [               ] Opsi modules file '/etc/opsi/modules' not found   (Backend.py:428)
[6] [2021-07-20 13:20:50.377] [               ] Missing important information about modules. Probably no modules file installed.   (MySQL.py:318)
[6] [2021-07-20 13:20:50.378] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:137)
[6] [2021-07-20 13:20:50.382] [               ] Backend context was set to <BackendManager()>   (Backend.py:197)
[6] [2021-07-20 13:20:50.382] [               ] Dispatcher backends: ['file', 'mysql', 'opsipxeconfd']   (Dispatcher.py:158)
[6] [2021-07-20 13:20:50.578] [               ] * BackendManager is creating ExtendedConfigDataBackend   (_Manager.py:179)
[6] [2021-07-20 13:20:50.578] [               ] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)>   (Extended.py:108)
[6] [2021-07-20 13:20:50.655] [               ] Got hostId pcee-nb033.peiker-holding.de   (windows.py:218)
[5] [2021-07-20 13:20:50.683] [               ] Starting deployment to host pcee-nb033.peiker-holding.de   (windows.py:99)
[5] [2021-07-20 13:20:50.683] [               ] Querying for ip address of host pcee-nb033.peiker-holding.de   (common.py:158)
[6] [2021-07-20 13:20:50.684] [               ] Getting host pcee-nb033.peiker-holding.de by name   (common.py:160)
[5] [2021-07-20 13:20:50.686] [               ] Got ip address 10.0.65.133 from syscall   (common.py:167)
[5] [2021-07-20 13:20:50.687] [               ] Pinging host 10.0.65.133 ...   (common.py:183)
[6] [2021-07-20 13:20:50.688] [               ] Executing: ping -q -c2 10.0.65.133   (Posix.py:912)
[6] [2021-07-20 13:20:50.695] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-07-20 13:20:51.709] [               ] Host 10.0.65.133 is up   (common.py:194)
[5] [2021-07-20 13:20:51.773] [               ] Testing winexe   (windows.py:222)
[6] [2021-07-20 13:20:51.783] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-07-20 13:20:51.790] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-07-20 13:20:51.803] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-07-20 13:20:51.804] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORD' //pcee-nb033.peiker-holding.de 'cmd.exe /C "del /s /q c:\\tmp\\opsi-client-agent_inst && rmdir /s /q c:\\tmp\\opsi-client-agent_inst || echo not found"'   (Posix.py:912)
[6] [2021-07-20 13:20:51.810] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-07-20 13:20:53.782] [               ] Patching config.ini   (windows.py:103)
[6] [2021-07-20 13:20:53.782] [               ] Copying from 'files/opsi/cfg/config.ini' to '/tmp/AvvW8fy7WW_config.ini'   (__init__.py:267)
[6] [2021-07-20 13:20:53.784] [               ] Copy done   (__init__.py:275)
[5] [2021-07-20 13:20:53.789] [               ] Copying installation files   (windows.py:117)
[6] [2021-07-20 13:20:53.790] [               ] Executing: /usr/bin/smbclient -m SMB3 -d 9 //pcee-nb033.peiker-holding.de/c$ -U 'peiker-holding.de\ADMIN%PASSWORD' -c 'prompt; recurse; md tmp; cd tmp; md opsi-client-agent_inst; cd opsi-client-agent_inst; mput files; mput utils; cd files\opsi\cfg; lcd /tmp; put AvvW8fy7WW_config.ini config.ini; exit;'   (Posix.py:912)
[6] [2021-07-20 13:20:53.797] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-07-20 13:21:29.376] [               ] Installing opsi-client-agent   (windows.py:128)
[6] [2021-07-20 13:21:29.377] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-07-20 13:21:29.385] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-07-20 13:21:29.397] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-07-20 13:21:29.398] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORD' //pcee-nb033.peiker-holding.de 'c:\\tmp\\opsi-client-agent_inst\\files\\opsi\\opsi-winst\\winst32.exe /batch c:\\tmp\\opsi-client-agent_inst\\files\\opsi\\setup.opsiscript c:\\tmp\\opsi-client-agent.log /PARAMETER REMOTEDEPLOY'   (Posix.py:912)
[6] [2021-07-20 13:21:29.404] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-07-20 13:21:32.568] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-07-20 13:21:32.575] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-07-20 13:21:32.586] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-07-20 13:21:32.587] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORD' //pcee-nb033.peiker-holding.de 'cmd.exe /C "del /s /q c:\\tmp\\opsi-client-agent_inst && rmdir /s /q c:\\tmp\\opsi-client-agent_inst"'   (Posix.py:912)
[6] [2021-07-20 13:21:32.593] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-07-20 13:21:33.018] [               ] opsi-client-agent successfully installed on pcee-nb033.peiker-holding.de   (windows.py:155)
[6] [2021-07-20 13:21:33.020] [               ] Updating productOnClient <ProductOnClient(clientId='pcee-nb033.peiker-holding.de', productId='opsi-client-agent', installationStatus='installed', actionRequest=None)>   (Extended.py:1835)
[6] [2021-07-20 13:21:33.055] [               ] ProductOnClient <ProductOnClient(clientId='pcee-nb033.peiker-holding.de', productId='opsi-client-agent', installationStatus='installed', actionRequest=None)> exists, updating   (Extended.py:1840)
[6] [2021-07-20 13:21:33.093] [               ] Executing: /usr/bin/winexe -V   (Posix.py:912)
[6] [2021-07-20 13:21:33.100] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[6] [2021-07-20 13:21:33.111] [               ] Winexe Version: winexe version 4.13This program may be freely redistributed under the terms of the GNU GPLv3   (windows.py:60)
[6] [2021-07-20 13:21:33.111] [               ] Executing: /usr/bin/winexe -d 9 -U 'peiker-holding.de\ADMIN%PASSWORD' //pcee-nb033.peiker-holding.de 'net start opsiclientd'   (Posix.py:912)
[6] [2021-07-20 13:21:33.119] [               ] Using encoding 'UTF-8'   (Posix.py:942)
[5] [2021-07-20 13:21:35.201] [               ] 1/1 deployments successfully   (__init__.py:210)

Im opsiconfd bzw. auf dem Server sind die Geräte aber angelegt.
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Re: Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

Hier die logs vom Gerät selber, da wird ein Fehler in der VC_RED Installation angezeigt:

Code: Alles auswählen

[5] [2021-07-20 13:33:40.312] []   Execution of ExecWith_autoit_vc_redist "c:\tmp\opsi-client-agent_inst\files\opsi\autoit3.exe" WINST /letThemGo /EscapeStrings
[7] [2021-07-20 13:33:40.312] []     Save to file with encoding: system
[6] [2021-07-20 13:33:40.313] []     Start process as invoker: admingb
[6] [2021-07-20 13:33:40.319] []     Started process "c:\tmp\opsi-client-agent_inst\files\opsi\autoit3.exe" with Opt: c:\opsi.org\tmp\_opsiscript_Tp820WKyx4.cmd
[6] [2021-07-20 13:33:40.319] []     ExitCode 0    Executed process ""c:\tmp\opsi-client-agent_inst\files\opsi\autoit3.exe"  c:\opsi.org\tmp\_opsiscript_Tp820WKyx4.cmd  "
[5] [2021-07-20 13:33:40.323] []   Execution of: Winbatch_vc_redist_msi
[5] [2021-07-20 13:33:40.323] []   
[6] [2021-07-20 13:33:40.323] []     Call "msiexec /i "c:\tmp\opsi-client-agent_inst\files\opsi\deps\VC_RED.MSI" /qb-! /l* "c:\opsi.org\log\vcredist_msi.log" ALLUSERS=1 REBOOT=ReallySuppress"
[6] [2021-07-20 13:33:40.323] []        Waiting until the called process is finished
[6] [2021-07-20 13:33:40.323] []     Start process as invoker: admingb
[6] [2021-07-20 13:33:40.326] []     Started process "msiexec" with Opt: /i\r\n"c:\tmp\opsi-client-agent_inst\files\opsi\deps\VC_RED.MSI"\r\n/qb-!\r\n/l*\r\n"c:\opsi.org\log\vcredist_msi.log"\r\nALLUSERS=1\r\nREBOOT=ReallySuppress
[6] [2021-07-20 13:33:40.381] []     ExitCode 1619    Executed process "msiexec /i "c:\tmp\opsi-client-agent_inst\files\opsi\deps\VC_RED.MSI" /qb-! /l* "c:\opsi.org\log\vcredist_msi.log" ALLUSERS=1 REBOOT=ReallySuppress"
[7] [2021-07-20 13:33:40.381] []       output:
[7] [2021-07-20 13:33:40.381] []       --------------
[7] [2021-07-20 13:33:40.381] []       D
[7] [2021-07-20 13:33:40.381] []       --------------
[6] [2021-07-20 13:33:40.383] []   
[6] [2021-07-20 13:33:40.383] []   ~~~~~~~ Start Sub ~~~~~~~  Sub_check_exitcode
[5] [2021-07-20 13:33:40.383] []   comment: Test for installation success via exit code
[6] [2021-07-20 13:33:40.384] []   Set  $INST_ExitCode$ = getLastExitCode
[6] [2021-07-20 13:33:40.384] []     The value of the variable "$INST_ExitCode$" is now: "1619"
[6] [2021-07-20 13:33:40.384] []   If
[7] [2021-07-20 13:33:40.384] []     $INST_ExitCode$ = "0"   <<< result false
[6] [2021-07-20 13:33:40.384] []     ($INST_ExitCode$ = "0")   <<< result false
[6] [2021-07-20 13:33:40.384] []   Then
[6] [2021-07-20 13:33:40.384] []   Else
[5] [2021-07-20 13:33:40.384] []     comment: Setup program gives a exitcode unequal zero: 1619
[6] [2021-07-20 13:33:40.384] []     If
[7] [2021-07-20 13:33:40.384] []       $INST_ExitCode$ = "1603"   <<< result false
[6] [2021-07-20 13:33:40.384] []       ($INST_ExitCode$ = "1603")   <<< result false
[6] [2021-07-20 13:33:40.384] []     Then
[6] [2021-07-20 13:33:40.385] []     Else
[6] [2021-07-20 13:33:40.385] []       If
[7] [2021-07-20 13:33:40.385] []         $INST_ExitCode$ = "1605"   <<< result false
[6] [2021-07-20 13:33:40.385] []         ($INST_ExitCode$ = "1605")   <<< result false
[6] [2021-07-20 13:33:40.385] []       Then
[6] [2021-07-20 13:33:40.385] []       Else
[6] [2021-07-20 13:33:40.385] []         If
[7] [2021-07-20 13:33:40.385] []           $INST_ExitCode$ = "1641"   <<< result false
[6] [2021-07-20 13:33:40.385] []           ($INST_ExitCode$ = "1641")   <<< result false
[6] [2021-07-20 13:33:40.385] []         Then
[6] [2021-07-20 13:33:40.385] []         Else
[6] [2021-07-20 13:33:40.385] []           If
[7] [2021-07-20 13:33:40.385] []             $INST_ExitCode$ = "3010"   <<< result false
[6] [2021-07-20 13:33:40.385] []             ($INST_ExitCode$ = "3010")   <<< result false
[6] [2021-07-20 13:33:40.385] []           Then
[6] [2021-07-20 13:33:40.386] []           Else
[3] [2021-07-20 13:33:40.386] []             Error: Fatal: Setup program gives an unknown exitcode unequal zero: 1619
[6] [2021-07-20 13:33:40.386] []             Set  $INST_ErrorList$ = addtolist($INST_ErrorList$, " Error in Sub_check_exitcode: Fatal: Setup program gives an unknown exitcode unequal zero: " + $INST_ExitCode$)
[7] [2021-07-20 13:33:40.386] []               The value of the variable "$INST_ErrorList$" is now:
[7] [2021-07-20 13:33:40.386] []               (string   0) Error in Sub_check_exitcode: Fatal: Setup program gives an unknown exitcode unequal zero: 1619
[6] [2021-07-20 13:33:40.386] []           EndIf
[6] [2021-07-20 13:33:40.386] []         EndIf
[6] [2021-07-20 13:33:40.386] []       EndIf
[6] [2021-07-20 13:33:40.386] []     EndIf
[6] [2021-07-20 13:33:40.386] []   EndIf
[6] [2021-07-20 13:33:40.386] []   
[6] [2021-07-20 13:33:40.386] []   ~~~~~~~ End Sub   ~~~~~~~  Sub_check_exitcode
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
Benutzeravatar
n.doerrer
uib-Team
Beiträge: 267
Registriert: 23 Okt 2020, 16:11

Re: Installation opsi-client-agent schlägt fehl

Beitrag von n.doerrer »

Moin,

ja, der Teil der Installation von VC_Redist scheint das Problem zu sein.
Aus dem log-Abschnitt ist allerdings nicht ersichtlich, warum es dabei fehlschlägt. Wild guess wäre, dass der Windows Defender oder ein anderes Anti-Malware-Programm dazwischenhaut und autoit3.exe blockt. Etwas Derartiges halte ich für wahrscheinlich, wenn das Problem nur gelegentlich auftritt.

Übrigens: in opsi-client-agent 4.2.0.0 (aktuell noch in experimental) haben wir die Installation von vc_redist (und generell das ganze Setup) umgebaut, simpler und robuster gemacht. Eventuell wäre es damit einen Versuch wert.

Zu dem nicht zensierten Passwort in opsi-deploy-client-agent: Das war Resultat eines Bugs und ist in opsi-client-agent 4.1.1.41-1 (aktuell in stable) gefixt.
Jan.Schmidt
Beiträge: 439
Registriert: 08 Jul 2017, 12:02

Re: Installation opsi-client-agent schlägt fehl

Beitrag von Jan.Schmidt »

Hi,

ein msi 1619 ist zu 99% darauf zurückzuführen, das der installer das msi nicht findet.
Geh mal auf einem Rechner in die Ereignisanzeige
* Anwendungs- und Dienstprotokolle
** Microsoft
*** Windows
**** Windows Defender.

Zu dem Zeitpunkt kann ja keine anderer Antivir aktiv sein die Maschine ist ja frisch aufgesetzt oder??? -< Frage
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Re: Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

Den Defender hatte ich auch schon im sinn. IMHO habe ich da schon öfters den winexesvc.exe freigeben müssen, wie bei anderen AVs auch,...

Ich bin habe den betroffenen Geräten jetzt das ganze über die service_setup.cmd gemacht.
Hier gibt es auch keine Probleme.

Mal sehen, wann wir wieder ein Gerät neu bestücke.
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Re: Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

Moin,
Jan.Schmidt hat geschrieben: 22 Jul 2021, 06:53 Geh mal auf einem Rechner in die Ereignisanzeige
* Anwendungs- und Dienstprotokolle
** Microsoft
*** Windows
**** Windows Defender.

Zu dem Zeitpunkt kann ja keine anderer Antivir aktiv sein die Maschine ist ja frisch aufgesetzt oder??? -< Frage
Ja, die Geräte sind ohne weiteren AV
Das bringt mich ein kleines Stück weiter.
Ich finde da folgenden Eintrag:
Microsoft Defender Antivirus hat Schadsoftware oder andere potenziell unerwünschte Software erkannt.
Weitere Informationen:
https://go.microsoft.com/fwlink/?linkid ... terprise=0
Name: Program:Win32/Uwasson.A!ml
ID: 251745
Schweregrad: Niedrig
Kategorie: Potenziell unerwünschte Software
Pfad: file:_C:\Windows\winexesvc.exe
Erkennungsursprung: Lokaler Computer
Erkennungstype: FastPath
Erkennungsquelle: Echtzeitschutz
Benutzer:
Prozessname: Unknown
Sicherheitsversion: AV: 1.347.247.0, AS: 1.347.247.0, NIS: 1.347.247.0
Modulversion: AM: 1.1.18400.5, NIS: 1.1.18400.5
Ich habe den Echtzeitschutz deaktiviert (aktiviert sich automatisch nach einer gewissen Zeit). Auch alle anderen "Schütze".
Trotzdem kann ich den Client nicht installieren.
Gekürztes log vom Client:

Code: Alles auswählen

[1] [2021-08-23 15:44:44.116] [] opsi-script 4.12.4.21 started at >>
[1] [2021-08-23 15:44:44.116] [] opsi-script log file with encoding utf8
[1] [2021-08-23 15:44:44.116] [] startmessage opsi-script created at CentralForm.FormCreate: 23.08.2021 15:44:44
[1] [2021-08-23 15:44:44.116] [] Detected Language is:de
[1] [2021-08-23 15:44:44.116] [] Loading skin from: c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\opsi-winst\skin
[1] [2021-08-23 15:44:44.116] [] Called with parameter: /batch\r\nc:\\opsi.org\\tmp\\opsi-client-agent_inst\files\opsi\setup.opsiscript\r\nc:\opsi.org\log\opsi-client-agent.log\r\n/PARAMETER\r\nREMOTEDEPLOY
[1] [2021-08-23 15:44:44.116] [] startmessage StartProgramModes and create log: 23.08.2021 15:44:44
[1] [2021-08-23 15:44:44.116] [] Compiled with FPC: 3.2.0 for: Win32-i386
[1] [2021-08-23 15:44:44.116] [] pm: 6 23.08.2021 15:44:44
[1] [2021-08-23 15:44:44.116] [] Cleanup old part files at 23.08.2021 15:44:44
[1] [2021-08-23 15:44:44.117] [] Prog: force_min_loglevel: 4
[1] [2021-08-23 15:44:44.117] [] Prog: default_loglevel: 7
[1] [2021-08-23 15:44:44.117] [] Prog: debug_prog: false
[1] [2021-08-23 15:44:44.117] [] Prog: debug_lib: true
[1] [2021-08-23 15:44:44.117] [] Prog: AktProduktId:  = false
[3] [2021-08-23 15:44:44.117] [] readconfig failed: Perhaps got defaults
[6] [2021-08-23 15:44:44.117] [] Depot path from readconfig:  p:\
[6] [2021-08-23 15:44:44.117] [] Restoring depot path from backup
[6] [2021-08-23 15:44:44.117] [] Using new Depot path:
[7] [2021-08-23 15:44:44.117] [] Load from Unicode file
[1] [2021-08-23 15:44:44.120] [] 
[1] [2021-08-23 15:44:44.120] [] ============ Version 4.12.4.21 script "c:\\opsi.org\\tmp\\opsi-client-agent_inst\files\opsi\setup.opsiscript"
[1] [2021-08-23 15:44:44.120] []              used script encoding: utf8
[1] [2021-08-23 15:44:44.120] []              used system encoding: cp1252
[1] [2021-08-23 15:44:44.120] []              start: 2021-08-23  15:44:44
[1] [2021-08-23 15:44:44.120] []              on client named    "FTI-NB353"
[1] [2021-08-23 15:44:44.120] []              loggedin user    ""
[1] [2021-08-23 15:44:44.121] []              opsi-script running as    "admingb"
[1] [2021-08-23 15:44:44.121] []              opsi-script running with admin privileges
[1] [2021-08-23 15:44:44.121] []              opsi-script running in standard script mode
[1] [2021-08-23 15:44:44.121] [] executing: "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\opsi-winst\winst32.exe"
[1] [2021-08-23 15:44:44.121] [] system infos:
[1] [2021-08-23 15:44:44.125] [] 74-4C-A1-D3-78-6C  -  PC hardware address
[1] [2021-08-23 15:44:44.125] [] FTI-NB353.ftigroup.net  -  IP name
[1] [2021-08-23 15:44:44.125] [] 10.1.65.122  -  IP address
[1] [2021-08-23 15:44:44.125] [] DEU  -  System default locale
[7] [2021-08-23 15:44:44.125] [] Registry started without redirection (64 Bit)
[7] [2021-08-23 15:44:44.126] [] Registry started readonly
[7] [2021-08-23 15:44:44.126] [] Registry started without redirection (64 Bit)
[6] [2021-08-23 15:44:44.126] [] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion]  opened
[6] [2021-08-23 15:44:44.126] [] Key closed
[1] [2021-08-23 15:44:44.126] [] MS Windows 10.0 64 Bit, Release: 2009, Edition: PRODUCT_PROFESSIONAL
[1] [2021-08-23 15:44:44.126] [] 
[7] [2021-08-23 15:44:44.126] [] Registry started readonly
[7] [2021-08-23 15:44:44.126] [] Registry started without redirection (64 Bit)
[6] [2021-08-23 15:44:44.126] [] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
[6] [2021-08-23 15:44:44.126] [] Key closed
[7] [2021-08-23 15:44:44.218] [] Starting with script...
[6] [2021-08-23 15:44:44.218] [] opsi-script has version  4.12.4.21, required is : >= 4.12.0.17
[6] [2021-08-23 15:44:44.218] [] ScriptErrorMessages was False is set to false
[6] [2021-08-23 15:44:44.218] [] AutoActivityDisplay was False is set to true
[7] [2021-08-23 15:44:44.230] [] 
[7] [2021-08-23 15:44:44.230] [] (created string list $INST_Adapterlist$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_FullServicelist$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_ServiceResult$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_ResultList$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_ResultList2$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_ResultList3$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_ParamstrList$)
[7] [2021-08-23 15:44:44.231] [] 
[7] [2021-08-23 15:44:44.231] [] (created string list $INST_productList4setup$)
[7] [2021-08-23 15:44:44.232] [] 
[7] [2021-08-23 15:44:44.232] [] (created string list $INST_ErrorList$)
[7] [2021-08-23 15:44:44.234] [] 
[7] [2021-08-23 15:44:44.234] [] (created string list $OCD_depServicelist$)
[7] [2021-08-23 15:44:44.243] [] 
[7] [2021-08-23 15:44:44.243] [] (created string list $resultlist$)
[7] [2021-08-23 15:44:44.243] [] 
[7] [2021-08-23 15:44:44.243] [] (created string list $resultlist1$)
[7] [2021-08-23 15:44:44.243] [] 
[7] [2021-08-23 15:44:44.243] [] (created string list $productIdList$)
[7] [2021-08-23 15:44:44.243] [] 
[7] [2021-08-23 15:44:44.243] [] (created string list $productIdInstalledList$)
[7] [2021-08-23 15:44:44.243] [] 
[7] [2021-08-23 15:44:44.243] [] (created string list $productIdSetupList$)
[7] [2021-08-23 15:44:44.244] [] 
[7] [2021-08-23 15:44:44.244] [] (created string list $productIdOnceList$)
[7] [2021-08-23 15:44:44.244] [] 
[7] [2021-08-23 15:44:44.244] [] (created string list $pocList$)
[6] [2021-08-23 15:44:44.244] [] Set  $LogDir$ = "c:\opsi.org\log"
[6] [2021-08-23 15:44:44.244] []   The value of the variable "$LogDir$" is now: "c:\opsi.org\log"
[6] [2021-08-23 15:44:44.245] [] Added defined function: opsiservice_authenticated to the known functions
[6] [2021-08-23 15:44:44.245] [] Added defined function: opsiservice_userisadmin to the known functions
[6] [2021-08-23 15:44:44.246] [] Added defined function: oca_shutdown_starter_fix to the known functions
[6] [2021-08-23 15:44:44.249] [] Added defined function: oca_read_configuration to the known functions
[6] [2021-08-23 15:44:44.250] [] Added defined function: oca_check_services to the known functions
[6] [2021-08-23 15:44:44.252] [] Added defined function: oca_create_client to the known functions
[6] [2021-08-23 15:44:44.256] [] Added defined function: oca_copy_files to the known functions
[6] [2021-08-23 15:44:44.266] [] Added defined function: oca_write_configuration to the known functions
[6] [2021-08-23 15:44:44.267] [] Added defined function: oca_clean_up to the known functions
[6] [2021-08-23 15:44:44.273] [] Added defined function: oca_restore_productonclient to the known functions
[6] [2021-08-23 15:44:44.274] [] Added defined function: oca_try_to_get_my_mac to the known functions
[6] [2021-08-23 15:44:44.274] [] Added defined function: oca_is_my_mac_cable to the known functions
[6] [2021-08-23 15:44:44.275] [] Added defined function: oca_get_depot_netbiosname to the known functions
[6] [2021-08-23 15:44:44.276] [] Added defined function: oca_test_config_service_url to the known functions
[6] [2021-08-23 15:44:44.277] [] Added defined function: oca_set_installation_status to the known functions
[7] [2021-08-23 15:44:44.278] [] 
[7] [2021-08-23 15:44:44.278] [] (created string list $OCD_POSSIBLE_config_service.urls$)
[6] [2021-08-23 15:44:44.278] [] Set  $INST_Debug$ = "off"
[6] [2021-08-23 15:44:44.278] []   The value of the variable "$INST_Debug$" is now: "off"
[6] [2021-08-23 15:44:44.278] [] If
[6] [2021-08-23 15:44:44.279] []   $INST_debug$ = "off"   <<< result true
[6] [2021-08-23 15:44:44.279] [] Then
[6] [2021-08-23 15:44:44.279] []   Set  $INST_DefaultLoglevel$ = "7"
[6] [2021-08-23 15:44:44.279] []     The value of the variable "$INST_DefaultLoglevel$" is now: "7"
[6] [2021-08-23 15:44:44.279] []   Set  $INST_PasswdLogLevel$="7"
[6] [2021-08-23 15:44:44.279] []     The value of the variable "$INST_PasswdLogLevel$" is now: "7"
[6] [2021-08-23 15:44:44.279] [] Else
[6] [2021-08-23 15:44:44.279] [] EndIf
.
.
.
[6] [2021-08-23 15:44:44.287] [] If
[7] [2021-08-23 15:44:44.287] []   $ProductVersion$=""   <<< result true
[6] [2021-08-23 15:44:44.287] []   ($ProductVersion$="")   <<< result true
[6] [2021-08-23 15:44:44.287] [] Then
[6] [2021-08-23 15:44:44.287] []   Set  $ProductVersion$=GetValueFromInifile("c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\product.ini","opsi-client-agent","ProductVersion","")
[6] [2021-08-23 15:44:44.288] []           reading the value to the key "ProductVersion" in section "opsi-client-agent"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\product.ini", default value  ""
[6] [2021-08-23 15:44:44.288] []     The value of the variable "$ProductVersion$" is now: "4.1.1.41-1"
[6] [2021-08-23 15:44:44.288] []   If
[7] [2021-08-23 15:44:44.288] []     $ProductVersion$=""   <<< result false
[6] [2021-08-23 15:44:44.288] []     ($ProductVersion$="")   <<< result false
[6] [2021-08-23 15:44:44.288] []   Then
[6] [2021-08-23 15:44:44.288] []   EndIf
[6] [2021-08-23 15:44:44.288] [] EndIf

.
.
.
[6] [2021-08-23 15:44:44.308] [] If
[7] [2021-08-23 15:44:44.308] []   $INST_OS$ = "Windows_NT"   <<< result true
[6] [2021-08-23 15:44:44.308] []   not($INST_OS$ = "Windows_NT")   <<< result false
[6] [2021-08-23 15:44:44.308] [] Then
[6] [2021-08-23 15:44:44.308] [] EndIf
[6] [2021-08-23 15:44:44.308] [] Set  $INST_MinorOS$ = GetNTVersion
[6] [2021-08-23 15:44:44.309] []   The value of the variable "$INST_MinorOS$" is now: "Win NT 10.0"
[6] [2021-08-23 15:44:44.309] [] Set  $INST_NTVersion$ = GetMsVersionInfo
[6] [2021-08-23 15:44:44.309] []   The value of the variable "$INST_NTVersion$" is now: "10.0"
[6] [2021-08-23 15:44:44.309] [] If
[6] [2021-08-23 15:44:44.309] []   CompareDotSeparatedNumbers($INST_NTVersion$,"6.0") < "0"   <<< result false
[6] [2021-08-23 15:44:44.309] [] Then
[6] [2021-08-23 15:44:44.310] [] EndIf
[6] [2021-08-23 15:44:44.310] [] If
[6] [2021-08-23 15:44:44.310] []     Free on Disk C:: 462.419.615.744 bytes  This is more than the required amount of 100.000.000 bytes
[7] [2021-08-23 15:44:44.310] []   HasMinimumSpace ("C:", "100 MB")   <<< result true
[6] [2021-08-23 15:44:44.310] []   not (HasMinimumSpace ("C:", "100 MB"))   <<< result false
[6] [2021-08-23 15:44:44.310] [] Then
[6] [2021-08-23 15:44:44.310] [] EndIf
[6] [2021-08-23 15:44:44.310] [] Set  $INST_SystemType$ = GetSystemType
[6] [2021-08-23 15:44:44.310] []   The value of the variable "$INST_SystemType$" is now: "64 Bit System"
[6] [2021-08-23 15:44:44.310] [] If
[7] [2021-08-23 15:44:44.311] []   $INST_SystemType$ = "64 Bit System"   <<< result true
[6] [2021-08-23 15:44:44.311] []   ($INST_SystemType$ = "64 Bit System")   <<< result true
[6] [2021-08-23 15:44:44.311] [] Then
[6] [2021-08-23 15:44:44.311] []   Set  $architecture$ = "64"
[6] [2021-08-23 15:44:44.311] []     The value of the variable "$architecture$" is now: "64"
[6] [2021-08-23 15:44:44.311] [] Else
[6] [2021-08-23 15:44:44.311] [] EndIf
[6] [2021-08-23 15:44:44.311] [] Set  $INST_SetAclDir$ = $INST_OpsiUtilitiesdDir$+"\SetACL\"+$architecture$+" bit"
[6] [2021-08-23 15:44:44.312] []   The value of the variable "$INST_SetAclDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\utilities\SetACL\64 bit"
[6] [2021-08-23 15:44:44.312] [] Set  $INST_Resultlist$ = getMSVersionMap
[7] [2021-08-23 15:44:44.312] [] Registry started without redirection (64 Bit)
[7] [2021-08-23 15:44:44.312] [] Registry started readonly
[7] [2021-08-23 15:44:44.312] [] Registry started without redirection (64 Bit)
[6] [2021-08-23 15:44:44.312] [] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion]  opened
[6] [2021-08-23 15:44:44.312] [] Key closed
[7] [2021-08-23 15:44:44.312] []   The value of the variable "$INST_Resultlist$" is now:
[7] [2021-08-23 15:44:44.312] []   (string   0)major_version=10
[7] [2021-08-23 15:44:44.312] []   (string   1)minor_version=0
[7] [2021-08-23 15:44:44.312] []   (string   2)build_number=19043
[7] [2021-08-23 15:44:44.312] []   (string   3)platform_id=2
[7] [2021-08-23 15:44:44.312] []   (string   4)csd_version=
[7] [2021-08-23 15:44:44.312] []   (string   5)service_pack_major=0
[7] [2021-08-23 15:44:44.312] []   (string   6)service_pack_minor=0
[7] [2021-08-23 15:44:44.312] []   (string   7)suite_mask=256
[7] [2021-08-23 15:44:44.312] []   (string   8)product_type_nr=1
[7] [2021-08-23 15:44:44.312] []   (string   9)2003r2=false
[7] [2021-08-23 15:44:44.312] []   (string  10)ReleaseID=2009
[7] [2021-08-23 15:44:44.312] []   (string  11)prodInfoNumber=48
[7] [2021-08-23 15:44:44.312] []   (string  12)prodInfoText=PRODUCT_PROFESSIONAL
[6] [2021-08-23 15:44:44.312] [] Set  $INST_ProductType$ = getValue("product_type_nr",$INST_Resultlist$)
[6] [2021-08-23 15:44:44.313] []   The value of the variable "$INST_ProductType$" is now: "1"
[6] [2021-08-23 15:44:44.313] [] Set  $INST_vcredistx86_installed$ = "false"
[6] [2021-08-23 15:44:44.313] []   The value of the variable "$INST_vcredistx86_installed$" is now: "false"
[6] [2021-08-23 15:44:44.313] [] If
[7] [2021-08-23 15:44:44.313] []   Registry started readonly
[7] [2021-08-23 15:44:44.313] []   Registry started with redirection (32 Bit)
[6] [2021-08-23 15:44:44.313] []   Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BE518E6-ECC6-35A9-88E4-87755C07200F}]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [2021-08-23 15:44:44.314] []   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BE518E6-ECC6-35A9-88E4-87755C07200F}] DisplayVersion") = "9.0.30729.6161"   <<< result false
[6] [2021-08-23 15:44:44.314] [] Then
[6] [2021-08-23 15:44:44.314] [] EndIf
[6] [2021-08-23 15:44:44.314] [] If
[7] [2021-08-23 15:44:44.314] []   Registry started readonly
[7] [2021-08-23 15:44:44.314] []   Registry started with redirection (32 Bit)
[6] [2021-08-23 15:44:44.314] []   Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [2021-08-23 15:44:44.314] []   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}] DisplayVersion") = "9.0.30729.4148"   <<< result false
[6] [2021-08-23 15:44:44.314] [] Then
[6] [2021-08-23 15:44:44.314] [] EndIf
[6] [2021-08-23 15:44:44.314] [] If
[7] [2021-08-23 15:44:44.315] []   Registry started readonly
[7] [2021-08-23 15:44:44.315] []   Registry started with redirection (32 Bit)
[6] [2021-08-23 15:44:44.315] []   Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [2021-08-23 15:44:44.315] []   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}] DisplayVersion") = "9.0.30729"   <<< result false
[6] [2021-08-23 15:44:44.315] [] Then
[6] [2021-08-23 15:44:44.315] [] EndIf
[6] [2021-08-23 15:44:44.315] [] If
[7] [2021-08-23 15:44:44.315] []   Registry started readonly
[7] [2021-08-23 15:44:44.315] []   Registry started with redirection (32 Bit)
[6] [2021-08-23 15:44:44.315] []   Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5DA8F6CD-C70E-39D8-8430-3D9808D6BD17}]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [2021-08-23 15:44:44.316] []   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5DA8F6CD-C70E-39D8-8430-3D9808D6BD17}] DisplayVersion") = "9.0.30411"   <<< result false
[6] [2021-08-23 15:44:44.316] [] Then
[6] [2021-08-23 15:44:44.316] [] EndIf
[6] [2021-08-23 15:44:44.316] [] If
[7] [2021-08-23 15:44:44.316] []   Registry started readonly
[7] [2021-08-23 15:44:44.316] []   Registry started with redirection (32 Bit)
[6] [2021-08-23 15:44:44.316] []   Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E503B4BF-F7BB-3D5F-8BC8-F694B1CFF942}]   could not be opened by RegOpenKeyEx,  Errorno 2 "Das System kann die angegebene Datei nicht finden.<"
[6] [2021-08-23 15:44:44.316] []   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E503B4BF-F7BB-3D5F-8BC8-F694B1CFF942}] DisplayVersion") = "9.0.21022.218"   <<< result false
[6] [2021-08-23 15:44:44.316] [] Then
[6] [2021-08-23 15:44:44.316] [] EndIf
[6] [2021-08-23 15:44:44.316] [] If
[7] [2021-08-23 15:44:44.317] []   Registry started readonly
[7] [2021-08-23 15:44:44.317] []   Registry started with redirection (32 Bit)
[6] [2021-08-23 15:44:44.317] []   Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}]  opened
[6] [2021-08-23 15:44:44.317] []   Key closed
[6] [2021-08-23 15:44:44.317] []   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}] DisplayVersion") = "9.0.21022"   <<< result true
[6] [2021-08-23 15:44:44.317] [] Then
[5] [2021-08-23 15:44:44.317] []   comment: vcredistx86 Version 9.0.21022 is installed
[6] [2021-08-23 15:44:44.317] []   Set  $INST_vcredistx86_installed$ = "true"
[6] [2021-08-23 15:44:44.317] []     The value of the variable "$INST_vcredistx86_installed$" is now: "true"
[6] [2021-08-23 15:44:44.317] [] EndIf
[6] [2021-08-23 15:44:44.317] [] If
[6] [2021-08-23 15:44:44.318] []   $INST_vcredistx86_installed$ = "false"   <<< result false
[6] [2021-08-23 15:44:44.318] [] Then
[6] [2021-08-23 15:44:44.318] [] EndIf
[6] [2021-08-23 15:44:44.318] [] DisableWow64FsRedirection succeeded
[5] [2021-08-23 15:44:44.318] [] ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C ""c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi/vcredist2015/vcredist_2015_x86.exe" /install /passive /norestart"
[6] [2021-08-23 15:44:49.458] [] ExitCode 0
[7] [2021-08-23 15:44:49.458] [] output:
[7] [2021-08-23 15:44:49.458] [] --------------
[7] [2021-08-23 15:44:49.458] [] 
[6] [2021-08-23 15:44:49.458] [] RevertWow64FsRedirection succeeded
[6] [2021-08-23 15:44:49.458] [] If
[7] [2021-08-23 15:44:49.459] []   $INST_SystemType$ = "64 Bit System"   <<< result true
[6] [2021-08-23 15:44:49.459] []   ($INST_SystemType$ = "64 Bit System")   <<< result true
[6] [2021-08-23 15:44:49.459] [] Then
[6] [2021-08-23 15:44:49.459] []   DisableWow64FsRedirection succeeded
[5] [2021-08-23 15:44:49.459] []   ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C ""c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi/vcredist2015/vcredist_2015_x64.exe" /install /passive /norestart"
[6] [2021-08-23 15:44:54.099] []   ExitCode 0
[7] [2021-08-23 15:44:54.099] []   output:
[7] [2021-08-23 15:44:54.099] []   --------------
[7] [2021-08-23 15:44:54.099] []   
[6] [2021-08-23 15:44:54.099] []   RevertWow64FsRedirection succeeded
[6] [2021-08-23 15:44:54.099] [] EndIf
[5] [2021-08-23 15:44:54.100] [] comment: set mode
[6] [2021-08-23 15:44:54.100] [] Set  $INST_Paramstr$=PARAMSTR
[6] [2021-08-23 15:44:54.100] []   The value of the variable "$INST_Paramstr$" is now: "REMOTEDEPLOY"
[6] [2021-08-23 15:44:54.101] [] Set  $INST_ParamstrList$ = splitstring($INST_Paramstr$, ":")
[7] [2021-08-23 15:44:54.101] []   The value of the variable "$INST_ParamstrList$" is now:
[7] [2021-08-23 15:44:54.101] []   (string   0)REMOTEDEPLOY
[5] [2021-08-23 15:44:54.101] [] comment: Modus normally set by commandline argument
[6] [2021-08-23 15:44:54.101] [] If
[6] [2021-08-23 15:44:54.101] []   count($INST_ParamstrList$) > "0"   <<< result true
[6] [2021-08-23 15:44:54.101] [] Then
[6] [2021-08-23 15:44:54.101] []   Set  $INST_MODUS$=takestring(0,$INST_ParamstrList$)
[6] [2021-08-23 15:44:54.102] []     The value of the variable "$INST_MODUS$" is now: "REMOTEDEPLOY"
[6] [2021-08-23 15:44:54.102] [] EndIf
[6] [2021-08-23 15:44:54.102] [] If
[6] [2021-08-23 15:44:54.102] []   count($INST_ParamstrList$) > "1"   <<< result false
[6] [2021-08-23 15:44:54.102] [] Then
[6] [2021-08-23 15:44:54.102] [] EndIf
[6] [2021-08-23 15:44:54.102] [] Set  $INST_AllowReboot$ = GetProductProperty("allow_reboot", $INST_AllowReboot$)
[4] [2021-08-23 15:44:54.102] [] Property not existing in GetProductProperty - using default
[6] [2021-08-23 15:44:54.102] []   The value of the variable "$INST_AllowReboot$" is now: "true"
[6] [2021-08-23 15:44:54.102] [] If
[6] [2021-08-23 15:44:54.103] []   count($INST_ParamstrList$) > "2"   <<< result false
[6] [2021-08-23 15:44:54.103] [] Then
[6] [2021-08-23 15:44:54.103] []   If
[6] [2021-08-23 15:44:54.103] []   Then
[6] [2021-08-23 15:44:54.103] []   Else
[6] [2021-08-23 15:44:54.103] []     If
[6] [2021-08-23 15:44:54.103] []     Then
[6] [2021-08-23 15:44:54.103] []     EndIf
[6] [2021-08-23 15:44:54.103] []   EndIf
[6] [2021-08-23 15:44:54.103] [] EndIf
[5] [2021-08-23 15:44:54.103] [] comment: old Modes are remaped for backward compatibility
[6] [2021-08-23 15:44:54.103] [] If
[6] [2021-08-23 15:44:54.104] []   $INST_MODUS$ = "LOCAL"   <<< result false
[6] [2021-08-23 15:44:54.104] [] Then
[6] [2021-08-23 15:44:54.104] [] EndIf
[6] [2021-08-23 15:44:54.104] [] If
[6] [2021-08-23 15:44:54.104] []   $INST_MODUS$ = "LOCAL_REINSTALL"   <<< result false
[6] [2021-08-23 15:44:54.104] [] Then
[6] [2021-08-23 15:44:54.104] [] EndIf
[6] [2021-08-23 15:44:54.104] [] If
[6] [2021-08-23 15:44:54.104] []   $INST_MODUS$ = "SERVICE_INTERACTIVE"   <<< result false
[6] [2021-08-23 15:44:54.104] [] Then
[6] [2021-08-23 15:44:54.104] [] EndIf
[6] [2021-08-23 15:44:54.104] [] If
[6] [2021-08-23 15:44:54.104] []   $INST_MODUS$ = "TFTP"   <<< result false
[6] [2021-08-23 15:44:54.104] [] Then
[6] [2021-08-23 15:44:54.105] [] EndIf
[5] [2021-08-23 15:44:54.105] [] comment: default submode of INSTALL is CONFIG_INI
[6] [2021-08-23 15:44:54.105] [] If
[6] [2021-08-23 15:44:54.105] []   $INST_MODUS$ = "INSTALL"   <<< result false
[6] [2021-08-23 15:44:54.105] [] Then
[6] [2021-08-23 15:44:54.105] []   If
[6] [2021-08-23 15:44:54.105] []   Then
[6] [2021-08-23 15:44:54.105] []   EndIf
[6] [2021-08-23 15:44:54.105] [] EndIf
[5] [2021-08-23 15:44:54.105] [] comment: map Mode REMOTEDEPLOY
[6] [2021-08-23 15:44:54.105] [] If
[6] [2021-08-23 15:44:54.106] []   $INST_MODUS$ = "REMOTEDEPLOY"   <<< result true
[6] [2021-08-23 15:44:54.106] [] Then
[6] [2021-08-23 15:44:54.106] []   Set  $INST_MODUS$="INSTALL"
[6] [2021-08-23 15:44:54.106] []     The value of the variable "$INST_MODUS$" is now: "INSTALL"
[6] [2021-08-23 15:44:54.106] []   Set  $INST_SubModus$="CONFIG_INI"
[6] [2021-08-23 15:44:54.106] []     The value of the variable "$INST_SubModus$" is now: "CONFIG_INI"
[6] [2021-08-23 15:44:54.106] []   Set  $INST_AllowReboot$ = "false"
[6] [2021-08-23 15:44:54.106] []     The value of the variable "$INST_AllowReboot$" is now: "false"
[6] [2021-08-23 15:44:54.106] [] EndIf
[5] [2021-08-23 15:44:54.106] [] comment: if no commandline argument we default to update
[6] [2021-08-23 15:44:54.107] [] If
[6] [2021-08-23 15:44:54.107] []   $INST_MODUS$ = ""   <<< result false
[6] [2021-08-23 15:44:54.107] [] Then
[6] [2021-08-23 15:44:54.107] [] EndIf
[6] [2021-08-23 15:44:54.107] [] If
[6] [2021-08-23 15:44:54.107] []   $INST_SubModus$ = "BOOTIMAGE"   <<< result false
[6] [2021-08-23 15:44:54.107] [] Then
[6] [2021-08-23 15:44:54.107] [] EndIf
[5] [2021-08-23 15:44:54.108] [] comment: call function oca_shutdown_starter_fix()
[5] [2021-08-23 15:44:54.108] [] comment: Check for initial shutdown_starter fix ....
[5] [2021-08-23 15:44:54.108] [] comment: Do we run in shutdown - mode ....
[6] [2021-08-23 15:44:54.108] [] Set  $resultlist$ = GetProcessList
[7] [2021-08-23 15:44:54.129] []   The value of the variable "$resultlist$" is now:

.
.
.
[6] [2021-08-23 15:44:54.131] [] Set  $resultstr$ = takeFirstStringContaining($resultlist$,"opsiclientd_event_starter.exe")
[6] [2021-08-23 15:44:54.132] []   The value of the variable "$resultstr$" is now: ""
[6] [2021-08-23 15:44:54.132] [] If
[7] [2021-08-23 15:44:54.132] []   $resultstr$ = ""   <<< result true
[6] [2021-08-23 15:44:54.132] []   not ($resultstr$ = "")   <<< result false
[6] [2021-08-23 15:44:54.132] [] Then
[6] [2021-08-23 15:44:54.132] []   If
[6] [2021-08-23 15:44:54.132] []   Then
[6] [2021-08-23 15:44:54.132] []     If
[6] [2021-08-23 15:44:54.132] []     Then
[6] [2021-08-23 15:44:54.133] []     EndIf
[6] [2021-08-23 15:44:54.133] []   EndIf
[6] [2021-08-23 15:44:54.133] []   If
[6] [2021-08-23 15:44:54.133] []   Then
[6] [2021-08-23 15:44:54.133] []   Else
[6] [2021-08-23 15:44:54.133] []   EndIf
[6] [2021-08-23 15:44:54.133] [] Else
[5] [2021-08-23 15:44:54.133] []   comment: We do not run in shutdown - mode ....
[6] [2021-08-23 15:44:54.133] [] EndIf
[6] [2021-08-23 15:44:54.133] [] Section ending since next line is starting with "["
[5] [2021-08-23 15:44:54.133] [] comment: call function read_oca_configuration()
[6] [2021-08-23 15:44:54.134] [] Set  $GEN_bootmode$ = GetValueFromInifile($INST_cfgini$, "general", "bootmode", $GEN_bootmode$)
[6] [2021-08-23 15:44:54.134] []         reading the value to the key "bootmode" in section "general"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  "BKSTD"
[6] [2021-08-23 15:44:54.134] []   The value of the variable "$GEN_bootmode$" is now: "BKSTD"
[5] [2021-08-23 15:44:54.135] [] comment: Getting dns domain from config file
[6] [2021-08-23 15:44:54.135] [] Set  $INST_DnsDomainName$ = GetValueFromInifile($INST_cfgini$, "general", "dnsdomain", $INST_DnsDomainName$)
[6] [2021-08-23 15:44:54.135] []         reading the value to the key "dnsdomain" in section "general"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.135] []   The value of the variable "$INST_DnsDomainName$" is now: "ftigroup.net"
[5] [2021-08-23 15:44:54.135] [] comment: Getting dns domain from custom config file
[6] [2021-08-23 15:44:54.135] [] Set  $INST_DnsDomainName$ = GetValueFromInifile($INST_custom_Cfgini$, "general", "dnsdomain", $INST_DnsDomainName$)
[6] [2021-08-23 15:44:54.136] []         reading the value to the key "dnsdomain" in section "general"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "ftigroup.net"
[6] [2021-08-23 15:44:54.136] []   The value of the variable "$INST_DnsDomainName$" is now: "ftigroup.net"
[6] [2021-08-23 15:44:54.136] [] If
[7] [2021-08-23 15:44:54.136] []   $INST_DnsDomainName$ = ""   <<< result false
[6] [2021-08-23 15:44:54.136] []   ($INST_DnsDomainName$ = "")   <<< result false
[6] [2021-08-23 15:44:54.136] [] Then
[6] [2021-08-23 15:44:54.136] [] EndIf
[6] [2021-08-23 15:44:54.137] [] Set  $SHI_pckey$ = asConfidential(GetValueFromInifile($INST_cfgini$, "shareinfo", "pckey", ""))
[6] [2021-08-23 15:44:54.137] []   The value of the variable "$SHI_pckey$" is now: "***(confidential)***"
[5] [2021-08-23 15:44:54.138] [] comment: Getting values from from config file
[6] [2021-08-23 15:44:54.138] [] Set  $OCD_global.log_level$                  = GetValueFromInifile($INST_cfgini$, "opsiclientd", "global.log_level", $OCD_global.log_level$)
[6] [2021-08-23 15:44:54.138] []         reading the value to the key "global.log_level" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.138] []   The value of the variable "$OCD_global.log_level$" is now: "6"
[6] [2021-08-23 15:44:54.138] [] Set  $OCD_config_service.url$                = GetValueFromInifile($INST_cfgini$, "opsiclientd", "config_service.url", $OCD_config_service.url$)
[6] [2021-08-23 15:44:54.139] []         reading the value to the key "config_service.url" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.139] []   The value of the variable "$OCD_config_service.url$" is now: "https://ph-opsi.peiker-holding.de:4447"
[6] [2021-08-23 15:44:54.139] [] Set  $OCD_config_service.connection_timeout$ = GetValueFromInifile($INST_cfgini$, "opsiclientd", "config_service.connection_timeout", $OCD_config_service.connection_timeout$)
[6] [2021-08-23 15:44:54.140] []         reading the value to the key "config_service.connection_timeout" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  "10"
[6] [2021-08-23 15:44:54.140] []   The value of the variable "$OCD_config_service.connection_timeout$" is now: "30"
[6] [2021-08-23 15:44:54.140] [] Set  $OCD_control_server.port$               = GetValueFromInifile($INST_cfgini$, "opsiclientd", "control_server.port", $OCD_control_server.port$)
[6] [2021-08-23 15:44:54.141] []         reading the value to the key "control_server.port" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.141] []   The value of the variable "$OCD_control_server.port$" is now: "4441"
[6] [2021-08-23 15:44:54.141] [] Set  $OCD_notification_server.port$          = GetValueFromInifile($INST_cfgini$, "opsiclientd", "notification_server.port", $OCD_notification_server.port$)
[6] [2021-08-23 15:44:54.141] []         reading the value to the key "notification_server.port" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.141] []   The value of the variable "$OCD_notification_server.port$" is now: "4442"
[6] [2021-08-23 15:44:54.142] [] Set  $OCD_open_firewall_for_control_server$  = GetValueFromInifile($INST_cfgini$, "opsiclientd", "open_firewall_for_control_server", $OCD_open_firewall_for_control_server$)
[6] [2021-08-23 15:44:54.142] []         reading the value to the key "open_firewall_for_control_server" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.142] []   The value of the variable "$OCD_open_firewall_for_control_server$" is now: "1"
[6] [2021-08-23 15:44:54.142] [] Set  $OLB_LogLevel$                          = GetValueFromInifile($INST_cfgini$, "opsiLoginBlocker", "LogLevel", $OLB_LogLevel$)
[6] [2021-08-23 15:44:54.143] []         reading the value to the key "LogLevel" in section "opsiLoginBlocker"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  ""
[6] [2021-08-23 15:44:54.143] []   The value of the variable "$OLB_LogLevel$" is now: "5"
[6] [2021-08-23 15:44:54.143] [] Set  $OLB_LoginBlockerStart$                 = GetValueFromInifile($INST_cfgini$, "opsiLoginBlocker", "LoginBlockerStart", $OLB_LoginBlockerStart$)
[6] [2021-08-23 15:44:54.144] []         reading the value to the key "LoginBlockerStart" in section "opsiLoginBlocker"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  "1"
[6] [2021-08-23 15:44:54.144] []   The value of the variable "$OLB_LoginBlockerStart$" is now: "1"
[6] [2021-08-23 15:44:54.144] [] Set  $OLB_LoginBlockerTimeoutConnect$        = GetValueFromInifile($INST_cfgini$, "opsiLoginBlocker", "LoginBlockerTimeoutConnect", $OLB_LoginBlockerTimeoutConnect$)
[6] [2021-08-23 15:44:54.144] []         reading the value to the key "LoginBlockerTimeoutConnect" in section "opsiLoginBlocker"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  "120"
[6] [2021-08-23 15:44:54.145] []   The value of the variable "$OLB_LoginBlockerTimeoutConnect$" is now: "120"
[5] [2021-08-23 15:44:54.145] [] comment: Getting values (overwrite)from from custom config file
[6] [2021-08-23 15:44:54.145] [] Set  $OCD_global.log_level$                  = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "global.log_level", $OCD_global.log_level$)
[6] [2021-08-23 15:44:54.145] []         reading the value to the key "global.log_level" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "6"
[6] [2021-08-23 15:44:54.145] []   The value of the variable "$OCD_global.log_level$" is now: "6"
[6] [2021-08-23 15:44:54.146] [] Set  $OCD_config_service.url$                = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "config_service.url", $OCD_config_service.url$)
[6] [2021-08-23 15:44:54.146] []         reading the value to the key "config_service.url" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "https://ph-opsi.peiker-holding.de:4447"
[6] [2021-08-23 15:44:54.146] []   The value of the variable "$OCD_config_service.url$" is now: "https://ph-opsi.peiker-holding.de:4447"
[6] [2021-08-23 15:44:54.146] [] Set  $OCD_config_service.connection_timeout$ = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "config_service.connection_timeout", $OCD_config_service.connection_timeout$)
[6] [2021-08-23 15:44:54.147] []         reading the value to the key "config_service.connection_timeout" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "30"
[6] [2021-08-23 15:44:54.147] []   The value of the variable "$OCD_config_service.connection_timeout$" is now: "30"
[6] [2021-08-23 15:44:54.147] [] Set  $OCD_control_server.port$               = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "control_server.port", $OCD_control_server.port$)
[6] [2021-08-23 15:44:54.147] []         reading the value to the key "control_server.port" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "4441"
[6] [2021-08-23 15:44:54.148] []   The value of the variable "$OCD_control_server.port$" is now: "4441"
[6] [2021-08-23 15:44:54.148] [] Set  $OCD_notification_server.port$          = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "notification_server.port", $OCD_notification_server.port$)
[6] [2021-08-23 15:44:54.148] []         reading the value to the key "notification_server.port" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "4442"
[6] [2021-08-23 15:44:54.148] []   The value of the variable "$OCD_notification_server.port$" is now: "4442"
[6] [2021-08-23 15:44:54.148] [] Set  $OCD_open_firewall_for_control_server$  = GetValueFromInifile($INST_custom_Cfgini$, "opsiclientd", "open_firewall_for_control_server", $OCD_open_firewall_for_control_server$)
[6] [2021-08-23 15:44:54.149] []         reading the value to the key "open_firewall_for_control_server" in section "opsiclientd"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "1"
[6] [2021-08-23 15:44:54.149] []   The value of the variable "$OCD_open_firewall_for_control_server$" is now: "1"
[6] [2021-08-23 15:44:54.149] [] Set  $OLB_LogLevel$                          = GetValueFromInifile($INST_custom_Cfgini$, "opsiLoginBlocker", "LogLevel", $OLB_LogLevel$)
[6] [2021-08-23 15:44:54.150] []         reading the value to the key "LogLevel" in section "opsiLoginBlocker"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "5"
[6] [2021-08-23 15:44:54.150] []   The value of the variable "$OLB_LogLevel$" is now: "5"
[6] [2021-08-23 15:44:54.150] [] Set  $OLB_LoginBlockerStart$                 = GetValueFromInifile($INST_custom_Cfgini$, "opsiLoginBlocker", "LoginBlockerStart", $OLB_LoginBlockerStart$)
[6] [2021-08-23 15:44:54.150] []         reading the value to the key "LoginBlockerStart" in section "opsiLoginBlocker"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "1"
[6] [2021-08-23 15:44:54.150] []   The value of the variable "$OLB_LoginBlockerStart$" is now: "1"
[6] [2021-08-23 15:44:54.150] [] Set  $OLB_LoginBlockerTimeoutConnect$        = GetValueFromInifile($INST_custom_Cfgini$, "opsiLoginBlocker", "LoginBlockerTimeoutConnect", $OLB_LoginBlockerTimeoutConnect$)
[6] [2021-08-23 15:44:54.151] []         reading the value to the key "LoginBlockerTimeoutConnect" in section "opsiLoginBlocker"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "120"
[6] [2021-08-23 15:44:54.151] []   The value of the variable "$OLB_LoginBlockerTimeoutConnect$" is now: "120"
[6] [2021-08-23 15:44:54.151] [] If
[6] [2021-08-23 15:44:54.151] []   contains( $OCD_config_service.url$, "," )   <<< result false
[6] [2021-08-23 15:44:54.151] [] Then
[6] [2021-08-23 15:44:54.152] [] EndIf
[6] [2021-08-23 15:44:54.152] [] If
[4] [2021-08-23 15:44:54.152] []   Property not existing in GetProductProperty - using default
[6] [2021-08-23 15:44:54.152] []   GetProductProperty ("LoginBlockerStart","") = "on"   <<< result false
[6] [2021-08-23 15:44:54.152] [] Then
[6] [2021-08-23 15:44:54.152] [] EndIf
[6] [2021-08-23 15:44:54.152] [] If
[4] [2021-08-23 15:44:54.153] []   Property not existing in GetProductProperty - using default
[6] [2021-08-23 15:44:54.153] []   GetProductProperty ("LoginBlockerStart","") = "off"   <<< result false
[6] [2021-08-23 15:44:54.153] [] Then
[6] [2021-08-23 15:44:54.153] [] EndIf
[5] [2021-08-23 15:44:54.153] [] comment: Getting values from from config file
[6] [2021-08-23 15:44:54.153] [] Set  $INST_Service_User$          	= GetValueFromInifile($INST_cfgini$, "installation", "service_user", $INST_Service_User$)
[6] [2021-08-23 15:44:54.154] []         reading the value to the key "service_user" in section "installation"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\config.ini", default value  "pcpatch"
[6] [2021-08-23 15:44:54.154] []   The value of the variable "$INST_Service_User$" is now: "adminuser"
[6] [2021-08-23 15:44:54.154] [] Set  $INST_Service_Password$      	= asConfidential(GetValueFromInifile($INST_cfgini$, "installation", "service_password", $INST_Service_Password$))
[6] [2021-08-23 15:44:54.155] []   The value of the variable "$INST_Service_Password$" is now: "***(confidential)***"
[6] [2021-08-23 15:44:54.155] [] Set  $INST_service_hidden_password$      	= asConfidential(GetValueFromInifile($INST_cfgini$, "installation", "service_hidden_password", $INST_service_hidden_password$))
[6] [2021-08-23 15:44:54.155] []   The value of the variable "$INST_service_hidden_password$" is now: ""
[5] [2021-08-23 15:44:54.156] [] comment: Getting values (overwrite)from from custom config file
[6] [2021-08-23 15:44:54.156] [] Set  $INST_Service_User$          	= GetValueFromInifile($INST_custom_Cfgini$, "installation", "service_user", $INST_Service_User$)
[6] [2021-08-23 15:44:54.156] []         reading the value to the key "service_user" in section "installation"  from inifile  "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\custom\config.ini", default value  "adminuser"
[6] [2021-08-23 15:44:54.156] []   The value of the variable "$INST_Service_User$" is now: "adminuser"
[6] [2021-08-23 15:44:54.156] [] Set  $INST_Service_Password$      	= asConfidential(GetValueFromInifile($INST_custom_Cfgini$, "installation", "service_password", $INST_Service_Password$))
[6] [2021-08-23 15:44:54.157] []   The value of the variable "$INST_Service_Password$" is now: "***(confidential)***"
[6] [2021-08-23 15:44:54.157] [] Set  $INST_service_hidden_password$      	= asConfidential(GetValueFromInifile($INST_custom_Cfgini$, "installation", "service_hidden_password", $INST_service_hidden_password$))
[6] [2021-08-23 15:44:54.158] []   The value of the variable "$INST_service_hidden_password$" is now: ""
[6] [2021-08-23 15:44:54.158] [] If
[7] [2021-08-23 15:44:54.158] []   $INST_service_hidden_password$ = ""   <<< result true
[6] [2021-08-23 15:44:54.158] []   not ($INST_service_hidden_password$ = "")   <<< result false
[6] [2021-08-23 15:44:54.158] [] Then
[6] [2021-08-23 15:44:54.158] [] EndIf
[6] [2021-08-23 15:44:54.158] [] If
[6] [2021-08-23 15:44:54.158] []     Starting query if file exists ...
[6] [2021-08-23 15:44:54.158] []   Not found: "c:\opsi.org\tmp\opsi-client-agent_inst\files\opsi\cfg\sysconf.ini":
[7] [2021-08-23 15:44:54.158] []   FileExists ($INST_sysconfini$)   <<< result false
[6] [2021-08-23 15:44:54.158] []   (FileExists ($INST_sysconfini$))   <<< result false
[6] [2021-08-23 15:44:54.158] [] Then
[6] [2021-08-23 15:44:54.159] [] EndIf
[6] [2021-08-23 15:44:54.159] [] If
[6] [2021-08-23 15:44:54.159] []   $INST_pcname$ = ""   <<< result false
[6] [2021-08-23 15:44:54.159] [] Then
[6] [2021-08-23 15:44:54.159] [] EndIf
[6] [2021-08-23 15:44:54.159] [] Set  $INST_pcname$ = lower($INST_pcname$)
[6] [2021-08-23 15:44:54.160] []   The value of the variable "$INST_pcname$" is now: "fti-nb353"
[6] [2021-08-23 15:44:54.160] [] Set  $INST_pcname$ = stringReplace($INST_pcname$,"_","-")
[6] [2021-08-23 15:44:54.160] []   The value of the variable "$INST_pcname$" is now: "fti-nb353"
[6] [2021-08-23 15:44:54.160] [] If
[7] [2021-08-23 15:44:54.160] []   $INST_DnsDomainName$ = ""   <<< result false
[6] [2021-08-23 15:44:54.160] []   not ($INST_DnsDomainName$ = "")   <<< result true
[6] [2021-08-23 15:44:54.160] [] Then
[6] [2021-08-23 15:44:54.160] []   Set  $INST_ClientId$ = $INST_pcname$ + "." + $INST_DnsDomainName$
[6] [2021-08-23 15:44:54.161] []     The value of the variable "$INST_ClientId$" is now: "fti-nb353.ftigroup.net"
[6] [2021-08-23 15:44:54.161] [] EndIf
[6] [2021-08-23 15:44:54.161] [] If
[6] [2021-08-23 15:44:54.161] []   $GEN_bootmode$ = ""   <<< result false
[6] [2021-08-23 15:44:54.161] [] Then
[6] [2021-08-23 15:44:54.161] [] EndIf
[6] [2021-08-23 15:44:54.161] [] If
[6] [2021-08-23 15:44:54.161] []   $INST_Modus$ = "INSTALL"   <<< result true
[6] [2021-08-23 15:44:54.161] [] Then
[6] [2021-08-23 15:44:54.161] []   If
[6] [2021-08-23 15:44:54.161] []     $INST_SubModus$ = "BOOTIMAGE"   <<< result false
[6] [2021-08-23 15:44:54.162] []   Then
[6] [2021-08-23 15:44:54.162] []   EndIf
[6] [2021-08-23 15:44:54.162] []   If
[6] [2021-08-23 15:44:54.162] []     $INST_SubModus$ = "CREATE_CLIENT"   <<< result false
[6] [2021-08-23 15:44:54.162] []   Then
[6] [2021-08-23 15:44:54.162] []   EndIf
[6] [2021-08-23 15:44:54.162] [] EndIf
[6] [2021-08-23 15:44:54.162] [] If
[7] [2021-08-23 15:44:54.162] []   $SHI_pckey$ = ""   <<< result false
[7] [2021-08-23 15:44:54.163] []   $SHI_pckey$ = "***(confidential)***"   <<< result true
[7] [2021-08-23 15:44:54.163] []   ($SHI_pckey$ = "***(confidential)***")   <<< result true
[7] [2021-08-23 15:44:54.163] []   ($SHI_pckey$ = "") or ($SHI_pckey$ = "***(confidential)***")   <<< result true
[6] [2021-08-23 15:44:54.163] []   (($SHI_pckey$ = "") or ($SHI_pckey$ = "***(confidential)***"))   <<< result true
[6] [2021-08-23 15:44:54.163] [] Then
[6] [2021-08-23 15:44:54.163] []   If
[6] [2021-08-23 15:44:54.163] []       Starting query if file exists ...
[6] [2021-08-23 15:44:54.163] []     Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf":
[6] [2021-08-23 15:44:54.163] []     FileExists ($INST_OpsiclientdConf$)   <<< result false
[6] [2021-08-23 15:44:54.163] []   Then
[6] [2021-08-23 15:44:54.163] []   Else
[6] [2021-08-23 15:44:54.163] []     If
[6] [2021-08-23 15:44:54.163] []         Starting query if file exists ...
[6] [2021-08-23 15:44:54.163] []       Not found: "C:\Program Files (x86)\opsi.org\preloginloader\opsiclientd\opsiclientd.conf":
[6] [2021-08-23 15:44:54.163] []       FileExists ("C:\Program Files (x86)\opsi.org\preloginloader\opsiclientd\opsiclientd.conf")   <<< result false
[6] [2021-08-23 15:44:54.163] []     Then
[6] [2021-08-23 15:44:54.164] []     Else
[6] [2021-08-23 15:44:54.164] []       If
[6] [2021-08-23 15:44:54.164] []           Starting query if file exists ...
[6] [2021-08-23 15:44:54.164] []         Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\cfg\locked.cfg":
[6] [2021-08-23 15:44:54.164] []         FileExists ($INST_BaseDir$+"\cfg\locked.cfg")   <<< result false
[6] [2021-08-23 15:44:54.164] []       Then
[6] [2021-08-23 15:44:54.164] []       Else
[6] [2021-08-23 15:44:54.164] []         If
[6] [2021-08-23 15:44:54.164] []             Starting query if file exists ...
[6] [2021-08-23 15:44:54.164] []           Not found: "C:\Program Files (x86)\opsi.org\preloginloader\cfg\locked.cfg":
[6] [2021-08-23 15:44:54.164] []           FileExists ("C:\Program Files (x86)\opsi.org\preloginloader\cfg\locked.cfg")   <<< result false
[6] [2021-08-23 15:44:54.164] []         Then
[6] [2021-08-23 15:44:54.164] []         Else
[3] [2021-08-23 15:44:54.165] []           Error: pckey not found - please reinstall opsi-client-agent
[2] [2021-08-23 15:44:54.165] []           Error level set to fatal
[6] [2021-08-23 15:44:54.165] []           Process aborted
[1] [2021-08-23 15:44:54.165] [] ___________________
[1] [2021-08-23 15:44:54.165] [] script finished: failed
[1] [2021-08-23 15:44:54.165] [] 1 error
[1] [2021-08-23 15:44:54.165] [] 0 warnings
[1] [2021-08-23 15:44:54.165] [] 
[1] [2021-08-23 15:44:54.165] [] 
[1] [2021-08-23 15:44:54.165] [] ============  opsi-script Version 4.12.4.21 is regularly exiting. Time 2021-08-23  15:44:54 .
Ich habe mal den Client aus dem opsi config editor rausgeschmissen, den temporären Ordner opsi.org auf dem Client gelöscht und neu versucht.

Ohne Erfolg. Ärgerlich ist das das Installationsscript auf der Konsole eine Erfolgsmeldung bringt, auch wenn der Client nicht erfolgreich installiert ist.
Auf den anderen vier Rechnern lief die Installation über das Clientseitig aufgerufene Script wiederherum erfolgreich durch.

Mit diesem einen Rechner versuche/hoffe ich das Problem mal final zu lösen,...
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Re: Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

n.doerrer hat geschrieben: 21 Jul 2021, 12:09 Übrigens: in opsi-client-agent 4.2.0.0 (aktuell noch in experimental) haben wir die Installation von vc_redist (und generell das ganze Setup) umgebaut, simpler und robuster gemacht. Eventuell wäre es damit einen Versuch wert.
Die Version werde ich gleich mal testen.
Zu dem nicht zensierten Passwort in opsi-deploy-client-agent: Das war Resultat eines Bugs und ist in opsi-client-agent 4.1.1.41-1 (aktuell in stable) gefixt.
Das kann ich bestätigen.

Grüße

Gregor
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
g.burck
Beiträge: 199
Registriert: 23 Mai 2018, 16:44

Re: Installation opsi-client-agent schlägt fehl

Beitrag von g.burck »

Nach der Verwendung des opsi-client-agent 4.2.0.0 klappte die Verteilung über die CLI!

Ich hoffe die Version bringt keine Probleme für die bestehenden Clients ;-)
Mal sehen, wie es sich bei den künftigen Geräten dann verhält.
opsi config editor Version 4.1.9.8.5 (2021/04/12)

opsiconfd 4.2.0.286
Antworten