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

    Solved Snapin queued forever

    FOG Problems
    3
    11
    315
    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.
    • R
      renanserrou last edited by

      Hello Im using debian as a server with version 1.5.7 and client 0.11.16, we were using it for about 6 months and its was working fine, but suddenly the snapins stoped working, it just stay in queue status and never starts. I tryed to reset data encryption and delete Token.dat from a few computers but its still not working…

      1 Reply Last reply Reply Quote 0
      • R
        renanserrou @Sebastian Roth last edited by

        @Sebastian-Roth There were still some duplicated MACs on my network removed then from the database and it worked, this issue was caused by myself, there were some pending macs to aprove and I didn’t paid attention to then and approved then all, but lots of them were from Virtual machines.

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

          @renanserrou What exactly did you do? Please let us know as other people will find it helpful too.

          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

          R 1 Reply Last reply Reply Quote 0
          • R
            renanserrou @Sebastian Roth last edited by

            @Sebastian-Roth Thx a lot, it worked!

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

              @renanserrou Looking at the client log again… I See these MAC addresses:

              02:00:4C:4F:4F:50|38:EA:A7:19:19:AF|0A:00:27:00:00:12||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0
              

              One seems empty (||) and I see a couple of what are probably virtual network adapters.

              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

              R 1 Reply Last reply Reply Quote 0
              • R
                renanserrou @Sebastian Roth last edited by

                @Sebastian-Roth Hello, thx for replying, I removed some MACs using web interface, but im not sure if i checkd the database the right way.

                 mysql -D fog
                MariaDB [fog]> SELECT hmHostID FROM hostMAC where hmMAC IN ('b8:70:f4:c3:4d:7f','e0:ca:94:1e:3a:7e','b4:74:9f:96:6a:e7');
                Empty set (0.00 sec)
                

                Got this result, but im still getting the same error:

                [Thu Dec 12 17:05:59.208393 2019] [proxy_fcgi:error] [pid 802] [client 10.2.32.179:51301] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/fog/lib/fog/fogpage.class.php(3013): RegisterClient->json()\n#3 /var/www/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/fog/lib/pages/dashboardpage.class.php(76): FOGPage->__construct('Dashboard')\n#5 /var/www/fog/lib/fog/loadglobals.class.php(67): DashboardPage->__construct()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(81): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n  thrown in /var/www/fog/lib/fog/hostmanager.class.php on line 209\n'
                
                

                Theres something else I should do?

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

                  @renanserrou In the error log posted we see:

                  Error multiple hosts returned for list of mac addresses
                  

                  You seem to have different hosts using the same MAC address (usually one as primary MAC and others as additional MACs). See here on how to find those in the database: https://forums.fogproject.org/topic/8448/response-error-multiple-hosts-returned-for-list-of-mac-addresses

                  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

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    renanserrou @Daniel Miller last edited by

                    @Daniel-Miller Its not showing in logviewer, but got then directly from the server, the apache section say its “Unable to open file for reading”, not sure if its related to the main problem. Thx for the help.

                    php7.0-fpm.log
                    error.log

                    1 Reply Last reply Reply Quote 0
                    • D
                      Daniel Miller @renanserrou last edited by

                      @renanserrou Seem to be a number of http error 500 reported in the log. Can you post the apache error and php-fpm logs from the fog server as well?

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        renanserrou last edited by

                        This is from a single machine, but none of then are working.
                        fog.log

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

                          @renanserrou Please upload the full client log (C:\fog.log or C:\Program Files (x86)\FOG\fog.log) here.

                          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

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

                          140
                          Online

                          10.4k
                          Users

                          16.4k
                          Topics

                          150.5k
                          Posts

                          Copyright © 2012-2023 FOG Project