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

    Accidently Registered Twice

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    5
    2.0k
    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.
    • S
      SBrady
      last edited by

      I registered a computer twice on accident and then it said there was a naming confilict so I deleted the Host. Now when I try to do it again it says “Unable to locate host in database, please ensure that mac address is correct.”

      Please let me know if any additional information is needed.

      Thank you.

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        It might be easiest to delete both instances of the host. then reregister it. The only way you can register the same physical host twice is to use a different MAC address. If a host exists with the same MAC address, Fog will not let you register it again. At least not from the boot menu task. I don’t know about the WebUI.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • S
          SBrady
          last edited by

          [quote=“chad-bisd, post: 4970, member: 18”]It might be easiest to delete both instances of the host. then reregister it. The only way you can register the same physical host twice is to use a different MAC address. If a host exists with the same MAC address, Fog will not let you register it again. At least not from the boot menu task. I don’t know about the WebUI.[/quote]

          That’s the point. I deleted the host and now when I try to re-register it, I get the mac address message and cannot register.

          1 Reply Last reply Reply Quote 0
          • A
            astrouga
            last edited by

            Try manually deleting the entry from the mysql db, if the host is there. From a terminal:
            [CODE]mysql -u root -p
            use fog;
            select * from hosts; //this will list all the hosts
            [/CODE]
            if you know the hostname:
            [CODE]select * from hosts where hostName=“blah”;[/CODE]
            if you find it, delete it with:
            [CODE]delete from hosts where hostName=“blah”;[/CODE]
            You can list and delete with similar commands for the mac addresses you tried to register. Just change the “where” portion of the above statements like:
            where hostMAC=“00:00:00:00:00:00” substituting in your mac values.

            Let us know if that worked.

            astrouga

            1 Reply Last reply Reply Quote 0
            • S
              SBrady
              last edited by

              I was able to add manually. Thank you

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

              170

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project