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

    Solved Pending/duplicated MACs make fog agent failed

    Bug Reports
    3
    13
    3809
    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.
    • F
      Frank last edited by

      Hi,
      we have started to notice in some clients that snap-ins were not done and in fog log file we get:

      10/10/2014 10:58 FOG::DisplayManager Unknown error, module will exit.
      10/10/2014 10:58 FOG::AutoLogOut Unknown error, module will exit.
      10/10/2014 10:58 FOG::MODDebug Server responded with: Hello FOG Client
      10/10/2014 10:58 FOG::MODDebug Module has finished work and will now exit.
      10/10/2014 10:58 FOG::PrinterManager Unknown error, module will exit.
      10/10/2014 10:58 FOG::UserTracker Unknown error, module will exit.
      10/10/2014 10:58 FOG::HostnameChanger Attempting to connect to fog server…
      10/10/2014 10:58 FOG::HostnameChanger Unknown error, module will exit.
      10/10/2014 10:58 FOG::HostnameChanger Host name was not found in the database.
      10/10/2014 10:59 FOG::UserCleanup Starting user cleanup process…
      10/10/2014 10:59 FOG::UserCleanup Attempting to connect to fog server…
      10/10/2014 10:59 FOG::UserCleanup Unknown error, module will exit.

      In apache log we see requests like this

      [14/Oct/2014:16:10:32 +0200] “GET /fog/service/servicemodule-active.php?mac=[COLOR=#ff0000]10:60:4B:78:1B:E3%7C08:00:27:00:DC:3A[/COLOR]&moduleid=snapin HTTP/1.1” 200 388 “-” “-”

      Writing this url in console one gets “Error multiple hosts returned for list of mac addresses”
      Here are two problems:
      -the second MAC is pending,not aproved,so why is in the request?
      -the second MAC is the default MAC used by VirtualBox, so is repeated in all the hosts with this software.

      Could you solve this please?

      Thanks,

      Frank

      1 Reply Last reply Reply Quote 0
      • I
        Ipod37 last edited by

        Hello
        i noticed that some isatap adapter (IPV6 protocol) appear with the same mac address in the result of ipconfig/all

        i tried to unchek ipv6 and the error message change :

        CommunicationHandler Response : Error multiple hosts returned for list of mac addresses

        1 Reply Last reply Reply Quote 0
        • I
          Ipod37 last edited by

          here comes the result

          [url=“/_imported_xf_attachments/1/1867_hostMAC.txt?:”]hostMAC.txt[/url]

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

            [quote=“Ipod37, post: 45410, member: 29326”]Hello
            the revision is the latest svn : 3240[/quote]

            Can you get me the output of:

            [code]SELECT * from hostMACs \G[/code]

            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

            1 Reply Last reply Reply Quote 0
            • I
              Ipod37 last edited by

              Hello
              the revision is the latest svn : 3240

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

                Seeing as you’re using the new fog client, what revision of FOG are you running?

                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

                1 Reply Last reply Reply Quote 0
                • I
                  Ipod37 last edited by

                  Hello,

                  I have the same problem on my fog
                  I have tried with legacy and new fog client

                  so downlad and upload works fine but hostnamechanger and snapin not at all.
                  Help …

                  my log :


                  -------------------------------HostnameChanger-------------------------------

                  13/04/2015 16:36 Client-Info Version: 0.7.2
                  13/04/2015 16:36 HostnameChanger Running…
                  13/04/2015 16:36 CommunicationHandler URL: [url]http://192.168.10.222/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:FF:23:7B:2B:27|00:1D:09:92:D7:D2|00:50:56:C0:00:01|00:50:56:C0:00:08||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1[/url]
                  13/04/2015 16:36 CommunicationHandler Unknown Response: Error multiple hosts returned for list of mac addresses


                  ---------------------------------SnapinClient---------------------------------

                  13/04/2015 16:36 Client-Info Version: 0.7.2
                  13/04/2015 16:36 SnapinClient Running…
                  13/04/2015 16:36 CommunicationHandler URL: [url]http://192.168.10.222/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=00:FF:23:7B:2B:27|00:1D:09:92:D7:D2|00:50:56:C0:00:01|00:50:56:C0:00:08||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1[/url]
                  13/04/2015 16:36 CommunicationHandler Unknown Response: Error multiple hosts returned for list of mac addresses


                  --------------------------------DisplayManager--------------------------------

                  13/04/2015 16:36 Client-Info Version: 0.7.2
                  13/04/2015 16:36 DisplayManager Running…
                  13/04/2015 16:36 CommunicationHandler URL: [url]http://192.168.10.222/fog/service/servicemodule-active.php?moduleid=displaymanager&mac=00:FF:23:7B:2B:27|00:1D:09:92:D7:D2|00:50:56:C0:00:01|00:50:56:C0:00:08||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1[/url]
                  13/04/2015 16:36 CommunicationHandler Response: Module is disabled globally on the FOG server

                  1 Reply Last reply Reply Quote 0
                  • F
                    Frank last edited by

                    Ok, thanks for your effort Tom.

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

                      I don’t know.

                      I don’t know what’s causing the issue. On my side all is working properly. That’s not to say there isn’t a problem as many of the service files have been recoded to try to accept the legacy and the new client. As the systems I test with have the new client right now, I’m not seeing issues. I’ll try to put legacy client on today and see if I get the same results.

                      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

                      1 Reply Last reply Reply Quote 0
                      • F
                        Frank last edited by

                        We still get the same errors in the agents. Is it fixed in 2412 or in a later build?

                        1 Reply Last reply Reply Quote 0
                        • F
                          Frank last edited by

                          Ok, I will check it. (And I am going to open other possible bug 😞 related to web sessions)
                          Thanks

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

                            This should already be fixed.

                            That said, it’s more likely there’s a couple of entries that just don’t have host id’s.

                            Try running:

                            delete from hostMAC where hmHostID=‘0’;

                            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

                            1 Reply Last reply Reply Quote 0
                            • F
                              Frank last edited by

                              Sorry, I forgot to say that build is 2412

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

                              116
                              Online

                              10.4k
                              Users

                              16.4k
                              Topics

                              150.7k
                              Posts

                              Copyright © 2012-2023 FOG Project