Can't find the "Reset Encryption Data" button on any hosts.
-
Hello.
I currently have a FOG Server running on Ubuntu 14.04 with SVN Revision: 5949. Everything about my FOG Server is working fantastic, except for one small problem. In the “fog.txt” log on the root of the C:\ drive on one of my laptops, I get the message “Authentication ERROR: Could not get security token” “Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat”. I’ve seen other folks have similar issues, tried the steps they found that resolved their issues, but no luck for me. Then I saw something I could try called on the specific laptop I’m having trouble with called “Reset Encryption Data”. I looked all over every section of the host on my FOG Web GUI, but cannot find that button. The FOG Wiki on “FOG Client”, under the “Reset encryption data” subsection, says that this button can be found in an “individual host’s ‘General’ area”. I don’t see this button in the “General” area on any host. Here’s a picture I attached of the problem laptop. Thank you for your help.
-
The IP address that was inputted during the FOG Client install - or the web root - is probably wrong. Look at the logs and see what URLs it’s trying to communicate with.
-
@Wayne-Workman Just to be 1000000% sure. Setting up the Fog Client again. I don’t need to include “http://” in the “Server Address” box, correct? Just the straight IP address? and the “Web Root” is just the default “/fog” option, correct?
-
@alexf2132 Right. Did you check the logs? The logs are the first and only place to begin troubleshooting. Beginning anywhere else is more often than not a waste of time.
-
@Wayne-Workman Reinstalled the Fog Client, inputted the correct information, still having the same security issue. Which logs are you referring to?
-
@alexf2132
C:\fog.log
-
Here’s my fog.log file. I appreciate the help.
fog.log file -
8/19/2016 5:40 AM Middleware::Response Error multiple hosts returned for list of mac addresses
That’s the important bit.
The macs that are being sent to FOG are returning multiple hosts.
There’s any number of reasons why this can happen.
Do you have a Virtual Machine embedded as part of your image?
-
@Tom-Elliott Hey Tom. I do not have any Virtual Machines embedded on any images.
-
Did you install the client on the machine before creating the image? If you did this, is the image sysprepped? If this, is the client disabled from starting until after the sysprep process and first run scripts are complete?
-
@Tom-Elliott Yeah I just installed the client on a Windows 7 Lenovo laptop before any imaging. The only software that’s installed is basic drivers/.NET Framework. I haven’t sysprepped this image yet, just testing out the client communicating to my FOG Server.
-
@alexf2132 Something makes me think that the hosts have already been registered then, but removed a while ago?
-
@Tom-Elliott It’s possible that I deleted this host from the server, then re-added it later on. Does deleting a host from the server completely delete it? Or does it hang around for a certain amount of days?
-
@alexf2132 Normally it completely deletes it, but depending on when that delete occurred there was likely a bug that made it so that MAC was not removed from the DB.
-
@Tom-Elliott Ahhh interesting. So I should delete this host from the server, log into the MYSQL DB, and delete any traces of that MAC, then re-add to the server?
-
@alexf2132 Correct.
The simplest method, I imagine, would be if you know all the mac’s that the host is sending to the system, would be to find out what hostID’s are returned.
Ensure those hostID’s are not in use and remove them.
A simple cleanup sql statement might be:
delete from hosts where hostID NOT IN (select hmHostID from hostMAC);
delete from hostMAC where hmHostID NOT IN (select hostID from hosts);
Of course create a backup first, those are just coming from memory and my syntax may not be correct.
-
@Tom-Elliott I’m not amazing with MySQL. Your syntax, do I input the specific MAC somewhere in there? Or just run both of those lines in the DB?
-
@alexf2132 I don’t know the MAC’s that are causing conflicts. My statements there are just to cleanup any unmatching bits. The first will remove any Host’s that don’t have a an ID in the hostMAC table. The second will remove any mac’s that don’t have a relevant matching host from the hosts table.
Once you get those cleaned up, I need to know the MAC’s of the client presenting with the “Multiple hosts returned” and we can consolidate and narrow from there.
-
@Tom-Elliott Okay. Ran those lines, 0 rows were affected.
Ethernet MAC: 28-D2-44-34-3E-DF
WiFi MAC: 00-C2-C6-05-88-BD -
@alexf2132 So now what happens if you run:
SELECT hmHostID from hostMAC where hmMAC IN ('28:d2:44:34:3e:df','00:c2:c6:05:88:bd');