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

Invalid Host - ID 0, has name and imageID - no MAC address

Scheduled Pinned Locked Moved Solved
FOG Problems
2
3
1.6k
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.
  • G
    GFm
    last edited by Jul 16, 2015, 2:00 PM

    One of my hosts tried to register, got “invalid host” error. I cannot search specifically for that client (Search failed: Internal Server Error), but I can pull up the full list and it shows the host.

    I click on the host and it goes to a blank page with the ID=0 at the end of the URL. I exported the host list and see that it shows only the hostname (14-14924) and image id (62).

    Any ideas how to fix this? If I have to delete from the database manually, can you briefly describe how to?

    Thanks!!

    FOG 3735, Ubuntu 13.10

    1 Reply Last reply Reply Quote 0
    • W
      Wolfbane8653 Developer
      last edited by Jul 16, 2015, 2:09 PM

      You’re going to have to go into mysql database and delete the host with hostID=0.

      mysql -u root -p fog
      

      in mysql…

      select * from hosts where hostID=0 \G
      

      That will show all your hosts with a bad hostID then you will need to delete them…

      delete from hosts where hostID=0;
      

      FINALLY re-register the host you were having trouble with.

      G 1 Reply Last reply Jul 16, 2015, 3:06 PM Reply Quote 3
      • G
        GFm @Wolfbane8653
        last edited by Jul 16, 2015, 3:06 PM

        @Wolfbane8653 That worked to delete my host! Thanks

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

        156

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project