FOGService errors for all modules
-
I’m running a new install of FOG on RHEL 6.7. Deployments are working fine but I see the following Errors in the FOG client log for nearly all modules. Can someone point me in the right direction for troubleshooting this? The module I’m most interested with working at the moment is the snapin module.
Currently running FOG server version 7583 (git)
------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 5/11/2016 12:02 PM Client-Info Client Version: 0.10.6 5/11/2016 12:02 PM Client-Info Client OS: Windows 5/11/2016 12:02 PM Client-Info Server Version: 7567 5/11/2016 12:02 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 12:02 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 12:02 PM Service ERROR: Unable to run module 5/11/2016 12:02 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 5/11/2016 12:02 PM Client-Info Client Version: 0.10.6 5/11/2016 12:02 PM Client-Info Client OS: Windows 5/11/2016 12:02 PM Client-Info Server Version: 7567 5/11/2016 12:02 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 12:02 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 12:02 PM Service ERROR: Unable to run module 5/11/2016 12:02 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 12:02 PM Client-Info Client Version: 0.10.6 5/11/2016 12:02 PM Client-Info Client OS: Windows 5/11/2016 12:02 PM Client-Info Server Version: 7567 5/11/2016 12:02 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 12:02 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 12:02 PM Service ERROR: Unable to run module 5/11/2016 12:02 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------
Mod edited to use code box.
-
Bug confirmed in r7585
-
@Tom-Elliott another instance of the leak.
-
Is there a recommended version of the client I should install or is the issue with the server (mysql connections I thought I came across while reading posts)?
-
It’s a server issue. Tom has to patch it.
-
@Jbob
Much appreciated, I apologize if this is a dup post. -
@networkguy Update and all this is fixed.
-
Please confirm and let us know when you can.
Thanks,
-
@Tom-Elliott Still broke…
0_1462986939178_fog.logAlso I just noticed the fog server version is reporting very wrong… We are on 7589, not 7555
-
@Tom-Elliott
I still see the same issue. My Client-Info Server Version is reading the appropriate version unlike Wayne.5/11/2016 1:42 PM Main Overriding exception handling 5/11/2016 1:42 PM Main Bootstrapping Zazzles 5/11/2016 1:42 PM Controller Initialize 5/11/2016 1:42 PM Entry Creating obj 5/11/2016 1:42 PM Controller Start 5/11/2016 1:42 PM Service Starting service 5/11/2016 1:42 PM Bus Became bus server 5/11/2016 1:42 PM Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 5/11/2016 1:42 PM Bus Emmiting message on channel: Status ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Version: 0.10.6 5/11/2016 1:42 PM Client-Info OS: Windows 5/11/2016 1:42 PM Middleware::Authentication Waiting for authentication timeout to pass 5/11/2016 1:42 PM Middleware::Communication Download: http://myfogserver/fog/management/other/ssl/srvpublic.crt 5/11/2016 1:42 PM Data::RSA FOG Server CA cert found 5/11/2016 1:42 PM Middleware::Authentication Cert OK 5/11/2016 1:42 PM Middleware::Communication POST URL: http://myfogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 5/11/2016 1:42 PM Middleware::Response Success 5/11/2016 1:42 PM Middleware::Authentication Authenticated 5/11/2016 1:42 PM Bus Registering ParseBus in channel Power 5/11/2016 1:42 PM Middleware::Communication URL: http://myfogserver/fog/management/index.php?sub=requestClientInfo&mac=00:50:XX:XX:XX:XX||00:00:00:00:00:00:00:E0&newService&json 5/11/2016 1:42 PM Middleware::Response ERROR: Could not parse data 5/11/2016 1:42 PM Middleware::Response ERROR: Unexpected character encountered while parsing value: #. Path '', line 0, position 0. 5/11/2016 1:42 PM Middleware::Communication URL: http://myfogserver/fog/service/getversion.php?clientver&newService&json 5/11/2016 1:42 PM Middleware::Communication URL: http://myfogserver/fog/service/getversion.php?newService&json 5/11/2016 1:42 PM Service ERROR: Unable to get cycle data 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Middleware::Response Success ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Service ERROR: Unable to run module 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Service ERROR: Unable to run module 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Service ERROR: Unable to run module 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Service ERROR: Unable to run module 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Service ERROR: Unable to run module 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/11/2016 1:42 PM Service ERROR: Unable to run module 5/11/2016 1:42 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Client-Info Client Version: 0.10.6 5/11/2016 1:42 PM Client-Info Client OS: Windows 5/11/2016 1:42 PM Client-Info Server Version: 7589 5/11/2016 1:42 PM Middleware::Response ERROR: Unable to get subsection 5/11/2016 1:42 PM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ 5/11/2016 1:42 PM Middleware::Communication URL: http://myfogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json 5/11/2016 1:42 PM Middleware::Response Success 5/11/2016 1:42 PM Service Sleeping for 91 seconds
-
That should all be working again. Please update.
-
@Tom-Elliott
Perfect! Thank you again sir!!5/11/2016 1:52 PM Middleware::Communication URL: http://myfogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json 5/11/2016 1:52 PM Middleware::Response Success 5/11/2016 1:52 PM Service Sleeping for 109 seconds 5/11/2016 1:52 PM Controller Stop 5/11/2016 1:52 PM Service Stop requested 5/11/2016 1:52 PM Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"unload\"\r\n}" } 5/11/2016 1:52 PM Bus Emmiting message on channel: Status 5/11/2016 1:52 PM Main Overriding exception handling 5/11/2016 1:52 PM Main Bootstrapping Zazzles 5/11/2016 1:52 PM Controller Initialize 5/11/2016 1:52 PM Entry Creating obj 5/11/2016 1:52 PM Controller Start 5/11/2016 1:52 PM Service Starting service 5/11/2016 1:53 PM Bus Became bus server 5/11/2016 1:53 PM Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 5/11/2016 1:53 PM Bus Emmiting message on channel: Status ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Version: 0.10.6 5/11/2016 1:53 PM Client-Info OS: Windows 5/11/2016 1:53 PM Middleware::Authentication Waiting for authentication timeout to pass 5/11/2016 1:53 PM Middleware::Communication Download: http://myfogserver/fog/management/other/ssl/srvpublic.crt 5/11/2016 1:53 PM Data::RSA FOG Server CA cert found 5/11/2016 1:53 PM Middleware::Authentication Cert OK 5/11/2016 1:53 PM Middleware::Communication POST URL: http://myfogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 5/11/2016 1:53 PM Middleware::Response Success 5/11/2016 1:53 PM Middleware::Authentication Authenticated 5/11/2016 1:53 PM Bus Registering ParseBus in channel Power 5/11/2016 1:53 PM Middleware::Communication URL: http://myfogserver/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:8A:0C:C3||00:00:00:00:00:00:00:E0&newService&json 5/11/2016 1:53 PM Middleware::Response Success 5/11/2016 1:53 PM Middleware::Communication URL: http://myfogserver/fog/service/getversion.php?clientver&newService&json 5/11/2016 1:53 PM Middleware::Communication URL: http://myfogserver/fog/service/getversion.php?newService&json 5/11/2016 1:53 PM Service Creating user agent cache 5/11/2016 1:53 PM Middleware::Response Success 5/11/2016 1:53 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response Success 5/11/2016 1:53 PM HostnameChanger Checking Hostname 5/11/2016 1:53 PM HostnameChanger Hostname is correct 5/11/2016 1:53 PM HostnameChanger Host is already joined to target domain ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response No actions ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 5/11/2016 1:53 PM Client-Info Client Version: 0.10.6 5/11/2016 1:53 PM Client-Info Client OS: Windows 5/11/2016 1:53 PM Client-Info Server Version: 7591 5/11/2016 1:53 PM Middleware::Response Success
-
@Tom-Elliott I’ve got quiet same problem without error message in fog.log.
With latest version (5441 => 7593) and 0.10.6 client
The host doesn’t change name -
Same problem here, hostname changer doesn’t work, I had to do it manually
------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 12/05/2016 10:35 Client-Info Client Version: 0.10.6 12/05/2016 10:35 Client-Info Client OS: Windows 12/05/2016 10:35 Client-Info Server Version: 7593 12/05/2016 10:35 Middleware::Response Success 12/05/2016 10:35 HostnameChanger Checking Hostname 12/05/2016 10:35 HostnameChanger Removing host from active directory 12/05/2016 10:35 HostnameChanger Success, code = 0 12/05/2016 10:35 Power Creating shutdown command in 60 seconds 12/05/2016 10:35 Bus { "self": true, "channel": "Power", "data": "{\r\n \"action\": \"request\",\r\n \"period\": 60,\r\n \"options\": 2,\r\n \"command\": \"/r /c \\\"Host left active directory, restart needed\\\" /t 0\",\r\n \"message\": \"This computer needs to perform maintenance.\"\r\n}" } 12/05/2016 10:35 Bus Emmiting message on channel: Power ------------------------------------------------------------------------------ 12/05/2016 10:35 Service Power operation being requested, checking back in 30 seconds 12/05/2016 10:36 Service Power operation being requested, checking back in 30 seconds 12/05/2016 10:36 Service Power operation being requested, checking back in 30 seconds 12/05/2016 10:36 Power Creating shutdown request 12/05/2016 10:36 Power Parameters: /r /c "Host left active directory, restart needed" /t 0 12/05/2016 10:36 Bus { "self": true, "channel": "Power", "data": "{\r\n \"action\": \"shuttingdown\"\r\n}" } 12/05/2016 10:36 Bus Emmiting message on channel: Power 12/05/2016 10:40 Main Overriding exception handling 12/05/2016 10:40 Main Bootstrapping Zazzles 12/05/2016 10:40 Controller Initialize 12/05/2016 10:40 Entry Creating obj 12/05/2016 10:40 Controller Start 12/05/2016 10:40 Service Starting service 12/05/2016 10:40 Bus Became bus server 12/05/2016 10:40 Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 12/05/2016 10:40 Bus Emmiting message on channel: Status
-
This post is deleted! -
This is possibly related? https://forums.fogproject.org/topic/7388/since-the-latest-update-fog-seems-to-not-be-renaming
-
@Tom-Elliott
This behavior seems to be back in git version 7597 -
@networkguy what behavior?
-
Should be fixed in latest again.
-
@Tom-Elliott we are getting the same issue after upgrading to 7615