Fog Version 18.104.22.168 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?
@sebastian-roth Thanks for that, The PC in question was in the pending hosts.
After approving it joined the domain as expected.
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');
@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?
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.
@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:
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 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.