• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Can't find the "Reset Encryption Data" button on any hosts.

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    41
    10.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alexf2132
      last edited by

      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.0_1471611588787_foghelp1.png

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        A 1 Reply Last reply Reply Quote 0
        • A
          alexf2132 @Wayne Workman
          last edited by

          @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?

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @alexf2132
            last edited by

            @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.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            A 1 Reply Last reply Reply Quote 0
            • A
              alexf2132 @Wayne Workman
              last edited by

              @Wayne-Workman Reinstalled the Fog Client, inputted the correct information, still having the same security issue. Which logs are you referring to?

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @alexf2132
                last edited by

                @alexf2132 C:\fog.log

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • A
                  alexf2132
                  last edited by

                  Here’s my fog.log file. I appreciate the help.
                  fog.log file

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    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?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    A 1 Reply Last reply Reply Quote 1
                    • A
                      alexf2132 @Tom Elliott
                      last edited by

                      @Tom-Elliott Hey Tom. I do not have any Virtual Machines embedded on any images.

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        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?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          alexf2132 @Tom Elliott
                          last edited by

                          @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.

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @alexf2132
                            last edited by

                            @alexf2132 Something makes me think that the hosts have already been registered then, but removed a while ago?

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              alexf2132 @Tom Elliott
                              last edited by

                              @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?

                              Tom ElliottT 1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @alexf2132
                                last edited by

                                @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.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  alexf2132 @Tom Elliott
                                  last edited by

                                  @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?

                                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @alexf2132
                                    last edited by Tom Elliott

                                    @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.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    A 1 Reply Last reply Reply Quote 1
                                    • A
                                      alexf2132 @Tom Elliott
                                      last edited by

                                      @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?

                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @alexf2132
                                        last edited by

                                        @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.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          alexf2132 @Tom Elliott
                                          last edited by

                                          @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

                                          Tom ElliottT 2 Replies Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott @alexf2132
                                            last edited by

                                            @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');

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            195

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project