opsiclientd Dienst startet nicht mehr automatisch

Antworten
MarcH
Beiträge: 4
Registriert: 02 Sep 2015, 16:29

opsiclientd Dienst startet nicht mehr automatisch

Beitrag von MarcH »

Hi,

seit dem Upgrade auf Windows 10 Pro (von Windows 8.1 Pro) startet der Dienst "opsiclientd" auf 6 von 18 Geräten einer FTS Modellserie nicht mehr automatisch. Ein manueller nachträglicher Start ist problemlos möglich, dann funktioniert OPSI auch uneingeschränkt.
Vor dem Upgrade lief alles anstandslos.

Der Loginblocker wird aktiv und lässt ca. 30 Sekunden keine Anmeldung zu. Anschließend erscheint die Benutzeranmeldung und der Bootvorgang ist abgeschlossen.

Das Eventlog meldet folgenden Fehler:

Ereignis-ID 7009 und 7000
"Das Zeitlimit (30000 ms) wurde beim Verbindungsversuch mit dem Dienst opsiclientd erreicht."
"Der Dienst "opsiclientd" wurde aufgrund folgenden Fehlers nicht gestartet: Der Dienst antwortete nicht rechtzeitig auf die Start- oder Steuerungsanforderung."

Der OPSI-Server wird mittels den folgenden Befehlen stets aktualisiert:
- apt-get update / apt-get upgrade
- opsi-setup --init-current-config
- opsi-setup --set-rights
- opsi-setup --update-mysql

Folgende vermeintliche Versuche wurden bereits zur Behebung unternommen:
- Mehrfache OPSI-Client-Agent De- und Installation, mittels "service_setup.cmd" oder über die OPSI-GUI
-> Den Ordner C:\opsi.org vor der Installation testweise auch entfernt
- DHCP/DNS-Client Dienst deaktiviert
- DHCP/DNS-Client aus "depends_on_service" entfernt
- ipconfig /flushdns
- Mit oder ohne Netzwerkkabel ändert nichts
- Windows Defender deaktiviert
- Windows Updates
- sfc /scannow
- Windows Berechtigungen des Ordners C:\opsi.org verglichen

Weitere Informationen:

- Die PCs befinden sich in einer Arbeitsgruppe bzw. nicht in einer Domäne
- Die PCs wurden damals mit demselben Image bespielt (+ Sysprep)
- Gleiche Netzwerkkonfiguration aller Clients

Nach dem alle Versuche fehlschlugen, wurde mittels "opsi-product-updater -vvv" alle Pakete erfolgreich aktualisiert.
Die Aktualisierung (auch inkl. mehrfacher De- und Installation) des opsi-client-agent von 4.0.5.4-2 auf 4.0.6.3-6 brachte auch nicht die Lösung.
Opsi-winst war vorher nicht installiert und ist jetzt aktuell in Version 4.11.5.14-2.

Da ich mit meinem Latein am Ende bin, wende ich mich heute an das Forum.

Vielen Dank und Gruß
Marc

opsi-client-agent.log (Auszüge):

Code: Alles auswählen

[7] [Jan 20 13:54:01:698]   Registry started with redirection (32 Bit)
[6] [Jan 20 13:54:01:698]     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.<"
[5] [Jan 20 13:54:01:698]   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}] DisplayVersion") = "9.0.30729.4148"   <<< result false
[6] [Jan 20 13:54:01:698] Then
[6] [Jan 20 13:54:01:698] EndIf
[6] [Jan 20 13:54:01:698] If
[7] [Jan 20 13:54:01:698]   Registry started readonly
[7] [Jan 20 13:54:01:698]   Registry started with redirection (32 Bit)
[6] [Jan 20 13:54:01:698]     Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}]  opened
[6] [Jan 20 13:54:01:698]     Key closed
[5] [Jan 20 13:54:01:698]   GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}] DisplayVersion") = "9.0.21022"   <<< result true
[6] [Jan 20 13:54:01:698] Then
[5] [Jan 20 13:54:01:698]   comment: vcredistx86 Version 9.0.21022 is installed
[5] [Jan 20 13:54:01:698]   Set  $INST_vcredistx86_installed$ = "true"
[6] [Jan 20 13:54:01:698]     The value of the variable "$INST_vcredistx86_installed$" is now: "true"
[6] [Jan 20 13:54:01:698] EndIf
[6] [Jan 20 13:54:01:698] If
[5] [Jan 20 13:54:01:698]   CompareDotSeparatedNumbers($INST_NTVersion$,"4.0") <= "0"   <<< result false
[6] [Jan 20 13:54:01:698] Then
[6] [Jan 20 13:54:01:699] EndIf
[6] [Jan 20 13:54:01:699] If
[6] [Jan 20 13:54:01:699]     Free on Disk C:: 368.311.758.848 bytes  This is more than the required amount of 10.000.000 bytes
[5] [Jan 20 13:54:01:699]   HasMinimumSpace ("C:", "10 MB")   <<< result true
[5] [Jan 20 13:54:01:699]   not (HasMinimumSpace ("C:", "10 MB"))   <<< result false
[6] [Jan 20 13:54:01:699] Then
[6] [Jan 20 13:54:01:699] EndIf
[6] [Jan 20 13:54:01:699] If
[5] [Jan 20 13:54:01:699]   $INST_vcredistx86_installed$ = "false"   <<< result false
[6] [Jan 20 13:54:01:699] Then
[6] [Jan 20 13:54:01:699] EndIf
[5] [Jan 20 13:54:01:699] comment: set mode
[5] [Jan 20 13:54:01:699] Set  $INST_Paramstr$=PARAMSTR
[6] [Jan 20 13:54:01:699]   The value of the variable "$INST_Paramstr$" is now: "INSTALL:CREATE_CLIENT:REBOOT"
[5] [Jan 20 13:54:01:699] Set  $INST_ParamstrList$ = splitstring($INST_Paramstr$, ":")
[6] [Jan 20 13:54:01:699]     retrieving strings from splitstring [switch to loglevel 7 for debugging]
[7] [Jan 20 13:54:01:699]         (string   0)INSTALL
[7] [Jan 20 13:54:01:699]         (string   1)CREATE_CLIENT
[7] [Jan 20 13:54:01:699]         (string   2)REBOOT
[7] [Jan 20 13:54:01:699]         
[5] [Jan 20 13:54:01:699] comment: Modus normally set by commandline argument
[6] [Jan 20 13:54:01:699] If
[6] [Jan 20 13:54:01:699]       retrieving strings from $INST_ParamstrList$ [switch to loglevel 7 for debugging]
[7] [Jan 20 13:54:01:699]           (string   0)INSTALL
[7] [Jan 20 13:54:01:699]           (string   1)CREATE_CLIENT
[7] [Jan 20 13:54:01:699]           (string   2)REBOOT
[7] [Jan 20 13:54:01:699]           
[5] [Jan 20 13:54:01:699]   count($INST_ParamstrList$) > "0"   <<< result true
[6] [Jan 20 13:54:01:699] Then
[5] [Jan 20 13:54:01:699]   Set  $INST_MODUS$=takestring(0,$INST_ParamstrList$)
[6] [Jan 20 13:54:01:700]       retrieving strings from $INST_ParamstrList$ [switch to loglevel 7 for debugging]
[7] [Jan 20 13:54:01:700]           (string   0)INSTALL
[7] [Jan 20 13:54:01:700]           (string   1)CREATE_CLIENT
[7] [Jan 20 13:54:01:700]           (string   2)REBOOT
[7] [Jan 20 13:54:01:700]           
[6] [Jan 20 13:54:01:700]     The value of the variable "$INST_MODUS$" is now: "INSTALL"
[6] [Jan 20 13:54:01:700] EndIf
[6] [Jan 20 13:54:01:700] If
[6] [Jan 20 13:54:01:700]       retrieving strings from $INST_ParamstrList$ [switch to loglevel 7 for debugging]
[7] [Jan 20 13:54:01:700]           (string   0)INSTALL
[7] [Jan 20 13:54:01:700]           (string   1)CREATE_CLIENT
[7] [Jan 20 13:54:01:700]           (string   2)REBOOT
[7] [Jan 20 13:54:01:700]           
[5] [Jan 20 13:54:01:700]   count($INST_ParamstrList$) > "1"   <<< result true
[6] [Jan 20 13:54:01:700] Then
[5] [Jan 20 13:54:01:700]   Set  $INST_SubModus$=takestring(1,$INST_ParamstrList$)
[6] [Jan 20 13:54:01:700]       retrieving strings from $INST_ParamstrList$ [switch to loglevel 7 for debugging]
[7] [Jan 20 13:54:01:700]           (string   0)INSTALL
[7] [Jan 20 13:54:01:700]           (string   1)CREATE_CLIENT
[7] [Jan 20 13:54:01:700]           (string   2)REBOOT
[7] [Jan 20 13:54:01:700]           
[6] [Jan 20 13:54:01:700]     The value of the variable "$INST_SubModus$" is now: "CREATE_CLIENT"
[6] [Jan 20 13:54:01:700] EndIf
[5] [Jan 20 13:54:01:924]     $INST_SubModus$ = "CREATE_CLIENT"   <<< result true
[6] [Jan 20 13:54:01:924]   Then
[6] [Jan 20 13:54:01:925]     
[6] [Jan 20 13:54:01:925]     ~~~~~~~ Start Sub ~~~~~~~  sub_sub_create_client
[6] [Jan 20 13:54:01:930]     If
[5] [Jan 20 13:54:01:930]       $OCD_config_service.url$ = ""   <<< result false
[5] [Jan 20 13:54:01:930]       ($OCD_config_service.url$ = "")   <<< result false
[6] [Jan 20 13:54:01:930]     Then
[6] [Jan 20 13:54:01:930]     EndIf
[5] [Jan 20 13:54:01:931]     comment: Connect to service.....
[5] [Jan 20 13:54:01:931]     Set  $INST_userIsAdmin$ = "false"
[6] [Jan 20 13:54:01:931]       The value of the variable "$INST_userIsAdmin$" is now: "false"
[6] [Jan 20 13:54:01:931]     Marked error number 0
[5] [Jan 20 13:54:01:933]     
[5] [Jan 20 13:54:01:933]     Execution of opsiservicecall_authenticated
[6] [Jan 20 13:54:01:933]          "method": "authenticated"
[3] [Jan 20 13:54:01:933]       Error: service not initialized
[3] [Jan 20 13:54:01:933]       Error: no connection to service
[6] [Jan 20 13:54:01:933]     If
[5] [Jan 20 13:54:01:933]       errorsOccuredSinceMark > 0   <<< result true
[6] [Jan 20 13:54:01:933]     Then
[5] [Jan 20 13:54:01:934]       Set  $INST_error$ = "true"
[6] [Jan 20 13:54:01:934]         The value of the variable "$INST_error$" is now: "true"
[5] [Jan 20 13:54:01:934]       comment: was not authenticated -> retry scripted login by default user/password

[6] [Jan 20 13:55:20:895] ~~~~~~ End Loop
[5] [Jan 20 13:55:20:896] comment: $INST_AllowReboot$ -> true
[5] [Jan 20 13:55:20:896] comment: $INST_BaseDir$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent
[5] [Jan 20 13:55:20:897] comment: $INST_Cfgini$ -> c:\opsi.org\tmp\opsi\cfg\config.ini
[5] [Jan 20 13:55:20:898] comment: $INST_custom_Cfgini$ -> c:\opsi.org\tmp\opsi\custom\config.ini
[5] [Jan 20 13:55:20:898] comment: $INST_ClientExists$ -> 
[5] [Jan 20 13:55:20:899] comment: $INST_ClientId$ -> dw-kdg-10.hsetu.grp
[5] [Jan 20 13:55:20:899] comment: $INST_ComputerName$ -> 
[5] [Jan 20 13:55:20:900] comment: $INST_Debug$ -> off
[5] [Jan 20 13:55:20:900] comment: $INST_DepotServer$ -> sl-deploy
[5] [Jan 20 13:55:20:901] comment: $INST_DnsDomainName$ -> hsetu.grp
[5] [Jan 20 13:55:20:902] comment: $INST_IPAddress$ -> 10.0.10.198
[5] [Jan 20 13:55:20:902] comment: $INST_ImmediateRebootFlag$ -> 
[5] [Jan 20 13:55:20:903] comment: $INST_MAC$ -> 00:19:99:e8:a9:b9
[5] [Jan 20 13:55:20:903] comment: $INST_MinorOS$ -> Win NT 10.0
[5] [Jan 20 13:55:20:904] comment: $INST_Modus$ -> INSTALL
[5] [Jan 20 13:55:20:905] comment: $INST_NetBootProductname$ -> 
[5] [Jan 20 13:55:20:905] comment: $INST_NicIndex$ -> 
[5] [Jan 20 13:55:20:906] comment: $INST_NotifierDir$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier
[5] [Jan 20 13:55:20:906] comment: $INST_NTVersion$ -> 10.0
[5] [Jan 20 13:55:20:907] comment: $INST_ProductType$ -> 1
[5] [Jan 20 13:55:20:908] comment: $INST_OS$ -> Windows_NT
[5] [Jan 20 13:55:20:908] comment: $INST_OpensslConfigFile$ -> c:\opsi.org\tmp\opsiclientd.cnf
[5] [Jan 20 13:55:20:909] comment: $INST_OpensslBaseDir$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\openssl
[5] [Jan 20 13:55:20:909] comment: $INST_OpsiClientdCertificateFile$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.pem
[5] [Jan 20 13:55:20:910] comment: $INST_OpsiclientdDir$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd
[5] [Jan 20 13:55:20:911] comment: $INST_OpsiclientdConf$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf
[5] [Jan 20 13:55:20:911] comment: $INST_OpsiclientdRPCDir$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_rpc
[5] [Jan 20 13:55:20:912] comment: $INST_ActionProcessorStarterDir$ -> C:\Program Files (x86)\opsi.org\opsi-client-agent\action_processor_starter
[5] [Jan 20 13:55:20:912] comment: $INST_Paramstr$ -> INSTALL:CREATE_CLIENT:REBOOT
[5] [Jan 20 13:55:20:913] comment: $INST_Pcname$ -> dw-kdg-10
[5] [Jan 20 13:55:20:913] comment: $INST_RebootFlag$ -> 
[5] [Jan 20 13:55:20:914] comment: $INST_Result$ -> 
[5] [Jan 20 13:55:20:917] comment: $INST_ServiceName$ -> 
[5] [Jan 20 13:55:20:917] comment: $INST_Service_User$ -> adminuser
[5] [Jan 20 13:55:20:918] comment: $INST_service_hidden_password$ -> 
[6] [Jan 20 13:55:20:918] If
[5] [Jan 20 13:55:20:919]   $INST_service_hidden_password$ = ""   <<< result true
[5] [Jan 20 13:55:20:919]   not ($INST_service_hidden_password$ = "")   <<< result false
[6] [Jan 20 13:55:20:919] Then
opsi_loginblocker.log:

Code: Alles auswählen

[5] 2016-01-20 15:57:52 Old Logfile from: 19.1.2016 renamed - new Logfile created: 20.1.2016
[5] 2016-01-20 15:57:52 ------------------------------------------------------------------------
[5] 2016-01-20 15:57:52 OS Version: 10.0 (unknown version)
[5] 2016-01-20 15:57:52 Filtering credential providers
[5] 2016-01-20 15:57:52 Registry: start of opsiclientd service is enabled, waiting for service to start ...
[5] 2016-01-20 15:57:52 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:57:52 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:57:55 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:57:58 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:01 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:04 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:07 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:10 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:13 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:16 Service opsiclientd is starting (SERVICE_START_PENDING).
[5] 2016-01-20 15:58:19 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:22 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:25 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:28 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:31 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:34 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:37 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:41 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:44 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:47 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:50 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:53 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:56 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:58:59 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:02 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:05 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:08 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:11 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:14 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:17 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:20 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:23 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:26 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:29 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:32 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:35 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:38 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:41 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:44 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:47 Service opsiclientd is not running (SERVICE_STOPPED)
[5] 2016-01-20 15:59:50 Service opsiclientd is not running (SERVICE_STOPPED)
[4] 2016-01-20 15:59:53 write timeout file C:\opsi.org\log\opsiclientd_timeout.txt
[3] 2016-01-20 15:59:53 ** Timeout at: 2016-01-20 15:59:53, created timeout file C:\opsi.org\log\opsiclientd_timeout.txt
[3] 2016-01-20 15:59:53 *** ABORT Loginblocker: no connect to opsiclientd ***
[3] 2016-01-20 15:59:53 *****************************************************
[5] 2016-01-20 15:59:53 ------------------------------------------------------------------------------------
[5] 2016-01-20 15:59:53 START OpsiLoginBlocker
[5] 2016-01-20 15:59:53 ------------------------------------------------------------------------------------
[5] 2016-01-20 15:59:53 Getting config from registry
[5] 2016-01-20 15:59:53 LoginBlockerLogLevel is: 5
[5] 2016-01-20 15:59:53 Read LoginBlockerLogDir from Registry and switch to Logfile 'C:\opsi.org\log'
[5] 2016-01-20 15:59:53 According to LoginBlockerLogDir Logfile='C:\opsi.org\log\opsi_loginblocker.log'
[5] 2016-01-20 15:59:53 LoginBlockerStart is: 1
[5] 2016-01-20 15:59:53 LoginBlockerTimeoutConnect is: 120 seconds
[5] 2016-01-20 15:59:53 Config read from registry.
[5] 2016-01-20 15:59:53 handleLogfileAging started.
[5] 2016-01-20 15:59:53 Check logfile age: 20.1.2016 - current date: 20.1.2016
[5] 2016-01-20 15:59:53 ------------------------------------------------------------------------
[5] 2016-01-20 15:59:53 Keep current logfile.
[5] 2016-01-20 15:59:53 ------------------------------------------------------------------------
[5] 2016-01-20 15:59:53 OS Version: 10.0 (unknown version)
[5] 2016-01-20 15:59:53 Filtering credential providers
[5] 2016-01-20 15:59:53 Registry: start of opsiclientd service is enabled, waiting for service to start ...
[5] 2016-01-20 15:59:53 Service opsiclientd is not running (SERVICE_STOPPED)
[4] 2016-01-20 15:59:53 ** last timeout: 2016-01-20 15:59:53 (Timeout file found C:\opsi.org\log\opsiclientd_timeout.txt)
[4] 2016-01-20 15:59:53 ** boot time at: 2016-01-20 15:57:09
[4] 2016-01-20 15:59:53 ** timeout already occured during this uptime
[3] 2016-01-20 15:59:53 *** ABORT Loginblocker: no connect to opsiclientd ***
[3] 2016-01-20 15:59:53 *****************************************************
[5] 2016-01-20 16:23:13 ------------------------------------------------------------------------------------
[5] 2016-01-20 16:23:13 START OpsiLoginBlocker
[5] 2016-01-20 16:23:13 ------------------------------------------------------------------------------------
[5] 2016-01-20 16:23:13 Getting config from registry
[5] 2016-01-20 16:23:13 LoginBlockerLogLevel is: 5
[5] 2016-01-20 16:23:13 Read LoginBlockerLogDir from Registry and switch to Logfile 'C:\opsi.org\log'
[5] 2016-01-20 16:23:13 According to LoginBlockerLogDir Logfile='C:\opsi.org\log\opsi_loginblocker.log'
[5] 2016-01-20 16:23:13 LoginBlockerStart is: 1
[5] 2016-01-20 16:23:13 LoginBlockerTimeoutConnect is: 120 seconds
[5] 2016-01-20 16:23:13 Config read from registry.
[5] 2016-01-20 16:23:13 handleLogfileAging started.
[5] 2016-01-20 16:23:13 Check logfile age: 20.1.2016 - current date: 20.1.2016
[5] 2016-01-20 16:23:13 ------------------------------------------------------------------------
[5] 2016-01-20 16:23:13 Keep current logfile.
[5] 2016-01-20 16:23:13 ------------------------------------------------------------------------
[5] 2016-01-20 16:23:13 OS Version: 10.0 (unknown version)
[5] 2016-01-20 16:23:13 Filtering credential providers
[5] 2016-01-20 16:23:13 Registry: start of opsiclientd service is enabled, waiting for service to start ...
[5] 2016-01-20 16:23:13 Service opsiclientd is not running (SERVICE_STOPPED)
[4] 2016-01-20 16:23:13 ** last timeout: 2016-01-20 15:59:53 (Timeout file found C:\opsi.org\log\opsiclientd_timeout.txt)
[4] 2016-01-20 16:23:13 ** boot time at: 2016-01-20 15:57:09
[4] 2016-01-20 16:23:13 ** timeout already occured during this uptime
[3] 2016-01-20 16:23:13 *** ABORT Loginblocker: no connect to opsiclientd ***
[3] 2016-01-20 16:23:13 *****************************************************
[5] 2016-01-20 16:23:16 ------------------------------------------------------------------------------------
[5] 2016-01-20 16:23:16 START OpsiLoginBlocker
[5] 2016-01-20 16:23:16 ------------------------------------------------------------------------------------
[5] 2016-01-20 16:23:16 Getting config from registry
[5] 2016-01-20 16:23:16 LoginBlockerLogLevel is: 5
[5] 2016-01-20 16:23:16 Read LoginBlockerLogDir from Registry and switch to Logfile 'C:\opsi.org\log'
[5] 2016-01-20 16:23:16 According to LoginBlockerLogDir Logfile='C:\opsi.org\log\opsi_loginblocker.log'
[5] 2016-01-20 16:23:16 LoginBlockerStart is: 1
[5] 2016-01-20 16:23:16 LoginBlockerTimeoutConnect is: 120 seconds
[5] 2016-01-20 16:23:16 Config read from registry.
[5] 2016-01-20 16:23:16 handleLogfileAging started.
[5] 2016-01-20 16:23:16 Check logfile age: 20.1.2016 - current date: 20.1.2016
[5] 2016-01-20 16:23:16 ------------------------------------------------------------------------
[5] 2016-01-20 16:23:16 Keep current logfile.
[5] 2016-01-20 16:23:16 ------------------------------------------------------------------------
[5] 2016-01-20 16:23:16 OS Version: 10.0 (unknown version)
[5] 2016-01-20 16:23:16 Filtering credential providers
[5] 2016-01-20 16:23:16 Registry: start of opsiclientd service is enabled, waiting for service to start ...
[5] 2016-01-20 16:23:16 Service opsiclientd is not running (SERVICE_STOPPED)
[4] 2016-01-20 16:23:16 ** last timeout: 2016-01-20 15:59:53 (Timeout file found C:\opsi.org\log\opsiclientd_timeout.txt)
[4] 2016-01-20 16:23:16 ** boot time at: 2016-01-20 15:57:09
[4] 2016-01-20 16:23:16 ** timeout already occured during this uptime
[3] 2016-01-20 16:23:16 *** ABORT Loginblocker: no connect to opsiclientd ***
[3] 2016-01-20 16:23:16 *****************************************************
opsiclientd_timeout.log:

Code: Alles auswählen

1453301993 - opsiloginblocker detected opsiclientd timeout: 2016-01-20 15:59:53
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: opsiclientd Dienst startet nicht mehr automatisch

Beitrag von n.wenselowski »

Hi,

gehe ich recht in der Annahme, dass es hier ein Update über dieses MS-Update-Tool war und keine Neuinstallation?

Sieht man im Windows Event Viewer irgendwas auffälliges?


Gruß

Niko

Code: Alles auswählen

import OPSI
MarcH
Beiträge: 4
Registriert: 02 Sep 2015, 16:29

Re: opsiclientd Dienst startet nicht mehr automatisch

Beitrag von MarcH »

Hi Niko,

korrekt, wie im ersten Satz beschrieben, wurde das Upgrade mittels Microsoft Hinweis von Windows 8.1 Pro auf Windows 10 Pro durchgeführt.

Folgende auffällige Einträge finden sich in der Windows Ereignisanzeige wieder. Ob es Zusammenhänge gibt, weiß ich noch nicht:

ID: 7026
Der folgende Boot- oder Systemstarttreiber konnte nicht geladen werden:
dam

ID: 7031
"Der Dienst "Synchronisierungshost_8a505d" wurde unerwartet beendet. Dies ist bereits 1 Mal vorgekommen. Folgende Korrekturmaßnahmen werden in 10000 Millisekunden durchgeführt: Neustart des Diensts."

ID: 10016
Durch die Berechtigungseinstellungen für "Anwendungsspezifisch" wird dem Benutzer "NT-AUTORITÄT\SYSTEM" (SID: S-1-5-18) unter der Adresse "LocalHost (unter Verwendung von LRPC)" keine Berechtigung vom Typ "Lokal Aktivierung" für die COM-Serveranwendung mit der CLSID
{D63B10C5-BB46-4990-A94F-E40B9D520160}
und der APPID
{9CA88EE3-ACB7-47C8-AFC4-AB702511C276}
im Anwendungscontainer "Nicht verfügbar" (SID: Nicht verfügbar) gewährt. Die Sicherheitsberechtigung kann mit dem Verwaltungstool für Komponentendienste geändert werden.

Gruß
Marc
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: opsiclientd Dienst startet nicht mehr automatisch

Beitrag von SisterOfMercy »

MarcH hat geschrieben:korrekt, wie im ersten Satz beschrieben, wurde das Upgrade mittels Microsoft Hinweis von Windows 8.1 Pro auf Windows 10 Pro durchgeführt.
Who does that? That stuff never bloody worked. Wasn't it possible to update windows '95 to '98 or something similar? I know microsoft, the reliability of the current 8.1 -> 10 updates are almost as resilient! :D :evil:
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
MarcH
Beiträge: 4
Registriert: 02 Sep 2015, 16:29

Re: opsiclientd Dienst startet nicht mehr automatisch

Beitrag von MarcH »

Das ein Upgrade sicher nie so sauber wie eine Neuinstallaion ist, wird jedem bewusst sein.
Dennoch tritt der Fehler nur mit dem Dienst opsiclientd und in Verbindung mit 6 von 18 Clients auf.

Ich werde über die Bereitstellung eines neuen Windows 10 Enterprise Images, diesmal direkt über OPSI nachdenken. Eine zufriedenstellende Lösung, insbesondere für die nächsten mit diesem Problem, ist es jedoch nicht.

Gruß
Marc
Mike_i386
Beiträge: 15
Registriert: 22 Jan 2015, 11:32

Re: opsiclientd Dienst startet nicht mehr automatisch

Beitrag von Mike_i386 »

Hallo Marc,

Exakt mit dem gleichen Problem haben wir momentan auch zu kämpfen.
Allerdings bei ganz frischen Neuinstallationen.

Rechner (Core i5 gen.4) die während des Windows 10 Starts recht viel "zu tun" haben und gut mit Software beladen sind,
schaffen es nicht rechtzeitig den DNSCache Service zu starten, sodass der OPSI Dienst in den Timeout reinläuft.

Aktuell umgehen wir das Problem, indem wir beim Agend die Property "depends_on_service" nur auf dhcp setzen.
So kommt der Agent immer hoch.
Auf Windows 10 PCs die z.b. Eine SSD oder einfach weniger Software haben klappt alles wunderbar.

Viele Grüße
Michael
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: opsiclientd Dienst startet nicht mehr automatisch

Beitrag von ueluekmen »

Hi,

das Problem mit dem DNSCache ist auch "relativ" neu. Diese Abhängigkeit war schon ewig drin. Das hat auch nie Probleme gemacht, bis es vo einiger Zeit einen Fall gab, wo bewusst das DNSCache Domänenweit abgeschaltet wurde und der opsiclientd startet notfalls die Abhängigen Services und kommt selbst zu spät um dem Servicemanager eine Reaktion zu vermelden, aber auch nicht immer... Da wir streng nach dem Prinzip arbeiten, niemals das Standardverhalten zu verändern es sei denn es gibt sehr gute Gründe dafür. In diesem Fall zeigt es sich ja auch, dass es immer kleine Gruppen von Clients zu betreffen scheint und der großteil damit kein Problem hat. Deshalb haben wir das über eine Property konfiguriertbar gemacht. Ich würde in Umgebungen, wo solche Probleme auftreten die Dependecy im default raus nehmen und Beobachten ob es Probleme macht. Besonders wenn man bewusst in der Domäne diesen Dienst abschaltet. :lol:


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten