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

    Fog Version 1.5.9.62 hostSecToken problem

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    10
    816
    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.
    • Greg PlamondonG
      Greg Plamondon Testers
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

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

        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

        Greg PlamondonG 1 Reply Last reply Reply Quote 0
        • Greg PlamondonG
          Greg Plamondon Testers @Sebastian Roth
          last edited by

          @sebastian-roth
          Thanks for the reply. Here is the fog.log

          1 Reply Last reply Reply Quote 0
          • Greg PlamondonG
            Greg Plamondon Testers
            last edited by Greg Plamondon

            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.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @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

              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

              Greg PlamondonG 1 Reply Last reply Reply Quote 0
              • Greg PlamondonG
                Greg Plamondon Testers @Sebastian Roth
                last edited by Greg Plamondon

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

                alt text

                I am still reasearching the 500 error.

                Thanks.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

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

                  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

                  Greg PlamondonG 1 Reply Last reply Reply Quote 0
                  • Greg PlamondonG
                    Greg Plamondon Testers @Sebastian Roth
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth

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

                      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

                      Greg PlamondonG 1 Reply Last reply Reply Quote 1
                      • Greg PlamondonG
                        Greg Plamondon Testers @Sebastian Roth
                        last edited by

                        @sebastian-roth Thanks for that, The PC in question was in the pending hosts.
                        After approving it joined the domain as expected.

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post

                        258

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project