Hi all, i have a problem with some off my client which i don’t see in the “pendding host”.
Server :
FOG Version: 1.5.3
OS: Ubuntu Linux
Client :
Fog Version: 0.11.16
OS: windows 10
IT park : about 1200 computers
After a problem in my certificates i just made a fresh installation of all of my clients.
Some works perfectly and i could see it in the menu “List all hosts”, BUT some don’t appears …
If i look in the fog.log i could see this message :
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
13/06/2018 08:48 Client-Info Client Version: 0.11.16
13/06/2018 08:48 Client-Info Client OS: Windows
13/06/2018 08:48 Client-Info Server Version: 1.5.3
13/06/2018 08:48 Middleware::Response ERROR: Unable to get subsection
13/06/2018 08:48 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
13/06/2018 08:48 Service Sleeping for 177 seconds
13/06/2018 08:51 Middleware::Communication URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&configure&newService&json
13/06/2018 08:51 Middleware::Response Success
13/06/2018 08:51 Middleware::Communication URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&mac=00:09:0F:AA:00:01|88:B1:11:2A:4B:6C|88:B1:11:2A:4B:6D|18:60:24:4A:D3:FE|00:09:0F:FE:00:01&newService&json
13/06/2018 08:51 Middleware::Authentication Waiting for authentication timeout to pass
13/06/2018 08:51 Middleware::Communication Download: http://srv-fog1-n0/fog/management/other/ssl/srvpublic.crt
13/06/2018 08:51 Data::RSA FOG Server CA cert found
13/06/2018 08:51 Middleware::Authentication Cert OK
13/06/2018 08:51 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
13/06/2018 08:51 Middleware::Authentication ERROR: Could not get security token
13/06/2018 08:51 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
13/06/2018 08:51 Middleware::Communication POST URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&authorize&newService
13/06/2018 08:51 Middleware::Response Invalid security token
13/06/2018 08:51 Middleware::Response Success
13/06/2018 08:51 Middleware::Communication URL: http://srv-fog1-n0/fog/service/getversion.php?clientver&newService&json
13/06/2018 08:51 Middleware::Communication URL: http://srv-fog1-n0/fog/service/getversion.php?newService&json
13/06/2018 08:51 Service Creating user agent cache
13/06/2018 08:51 Middleware::Response ERROR: Unable to get subsection
13/06/2018 08:51 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
13/06/2018 08:51 Middleware::Response ERROR: Unable to get subsection
13/06/2018 08:51 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
13/06/2018 08:51 Middleware::Response ERROR: Unable to get subsection
13/06/2018 08:51 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
After this i run this mysql command :
mysql
use fog
UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="2018-06-13 14:30:00";
and after a reboot of the client the new error message in fog.log is the following :
13/06/2018 10:27 Client-Info Version: 0.11.16
13/06/2018 10:27 Client-Info OS: Windows
13/06/2018 10:27 Middleware::Authentication Waiting for authentication timeout to pass
13/06/2018 10:27 Middleware::Communication Download: http://srv-fog1-n0/fog/management/other/ssl/srvpublic.crt
13/06/2018 10:27 Data::RSA FOG Server CA cert found
13/06/2018 10:27 Middleware::Authentication Cert OK
13/06/2018 10:27 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
13/06/2018 10:27 Middleware::Authentication ERROR: Could not get security token
13/06/2018 10:27 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
13/06/2018 10:27 Middleware::Communication POST URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&authorize&newService
13/06/2018 10:27 Middleware::Response Invalid security token
I also try to execute the command “Database Maintenance Commands” in https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Hosts_think_they_are_not_registered_.2F_can.27t_register_.2F_other_weirdness
but it’s always the same.
Any ideas to resolve this ???