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

Phantom host

Scheduled Pinned Locked Moved
FOG Problems
3
6
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.
  • I
    IIIPgCIII
    last edited by Mar 11, 2015, 7:18 PM

    I have a host that does not show up, but when I try to make a host with the same name, or same mac address, it says it exists. it does not. Could it have somehow not deleted all the way? how do i delete it?

    1 Reply Last reply Reply Quote 0
    • J
      Joseph Hales Testers
      last edited by Mar 11, 2015, 8:47 PM

      I had the same issue and Tom helped me manualy remove it from the sql database.

      RTFM

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Mar 11, 2015, 8:52 PM

        [code]delete from hosts where hostname=‘WHATEVERTHEPHANTOMHOSTNAMEIS’;
        delete FROM hostMAC where hmID=‘0’ OR hmHostID=‘0’;
        delete FROM hosts where hostID=‘0’;[/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
        • J
          Joseph Hales Testers
          last edited by Mar 11, 2015, 8:53 PM

          I think this and the truncate tasks script should both make it to the wiki.

          RTFM

          1 Reply Last reply Reply Quote 0
          • I
            IIIPgCIII
            last edited by Mar 11, 2015, 10:54 PM

            Thanks! that worked. But our hosts keep disapearing from the GUI. I see them, when I browse through the SQL database. It is really strange.

            1 Reply Last reply Reply Quote 0
            • J
              Joseph Hales Testers
              last edited by Mar 12, 2015, 2:12 PM

              I’ve only seen this behavior when upgrading and i forget to kill outstanding tasks or the server reboots during a host edit/add.

              RTFM

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

              158

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project