@Tom-Elliott Thank you so much! That resolved it.
C
Latest posts made by Curtis Allworth
-
RE: Unable to get subsection and error: (500)
-
RE: Unable to get subsection and error: (500)
I’m seeing the following in the Apache error log…
[Thu May 12 15:10:39 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7 [Thu May 12 15:10:13 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7 [Thu May 12 15:09:56 2016] [error] [client 192.168.6.104] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://fogsrvr.vanfcog.org/fog/management/index.php?node=host&sub=edit&id=138 [Thu May 12 15:01:09 2016] [error] [client 192.168.6.105] File does not exist: /var/www/html/favicon.ico, referer: http://fogsrvr/fog/project [Thu May 12 15:01:09 2016] [error] [client 192.168.6.105] File does not exist: /var/www/html/fog/project [Thu May 12 14:57:41 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7 [Thu May 12 14:55:49 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7 [Thu May 12 14:54:21 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
Of those errors the “PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7” appears in the log probably a few hundred times.
-
Unable to get subsection and error: (500)
I’m on 7597 on CentOS 6.7 with client 0.10.6 and I’m seeing the following errors in my client logs…
5/12/2016 3:10 PM Main Overriding exception handling 5/12/2016 3:10 PM Main Bootstrapping Zazzles 5/12/2016 3:10 PM Controller Initialize 5/12/2016 3:10 PM Entry Creating obj 5/12/2016 3:10 PM Controller Start 5/12/2016 3:10 PM Service Starting service 5/12/2016 3:10 PM Bus Became bus server 5/12/2016 3:10 PM Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 5/12/2016 3:10 PM Bus Emmiting message on channel: Status ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Version: 0.10.6 5/12/2016 3:10 PM Client-Info OS: Windows 5/12/2016 3:10 PM Middleware::Authentication Waiting for authentication timeout to pass 5/12/2016 3:10 PM Middleware::Communication Download: http://192.168.6.10/fog/management/other/ssl/srvpublic.crt 5/12/2016 3:10 PM Data::RSA FOG Server CA cert found 5/12/2016 3:10 PM Middleware::Authentication Cert OK 5/12/2016 3:10 PM Middleware::Communication POST URL: http://192.168.6.10/fog/management/index.php?sub=requestClientInfo&authorize&newService 5/12/2016 3:10 PM Middleware::Response Success 5/12/2016 3:10 PM Middleware::Authentication Authenticated 5/12/2016 3:10 PM Bus Registering ParseBus in channel Power 5/12/2016 3:10 PM Middleware::Communication URL: http://192.168.6.10/fog/management/index.php?sub=requestClientInfo&mac=F0:4D:A2:FA:62:9D||00:00:00:00:00:00:00:E0&newService&json 5/12/2016 3:10 PM Middleware::Communication ERROR: Could not contact FOG server 5/12/2016 3:10 PM Middleware::Communication ERROR: The remote server returned an error: (500) Internal Server Error. 5/12/2016 3:10 PM Middleware::Response Success 5/12/2016 3:10 PM Middleware::Communication URL: http://192.168.6.10/fog/service/getversion.php?clientver&newService&json 5/12/2016 3:10 PM Middleware::Communication URL: http://192.168.6.10/fog/service/getversion.php?newService&json 5/12/2016 3:10 PM Service Creating user agent cache 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Service ERROR: Unable to run module 5/12/2016 3:10 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Service ERROR: Unable to run module 5/12/2016 3:10 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Service ERROR: Unable to run module 5/12/2016 3:10 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Service ERROR: Unable to run module 5/12/2016 3:10 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Service ERROR: Unable to run module 5/12/2016 3:10 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Client-Info Client Version: 0.10.6 5/12/2016 3:10 PM Client-Info Client OS: Windows 5/12/2016 3:10 PM Client-Info Server Version: 7597 5/12/2016 3:10 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:10 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:10 PM Middleware::Communication URL: http://192.168.6.10/fog/service/usertracking.report.php?action=login&user=KWCS_WS_XXX\zadmin&mac=F0:4D:A2:FA:62:9D||00:00:00:00:00:00:00:E0&newService&json ------------------------------------------------------------------------------ 5/12/2016 3:10 PM Middleware::Communication URL: http://192.168.6.10/fog/management/index.php?sub=requestClientInfo&configure&newService&json 5/12/2016 3:10 PM Middleware::Response Success 5/12/2016 3:10 PM Service Sleeping for 71 seconds 5/12/2016 3:11 PM Middleware::Communication URL: http://192.168.6.10/fog/management/index.php?sub=requestClientInfo&mac=F0:4D:A2:FA:62:9D||00:00:00:00:00:00:00:E0&newService&json 5/12/2016 3:11 PM Middleware::Communication ERROR: Could not contact FOG server 5/12/2016 3:11 PM Middleware::Communication ERROR: The remote server returned an error: (500) Internal Server Error. 5/12/2016 3:11 PM Middleware::Response Success 5/12/2016 3:11 PM Middleware::Communication URL: http://192.168.6.10/fog/service/getversion.php?clientver&newService&json 5/12/2016 3:11 PM Middleware::Communication URL: http://192.168.6.10/fog/service/getversion.php?newService&json 5/12/2016 3:11 PM Service Creating user agent cache 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:11 PM Service ERROR: Unable to run module 5/12/2016 3:11 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:11 PM Service ERROR: Unable to run module 5/12/2016 3:11 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:11 PM Service ERROR: Unable to run module 5/12/2016 3:11 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:11 PM Service ERROR: Unable to run module 5/12/2016 3:11 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. 5/12/2016 3:11 PM Service ERROR: Unable to run module 5/12/2016 3:11 PM Service ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Client-Info Client Version: 0.10.6 5/12/2016 3:11 PM Client-Info Client OS: Windows 5/12/2016 3:11 PM Client-Info Server Version: 7597 5/12/2016 3:11 PM Middleware::Response ERROR: Unable to get subsection 5/12/2016 3:11 PM Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ 5/12/2016 3:11 PM Middleware::Communication URL: http://192.168.6.10/fog/management/index.php?sub=requestClientInfo&configure&newService&json 5/12/2016 3:11 PM Middleware::Response Success 5/12/2016 3:11 PM Service Sleeping for 80 seconds
Could my problem be related to this one? https://forums.fogproject.org/topic/7382/fogservice-errors-for-all-modules