Pending/duplicated MACs make fog agent failed
- 
 Hi, 
 we have started to notice in some clients that snap-ins were not done and in fog log file we get:10/10/2014 10:58 FOG::DisplayManager Unknown error, module will exit. 
 10/10/2014 10:58 FOG::AutoLogOut Unknown error, module will exit.
 10/10/2014 10:58 FOG::MODDebug Server responded with: Hello FOG Client
 10/10/2014 10:58 FOG::MODDebug Module has finished work and will now exit.
 10/10/2014 10:58 FOG::PrinterManager Unknown error, module will exit.
 10/10/2014 10:58 FOG::UserTracker Unknown error, module will exit.
 10/10/2014 10:58 FOG::HostnameChanger Attempting to connect to fog server…
 10/10/2014 10:58 FOG::HostnameChanger Unknown error, module will exit.
 10/10/2014 10:58 FOG::HostnameChanger Host name was not found in the database.
 10/10/2014 10:59 FOG::UserCleanup Starting user cleanup process…
 10/10/2014 10:59 FOG::UserCleanup Attempting to connect to fog server…
 10/10/2014 10:59 FOG::UserCleanup Unknown error, module will exit.In apache log we see requests like this [14/Oct/2014:16:10:32 +0200] “GET /fog/service/servicemodule-active.php?mac=[COLOR=#ff0000]10:60:4B:78:1B:E3%7C08:00:27:00:DC:3A[/COLOR]&moduleid=snapin HTTP/1.1” 200 388 “-” “-” Writing this url in console one gets “Error multiple hosts returned for list of mac addresses” 
 Here are two problems:
 -the second MAC is pending,not aproved,so why is in the request?
 -the second MAC is the default MAC used by VirtualBox, so is repeated in all the hosts with this software.Could you solve this please? Thanks, Frank 
- 
 Sorry, I forgot to say that build is 2412 
- 
 This should already be fixed. That said, it’s more likely there’s a couple of entries that just don’t have host id’s. Try running: delete from hostMAC where hmHostID=‘0’; 
- 
 Ok, I will check it. (And I am going to open other possible bug  related to web sessions) related to web sessions)
 Thanks
- 
 We still get the same errors in the agents. Is it fixed in 2412 or in a later build? 
- 
 I don’t know. I don’t know what’s causing the issue. On my side all is working properly. That’s not to say there isn’t a problem as many of the service files have been recoded to try to accept the legacy and the new client. As the systems I test with have the new client right now, I’m not seeing issues. I’ll try to put legacy client on today and see if I get the same results. 
- 
 Ok, thanks for your effort Tom. 
- 
 Hello, I have the same problem on my fog 
 I have tried with legacy and new fog clientso downlad and upload works fine but hostnamechanger and snapin not at all. 
 Help …my log : 
 -------------------------------HostnameChanger-------------------------------13/04/2015 16:36 Client-Info Version: 0.7.2
 13/04/2015 16:36 HostnameChanger Running…
 13/04/2015 16:36 CommunicationHandler URL: [url]http://192.168.10.222/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:FF:23:7B:2B:27|00:1D:09:92:D7:D2|00:50:56:C0:00:01|00:50:56:C0:00:08||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=1[/url]
 13/04/2015 16:36 CommunicationHandler Unknown Response: Error multiple hosts returned for list of mac addresses
 ---------------------------------SnapinClient---------------------------------13/04/2015 16:36 Client-Info Version: 0.7.2
 13/04/2015 16:36 SnapinClient Running…
 13/04/2015 16:36 CommunicationHandler URL: [url]http://192.168.10.222/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=00:FF:23:7B:2B:27|00:1D:09:92:D7:D2|00:50:56:C0:00:01|00:50:56:C0:00:08||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=1[/url]
 13/04/2015 16:36 CommunicationHandler Unknown Response: Error multiple hosts returned for list of mac addresses
 --------------------------------DisplayManager--------------------------------13/04/2015 16:36 Client-Info Version: 0.7.2
 13/04/2015 16:36 DisplayManager Running…
 13/04/2015 16:36 CommunicationHandler URL: [url]http://192.168.10.222/fog/service/servicemodule-active.php?moduleid=displaymanager&mac=00:FF:23:7B:2B:27|00:1D:09:92:D7:D2|00:50:56:C0:00:01|00:50:56:C0:00:08||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=1[/url]
 13/04/2015 16:36 CommunicationHandler Response: Module is disabled globally on the FOG server
- 
 Seeing as you’re using the new fog client, what revision of FOG are you running? 
- 
 Hello 
 the revision is the latest svn : 3240
- 
 [quote=“Ipod37, post: 45410, member: 29326”]Hello 
 the revision is the latest svn : 3240[/quote]Can you get me the output of: [code]SELECT * from hostMACs \G[/code] 
- 
 here comes the result [url=“/_imported_xf_attachments/1/1867_hostMAC.txt?:”]hostMAC.txt[/url] 
- 
 Hello 
 i noticed that some isatap adapter (IPV6 protocol) appear with the same mac address in the result of ipconfig/alli tried to unchek ipv6 and the error message change : CommunicationHandler Response : Error multiple hosts returned for list of mac addresses 
