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

Registering Clients Same MAC Shows Up

Scheduled Pinned Locked Moved Solved
Bug Reports
4
11
2.9k
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.
  • U
    UWPVIOLATOR
    last edited by Sep 22, 2016, 4:17 PM

    Server
    • FOG Version: RC10 v5955
    • OS: Ubuntu 14.04
    Client
    • Service Version:
    • OS:
    Description

    Alright fun new issue today. I had 2 machines that needed to be reimaged. Searched for them in FOG and they were not there. Went to the machines and booted into FOG. Not Registered. So I went to register them. Both machines kept telling me the host name was taken and they both had the same MAC address coming up. See screenshots below. That MAC address is ASUSTek COMPUTER INC. I have the actual MAC address from our Zen Server. Where do I go from here? Could this be an issue with our FOG server load lately? Thanks in advance.

    0_1474560729184_5601251739916648991-account_id=2.jpg

    0_1474560739434_8493089996610173470-account_id=2.jpg

    1 Reply Last reply Reply Quote 0
    • A
      ablohowiak @Wayne Workman
      last edited by Sep 28, 2016, 6:35 PM

      @Wayne-Workman
      Had to run the delete commands one more time after moving to RC11. It’s been okay since then other than needing to reset the encryption data.

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Sep 22, 2016, 5:44 PM

        Cross-linking threads with same problem, and moved to bugs.

        https://forums.fogproject.org/topic/8359/fog-registration-error-hostname-with-that-name-already-exists

        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
        • W
          Wayne Workman
          last edited by Wayne Workman Sep 22, 2016, 12:02 PM Sep 22, 2016, 5:53 PM

          @UWPVIOLATOR Can you run these SQL queries in MySQL please, and give us the results?

          mysql -D fog
          SELECT `hostID`, `hostName` FROM `hosts` WHERE `hostID` = '0';
          SELECT * FROM `hostMAC` WHERE hmID = '0' OR `hmHostID` = '0';
          SELECT * FROM `groupMembers` WHERE `gmID` = '0' OR `gmHostID` = '0' OR `gmGroupID` = '0';
          SELECT * FROM `snapinGroupAssoc` WHERE `sgaID` = '0' OR `sgaSnapinID` = '0' OR `sgaStorageGroupID` = '0';
          SELECT * from `snapinAssoc` WHERE `saID` = '0' OR `saHostID` = '0' OR `saSnapinID` = '0'; 
          quit
          

          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 Sep 22, 2016, 7:00 PM Reply Quote 0
          • A
            ablohowiak @Wayne Workman
            last edited by Sep 22, 2016, 7:00 PM

            @Wayne-Workman
            Query one and four returned nothing. Here are the other three.

            0_1474570607915_upload-97493957-7b91-4b55-9911-475cfdd3b955

            0_1474570706875_upload-6f41b4f5-04f9-4c98-8abc-65fdd8adaa2a

            W 1 Reply Last reply Sep 22, 2016, 7:42 PM Reply Quote 0
            • W
              Wayne Workman @ablohowiak
              last edited by Sep 22, 2016, 7:42 PM

              @ablohowiak So what needs done is these with IDs of 0 need deleted. Three hosts were listed as pending with an ID of zero, one without a MAC. I would expect these three hosts to re-report in after being deleted, and you can then approve them. To delete all these, just change it from a select into a delete. Like below.

              Feel free to do a DB backup prior via Web Interface -> FOG Configuration -> Configuration Save -> Export or via CLI as mysqldump fog > /root/dbBackup.sql

              mysql -D fog
              DELETE FROM `hosts` WHERE `hostID` = '0';
              DELETE FROM `hostMAC` WHERE hmID = '0' OR `hmHostID` = '0';
              DELETE FROM `groupMembers` WHERE `gmID` = '0' OR `gmHostID` = '0' OR `gmGroupID` = '0';
              DELETE FROM `snapinGroupAssoc` WHERE `sgaID` = '0' OR `sgaSnapinID` = '0' OR `sgaStorageGroupID` = '0';
              DELETE from `snapinAssoc` WHERE `saID` = '0' OR `saHostID` = '0' OR `saSnapinID` = '0'; 
              quit
              

              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
              • T
                Tom Elliott
                last edited by Sep 23, 2016, 12:14 PM

                Pretty sure this issue already has been addressed for RC 11. I want to push it out as soon as possible, just trying to get things worked out a little bit.

                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
                • U
                  UWPVIOLATOR
                  last edited by Sep 23, 2016, 1:13 PM

                  Ran successfully. I was able to delete a device then re add it. I won’t be able to test the 2 I had issues with until next week but this looks promising for now.

                  T 1 Reply Last reply Sep 23, 2016, 1:20 PM Reply Quote 0
                  • T
                    Tom Elliott @UWPVIOLATOR
                    last edited by Sep 23, 2016, 1:20 PM

                    @UWPVIOLATOR What ran successfully?

                    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

                    W 1 Reply Last reply Sep 23, 2016, 1:21 PM Reply Quote 0
                    • W
                      Wayne Workman @Tom Elliott
                      last edited by Sep 23, 2016, 1:21 PM

                      @Tom-Elliott He was talking about the sql commands.

                      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/

                      U A 2 Replies Last reply Sep 23, 2016, 1:22 PM Reply Quote 0
                      • U
                        UWPVIOLATOR @Wayne Workman
                        last edited by Sep 23, 2016, 1:22 PM

                        @Wayne-Workman Yes the SQL commands is what I was referring to.

                        1 Reply Last reply Reply Quote 0
                        • A
                          ablohowiak @Wayne Workman
                          last edited by Sep 28, 2016, 6:35 PM

                          @Wayne-Workman
                          Had to run the delete commands one more time after moving to RC11. It’s been okay since then other than needing to reset the encryption data.

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

                          158

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project