Little problem we found when we installed the fog client in windows (version 1.5.7 and client 0.11.16). It says token.data missing, and the log of apache2 shows some problems with the mac address format description in the hosts description on the server. The test host we test was kept with fog quick registration and fog added the mac address. We tried with other host which we registered manually on the server but we have the same error. I red a lot here but still cannot find a solution. I tried also to send few times the package MSI but it doesn’t work. On the server says Checked in but nothing happen.
Appache2 log :
foglabunix@foglabunix:/var/log/apache2$ cat error.log
[Thu Dec 12 00:09:57.289277 2019] [mpm_prefork:notice] [pid 1168] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Thu Dec 12 00:09:57.289294 2019] [core:notice] [pid 1168] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 12 08:51:13.786212 2019] [proxy_fcgi:error] [pid 3195] [client 192.168.148.192:44500] AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/fog/lib/fog/fogpage.class.php on line 773\n', referer: https://192.168.149.43//fog/management/index.php?node=task&sub=activesnapins
[Thu Dec 12 08:51:21.116018 2019] [proxy_fcgi:error] [pid 3190] [client 192.168.148.192:44534] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
[Thu Dec 12 08:58:21.686781 2019] [proxy_fcgi:error] [pid 3279] [client 192.168.148.192:44632] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
[Thu Dec 12 09:08:46.927498 2019] [proxy_fcgi:error] [pid 3191] [client 192.168.148.192:44804] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
fog log (c:\fog):
2019-12-12 09:06 Main Overriding exception handling
2019-12-12 09:06 Main Bootstrapping Zazzles
2019-12-12 09:06 Controller Initialize
2019-12-12 09:06 Controller Start
2019-12-12 09:06 Service Starting service
2019-12-12 09:06 Bus Became bus server
2019-12-12 09:06 Bus Emmiting message on channel: Status
2019-12-12 09:06 Service Invoking early JIT compilation on needed binaries
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:06 Client-Info Version: 0.11.16
2019-12-12 09:06 Client-Info OS: Windows
2019-12-12 09:06 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:06 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:06 Data::RSA FOG Server CA cert found
2019-12-12 09:06 Middleware::Authentication Cert OK
2019-12-12 09:06 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:06 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:06 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:06 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:06 Middleware::Response Invalid MAC address format
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:06 Client-Info Version: 0.11.16
2019-12-12 09:06 Client-Info OS: Windows
2019-12-12 09:06 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:08 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:08 Data::RSA FOG Server CA cert found
2019-12-12 09:08 Middleware::Authentication Cert OK
2019-12-12 09:08 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:08 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:08 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:08 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:08 Middleware::Response Invalid MAC address format
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:08 Client-Info Version: 0.11.16
2019-12-12 09:08 Client-Info OS: Windows
2019-12-12 09:08 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:10 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:10 Data::RSA FOG Server CA cert found
2019-12-12 09:10 Middleware::Authentication Cert OK
2019-12-12 09:10 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:10 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:10 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:10 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:10 Middleware::Response Invalid MAC address format
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:10 Client-Info Version: 0.11.16
2019-12-12 09:10 Client-Info OS: Windows
2019-12-12 09:10 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:12 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:12 Data::RSA FOG Server CA cert found
2019-12-12 09:12 Middleware::Authentication Cert OK
2019-12-12 09:12 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:12 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:12 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:12 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:12 Middleware::Response Invalid MAC address format
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:12 Client-Info Version: 0.11.16
2019-12-12 09:12 Client-Info OS: Windows
2019-12-12 09:12 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:14 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:14 Data::RSA FOG Server CA cert found
2019-12-12 09:14 Middleware::Authentication Cert OK
2019-12-12 09:14 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:14 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:14 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:14 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:14 Middleware::Response Invalid MAC address format
2019-12-12 09:14 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json
2019-12-12 09:14 Middleware::Response Success
2019-12-12 09:14 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json
2019-12-12 09:14 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:16 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:16 Data::RSA FOG Server CA cert found
2019-12-12 09:16 Middleware::Authentication Cert OK
2019-12-12 09:16 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:16 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:16 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:16 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:16 Middleware::Response Invalid MAC address format
2019-12-12 09:16 Middleware::Response Success
2019-12-12 09:16 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json
2019-12-12 09:16 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json
2019-12-12 09:16 Service Creating user agent cache
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:16 Service Initializing modules
------------------------------------------------------------------------------
---------------------------------ClientUpdater--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response Success
------------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------TaskReboot----------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
2019-12-12 09:16 Client-Info Client Version: 0.11.16
2019-12-12 09:16 Client-Info Client OS: Windows
2019-12-12 09:16 Client-Info Server Version: 1.5.7
2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:16 Service Sleeping for 123 seconds
2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json
2019-12-12 09:18 Middleware::Response Success
2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json
2019-12-12 09:18 Middleware::Authentication Waiting for authentication timeout to pass
2019-12-12 09:18 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
2019-12-12 09:18 Data::RSA FOG Server CA cert found
2019-12-12 09:18 Middleware::Authentication Cert OK
2019-12-12 09:18 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
2019-12-12 09:18 Middleware::Authentication ERROR: Could not get security token
2019-12-12 09:18 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
2019-12-12 09:18 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
2019-12-12 09:18 Middleware::Response Invalid MAC address format
2019-12-12 09:18 Middleware::Response Success
2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json
2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json
2019-12-12 09:18 Service Creating user agent cache
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
---------------------------------ClientUpdater--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response Success
------------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------TaskReboot----------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
2019-12-12 09:18 Client-Info Client Version: 0.11.16
2019-12-12 09:18 Client-Info Client OS: Windows
2019-12-12 09:18 Client-Info Server Version: 1.5.7
2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
2019-12-12 09:18 Service Sleeping for 141 seconds