Hostname changer "Unable to get subsection" 1.3.0-RC-7
-
@arnaudrigole I’m going to need to see another authentication cycle. To cause one, go to the host in the FOG web portal, and hit the “Reset Encryption Data” button. After waiting a couple minutes, re-upload the fog.log file here.
-
@Joe-Schmitt
hello Joe
I have no “reset encryption data” button on fog gui ! :s -
@arnaudrigole alright. Can you:
net stop fogservice
thennet start fogservice
on this host (in an administrative cmd)? Once complete wait a minute or so and then upload the fog.log here. -
@Joe-Schmitt
Ok, here we go:05/10/2016 16:41 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=B8:08:CF:3C:95:CE|00:A0:C6:00:00:14|B8:08:CF:3C:95:CA|28:F1:0E:2D:C4:6A|02:50:41:00:00:01||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 05/10/2016 16:41 Middleware::Response ERROR: Could not parse data 05/10/2016 16:41 Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path '', line 0, position 0. 05/10/2016 16:41 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json 05/10/2016 16:41 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json 05/10/2016 16:41 Service ERROR: Unable to get cycle data 05/10/2016 16:41 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 05/10/2016 16:41 Middleware::Response Success ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:41 Client-Info Client Version: 0.11.5 05/10/2016 16:41 Client-Info Client OS: Windows 05/10/2016 16:41 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:41 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:41 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 05/10/2016 16:41 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json 05/10/2016 16:41 Middleware::Response Success 05/10/2016 16:41 Service Sleeping for 63 seconds 05/10/2016 16:42 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=B8:08:CF:3C:95:CE|00:A0:C6:00:00:14|B8:08:CF:3C:95:CA|28:F1:0E:2D:C4:6A|02:50:41:00:00:01||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 05/10/2016 16:42 Middleware::Response ERROR: Could not parse data 05/10/2016 16:42 Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path '', line 0, position 0. 05/10/2016 16:42 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json 05/10/2016 16:42 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json 05/10/2016 16:42 Service ERROR: Unable to get cycle data 05/10/2016 16:42 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 05/10/2016 16:42 Middleware::Response Success ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:42 Client-Info Client Version: 0.11.5 05/10/2016 16:42 Client-Info Client OS: Windows 05/10/2016 16:42 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:42 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:42 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:42 Client-Info Client Version: 0.11.5 05/10/2016 16:42 Client-Info Client OS: Windows 05/10/2016 16:42 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:42 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:42 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:42 Client-Info Client Version: 0.11.5 05/10/2016 16:42 Client-Info Client OS: Windows 05/10/2016 16:42 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:42 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:42 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:42 Client-Info Client Version: 0.11.5 05/10/2016 16:42 Client-Info Client OS: Windows 05/10/2016 16:42 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:42 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:42 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:42 Client-Info Client Version: 0.11.5 05/10/2016 16:42 Client-Info Client OS: Windows 05/10/2016 16:42 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:42 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:42 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 05/10/2016 16:42 Client-Info Client Version: 0.11.5 05/10/2016 16:42 Client-Info Client OS: Windows 05/10/2016 16:42 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 16:42 Middleware::Response ERROR: Unable to get subsection 05/10/2016 16:42 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
-
@arnaudrigole I’m not seeing the starting and stoping in that log file. Please upload the entire fog.log
-
@Joe-Schmitt
Sorry, i think it was the same data in cycles.
Here is an entire file :05/10/2016 17:13 Main Overriding exception handling 05/10/2016 17:13 Main Bootstrapping Zazzles 05/10/2016 17:13 Controller Initialize 05/10/2016 17:13 Zazzles Creating main thread 05/10/2016 17:13 Zazzles Service construction complete 05/10/2016 17:13 Controller Start 05/10/2016 17:13 Service Starting service 05/10/2016 17:13 Bus Became bus server 05/10/2016 17:13 Bus { "self": true, "channel": "Status", "data": "{\r\n \"action\": \"load\"\r\n}" } 05/10/2016 17:13 Bus Emmiting message on channel: Status 05/10/2016 17:13 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:13 Client-Info Version: 0.11.5 05/10/2016 17:13 Client-Info OS: Windows 05/10/2016 17:13 Middleware::Authentication Waiting for authentication timeout to pass 05/10/2016 17:13 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 05/10/2016 17:13 Data::RSA FOG Server CA cert found 05/10/2016 17:13 Middleware::Authentication Cert OK 05/10/2016 17:13 Middleware::Authentication ERROR: Could not get security token 05/10/2016 17:13 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 05/10/2016 17:13 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 05/10/2016 17:13 Middleware::Response Error multiple hosts returned for list of mac addresses ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:13 Client-Info Version: 0.11.5 05/10/2016 17:13 Client-Info OS: Windows 05/10/2016 17:13 Middleware::Authentication Waiting for authentication timeout to pass 05/10/2016 17:15 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 05/10/2016 17:15 Data::RSA FOG Server CA cert found 05/10/2016 17:15 Middleware::Authentication Cert OK 05/10/2016 17:15 Middleware::Authentication ERROR: Could not get security token 05/10/2016 17:15 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 05/10/2016 17:15 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 05/10/2016 17:15 Middleware::Response Error multiple hosts returned for list of mac addresses ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:15 Client-Info Version: 0.11.5 05/10/2016 17:15 Client-Info OS: Windows 05/10/2016 17:15 Middleware::Authentication Waiting for authentication timeout to pass 05/10/2016 17:17 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 05/10/2016 17:17 Data::RSA FOG Server CA cert found 05/10/2016 17:17 Middleware::Authentication Cert OK 05/10/2016 17:17 Middleware::Authentication ERROR: Could not get security token 05/10/2016 17:17 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 05/10/2016 17:17 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 05/10/2016 17:17 Middleware::Response Error multiple hosts returned for list of mac addresses ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:17 Client-Info Version: 0.11.5 05/10/2016 17:17 Client-Info OS: Windows 05/10/2016 17:17 Middleware::Authentication Waiting for authentication timeout to pass 05/10/2016 17:19 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 05/10/2016 17:19 Data::RSA FOG Server CA cert found 05/10/2016 17:19 Middleware::Authentication Cert OK 05/10/2016 17:19 Middleware::Authentication ERROR: Could not get security token 05/10/2016 17:19 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 05/10/2016 17:19 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 05/10/2016 17:19 Middleware::Response Error multiple hosts returned for list of mac addresses ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:19 Client-Info Version: 0.11.5 05/10/2016 17:19 Client-Info OS: Windows 05/10/2016 17:19 Middleware::Authentication Waiting for authentication timeout to pass 05/10/2016 17:21 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 05/10/2016 17:21 Data::RSA FOG Server CA cert found 05/10/2016 17:21 Middleware::Authentication Cert OK 05/10/2016 17:21 Middleware::Authentication ERROR: Could not get security token 05/10/2016 17:21 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 05/10/2016 17:21 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 05/10/2016 17:21 Middleware::Response Error multiple hosts returned for list of mac addresses 05/10/2016 17:21 Bus Registering ParseBus in channel Power 05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=B8:08:CF:3C:95:CE|00:A0:C6:00:00:14|B8:08:CF:3C:95:CA|28:F1:0E:2D:C4:6A|02:50:41:00:00:01||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json 05/10/2016 17:21 Middleware::Response ERROR: Could not parse data 05/10/2016 17:21 Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path '', line 0, position 0. 05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json 05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json 05/10/2016 17:21 Service ERROR: Unable to get cycle data 05/10/2016 17:21 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 05/10/2016 17:21 Middleware::Response Success 05/10/2016 17:21 Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 05/10/2016 17:21 Client-Info Client Version: 0.11.5 05/10/2016 17:21 Client-Info Client OS: Windows 05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11 05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection 05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json 05/10/2016 17:21 Middleware::Response Success 05/10/2016 17:21 Service Sleeping for 116 seconds
-
@arnaudrigole said in Hostname changer "Unable to get subsection" 1.3.0-RC-7:
05/10/2016 17:21 Middleware::Response Error multiple hosts returned for list of mac addresses
This seems to be the cause.
-
@Tom-Elliott
I don’t understand…
This issue happens on all computers (100% new, unboxed, never ccnnected to our network) and after imaging with fog
i have no host duplicate in fog gui -
@arnaudrigole It’s likely caused by a virtual network adapter (e.g. a TAP driver, virtualbox, vmware, …).
From the log file, here’s the macs your machine has:
B8:08:CF:3C:95:CE
00:A0:C6:00:00:14
B8:08:CF:3C:95:CA
28:F1:0E:2D:C4:6A
02:50:41:00:00:01
00:00:00:00:00:00:00:E0
I would search each one of them in the fog ui under your host list. At least one of them will return multiple hosts.
-
This seems to be the cause.
I encounter this issue on all our computer, freshly unboxed, never connected on our network and just imaged with fog… No duplicate entries in fog hosts :s
Look at that error in GUI ! ?
-
@arnaudrigole The message is clear. There’s multiple host entries for the mac (or mac’s) in question. This can happen for any number of reasons. If you use a USB NIC, I’m guessing this is “shared” with multiple systems?
-
@Tom-Elliott
Im not using USB nic…
I have no duplicate entries in fog hosts, im 100% sure.
As i said, my test computers are dell laptops just unboxed! There is no duplicate possible -
@arnaudrigole The message is clear, there is a Duplicate somewhere. We need you to search for it by searching for the MAC’s that @Joe-Schmitt gave you earlier.
You can even do a manual sql query if needed.
-
@Joe-Schmitt
Maybe the VPN network card -
@arnaudrigole If you search for each mac (individually) that I listed previously in your FOG web ui as Tom and I have been suggesting then you would see those duplicates.
-
@Joe-Schmitt @Tom-Elliott
Excuse me, i haven’t refreshed that page to see your last messages!
The problem come from our VPN network card… but how can i bypass it ? -
You need to find which mac address is currently associated to multiple hosts.
-
@Tom-Elliott
Yes it’s the 02:50:41:00:00:01 : PANGP (vpn) adapter
So how can i configure fog to bypass that MAC and only read the ethernet / wifi MAC ? -
Now you need to delete that mac address entirely from the database.
This can be done in mysql with:
DELETE FROM hostMAC where hmMAC LIKE '02:50:41:00:00:01';
Then add the MAC to be filtered:
Something like:
UPDATE globalSettings SET settingValue='02:50:41:00:00:01' WHERE settingKey='FOG_QUICKREG_PENDING_MAC_FILTER';
-
The GUI can also be used to add “filtered MAC’s” this is simply a comma separated list (e.g. mac1,mac2,mac3,etc…)
The GUI accessible portion to add the filtered mac is:
FOG Configuration Page ->
FOG Settings ->
FOG Client - Host Register ->
FOG_QUICKREG_PENDING_MAC_FILTER