Fog Version 1.5.9.62 hostSecToken problem
-
I have some Dell XPS laptops that I am having issues with fog generating the hostSecToken. i am not sure if its a fog issue or an issue with these new Dells?
what are the steps I should take to troubleshoot?
-
@Greg-Plamondon Can you explain a bit more what you see happening. Sounds like you look at the database and hostSecToken stays empty.
Is the fog-client installed on those hosts? Did you take a look at the fog.log on those clients yet? Please post the fog.log here so we can take a look.
-
@sebastian-roth
Thanks for the reply. Here is the fog.log -
I deleted a Lenovo PC from fog and then did a quick registration and inventory, Imaged the PC and it gets a token. Not sure why this XPS is not.
-
@Greg-Plamondon From the fog.log I would think that you have a duplicate MAC address in your database.
Please take a look at the Apache and PHP-FPM logs on your FOG server (see my signature).
Edit: Follow information in these posts to find out more in the database:
https://forums.fogproject.org/topic/8448/response-error-multiple-hosts-returned-for-list-of-mac-addresses
https://forums.fogproject.org/topic/13274/fog-client-get-error-messages-like-500-internal-server-error/7 -
@sebastian-roth
Here is the php-fpm logs
I searched the MAC address in the database and found it twice.MariaDB [fog]> SELECT * FROM `hostMAC` WHERE `hmMAC` IN (SELECT `hmMAC` FROM `hostMAC` GROUP BY `hmMAC` HAVING COUNT(`hmMAC`) > 1); Empty set (0.00 sec)
I am still reasearching the 500 error.
Thanks.
-
@Greg-Plamondon Maybe I am in the wrong track with assuming this is due to a duplicate MAC but not sure yet. It’s strange the timestamps in both logs don’t go together. I am wondering if there is more information in the Apache error log?
Have you checked the list of pending clients in the FOG web UI yet?
-
@sebastian-roth said in Fog Version 1.5.9.62 hostSecToken problem:
Have you checked the list of
I am not sure where that is anymore. is that in the host settings under the mac address box?
-
@greg-plamondon said in Fog Version 1.5.9.62 hostSecToken problem:
I am not sure where that is anymore.
Open the hosts list. On the left side you have the menu with “List All Hosts”, “Create New Host”, … If you have hosts pending you will also see a menu item “Pending Hosts”. If that is missing non of the hosts in the DB is pending.
You might also query the database for the other MACs:
SELECT hmHostID FROM hostMAC where hmMAC IN ('c0:3e:ba:3c:4a:6a', 'dc:41:a9:fc:05:30', 'dc:41:a9:fc:05:31', 'de:41:A9:fc:05:30');
-
@sebastian-roth Thanks for that, The PC in question was in the pending hosts.
After approving it joined the domain as expected.