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

Pending/duplicated MACs make fog agent failed

Scheduled Pinned Locked Moved Solved
Bug Reports
3
13
4.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.
  • F
    Frank
    last edited by Oct 14, 2014, 2:30 PM

    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
    • F
      Frank
      last edited by Oct 14, 2014, 2:31 PM

      Sorry, I forgot to say that build is 2412

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Oct 14, 2014, 2:33 PM

        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 Oct 14, 2014, 3:08 PM

          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
          • F
            Frank
            last edited by Oct 15, 2014, 6:15 AM

            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
            • T
              Tom Elliott
              last edited by Oct 15, 2014, 12:40 PM

              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 Oct 16, 2014, 6:00 AM

                Ok, thanks for your effort Tom.

                1 Reply Last reply Reply Quote 0
                • I
                  Ipod37
                  last edited by Apr 13, 2015, 2:55 PM

                  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
                  • T
                    Tom Elliott
                    last edited by Apr 13, 2015, 4:19 PM

                    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 Apr 14, 2015, 7:13 AM

                      Hello
                      the revision is the latest svn : 3240

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Apr 14, 2015, 1:45 PM

                        [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 Apr 14, 2015, 2:17 PM

                          here comes the result

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

                          1 Reply Last reply Reply Quote 0
                          • I
                            Ipod37
                            last edited by Apr 15, 2015, 8:25 AM

                            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
                            • 1 / 1
                            • First post
                              Last post

                            185

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project