FOG Client Service Not Starting Automatically
-
So an update to this… The automatic start issue with the FOG client seems to be a non-issue. It WILL start automatically, if I reboot the system after the installer is ran. I did finally get that figured out.
The issue of the client running and not responding/updating is still there though…
Thanks for making me think!
Cheers,
Joe
-
I’ve just observed the same issue with client 0.11.2 on Windows 10 (no issues on Windows 7). The only difference is I don’t have the client installed on the image. Using the msi file and installing post deployment. Reason: cause we’re still on a old version and I don’t want to reupload the image when we update FOG.
Anyway… From my SetupComplete.cmd file I launch a SetupComplete.ps1 file. After installing the client from here I just created a scheduled task to start the service (Start-Service -Name FOGService) at startup.
-
@Avaryan said in FOG Client Service Not Starting Automatically:
Reason: cause we’re still on a old version and I don’t want to reupload the image when we update FOG.
You can have an old version of the client in your image - this is perfectly fine. You absolutely do not need to re-capture an image just because there’s a newer client out. The client reliably updates itself after image deployment when it sees the server has a new version. The new version will then do everything you have set for it; naming, domain joining, snapins, printers.
-
@Wayne-Workman said in FOG Client Service Not Starting Automatically:
@Avaryan said in FOG Client Service Not Starting Automatically:
The client reliably updates itself after image deployment when it sees the server has a new version. The new version will then do everything you have set for it; naming, domain joining, snapins, printers.
Ok, good. I had always wondered about that.
-
Here is a log file from a client that is having the updating issue… It appears that it’s not authenticating with the server. I tried resetting encryption and that failed to resolve this. I left this one un-resolved. So if their is a fix you’d like to try or have me try, I certainly can. Short of the following resolution…
I had another one that had this same error on it. My only resolution is to do a re-install on the client and restart the service. Than everything is fine…
Thanks as usual!
------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 3/24/2017 10:02 AM Client-Info Version: 0.11.9 3/24/2017 10:02 AM Client-Info OS: Windows 3/24/2017 10:02 AM Middleware::Authentication Waiting for authentication timeout to pass 3/24/2017 10:04 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt 3/24/2017 10:04 AM Middleware::Authentication ERROR: Could not authenticate 3/24/2017 10:04 AM Middleware::Authentication ERROR: Value cannot be null. Parameter name: authority ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 3/24/2017 10:04 AM Client-Info Version: 0.11.9 3/24/2017 10:04 AM Client-Info OS: Windows 3/24/2017 10:04 AM Middleware::Authentication Waiting for authentication timeout to pass 3/24/2017 10:06 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt 3/24/2017 10:06 AM Middleware::Authentication ERROR: Could not authenticate 3/24/2017 10:06 AM Middleware::Authentication ERROR: Value cannot be null. Parameter name: authority 3/24/2017 10:06 AM Bus Registering ParseBus in channel Power 3/24/2017 10:06 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&configure&newService&json 3/24/2017 10:06 AM Middleware::Response Success 3/24/2017 10:06 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:A8:9D:28||00:00:00:00:00:00:00:E0&newService&json 3/24/2017 10:06 AM Middleware::Authentication Waiting for authentication timeout to pass 3/24/2017 10:08 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt 3/24/2017 10:08 AM Middleware::Authentication ERROR: Could not authenticate 3/24/2017 10:08 AM Middleware::Authentication ERROR: Value cannot be null. Parameter name: authority 3/24/2017 10:08 AM Middleware::Response Success 3/24/2017 10:08 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?clientver&newService&json 3/24/2017 10:08 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?newService&json 3/24/2017 10:08 AM Service Creating user agent cache 3/24/2017 10:08 AM Middleware::Response ERROR: Unable to get subsection 3/24/2017 10:08 AM Middleware::Response ERROR: Object reference not set to an instance of an object. 3/24/2017 10:08 AM Middleware::Response ERROR: Unable to get subsection 3/24/2017 10:08 AM Middleware::Response ERROR: Object reference not set to an instance of an object. 3/24/2017 10:08 AM Middleware::Response ERROR: Unable to get subsection 3/24/2017 10:08 AM Middleware::Response ERROR: Object reference not set to an instance of an object. 3/24/2017 10:08 AM Log Unhandled exception caught 3/24/2017 10:08 AM Log Terminating: True 3/24/2017 10:08 AM Log Hash code: 13539942 3/28/2017 10:41 AM Main Overriding exception handling 3/28/2017 10:41 AM Main Bootstrapping Zazzles 3/28/2017 10:41 AM Controller Initialize 3/28/2017 10:41 AM Zazzles Creating main thread 3/28/2017 10:41 AM Zazzles Service construction complete 3/28/2017 10:41 AM Controller Start 3/28/2017 10:41 AM Service Starting service 3/28/2017 10:41 AM Bus Became bus server 3/28/2017 10:41 AM Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 3/28/2017 10:41 AM Bus Emmiting message on channel: Status 3/28/2017 10:41 AM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:41 AM Client-Info Version: 0.11.11 3/28/2017 10:41 AM Client-Info OS: Windows 3/28/2017 10:41 AM Middleware::Authentication Waiting for authentication timeout to pass 3/28/2017 10:41 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt 3/28/2017 10:41 AM Middleware::Authentication ERROR: Could not authenticate 3/28/2017 10:41 AM Middleware::Authentication ERROR: Value cannot be null. Parameter name: authority ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:41 AM Client-Info Version: 0.11.11 3/28/2017 10:41 AM Client-Info OS: Windows 3/28/2017 10:41 AM Middleware::Authentication Waiting for authentication timeout to pass
-
I have several with this error… The service is running but not responding.
Thanks!
------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection 3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection 3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection 3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection 3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection 3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 3/28/2017 10:50 AM Client-Info Client Version: 0.11.11 3/28/2017 10:50 AM Client-Info Client OS: Windows 3/28/2017 10:50 AM Client-Info Server Version: 1.3.5 3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection 3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object. 3/28/2017 10:50 AM Service Sleeping for 139 seconds
-
@Joe-Gill the second one is caused by a bad security token (a reset encryption would fix it). Your first one is somehow unpinned, that is, something removed the servers certificate from the machines keystore. The only way to fix that is a complete reinstallation followed by a reset encryption.
@Tom-Elliott there appears to be some scenario where the server’s copy of the security token is becoming out of sync with the client evident by the numerous users having to reset encryption.
-
Thanks! I"ll try the re-sync and I"m sure that will fix it. I had a few more I had to re-install with the second error.
-
I did have two hosts that after I ran the uninstaller it failed to remove everything. The uninstaller finished but when I ran the installer it failed. I had to go into the registry and delete every entry that had anything to do with FOG. Than re-install worked.
-
@Joe-Schmitt Do you think the server issue could be time related? I mean, how could it become out of sync? Either the server’s security token is exactly as it was when set, or it’s not. And if it’s the same - it must be a time issue. If it’s not the same, then why is the server changing it? @Tom-Elliott We need your help with figuring it out.
How could we test this? Under what circumstances does the problem happen? How to replicate? How to troubleshoot the root cause?
-
@Wayne-Workman I suspect this problem happens during “reinstall”.