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

    Can't delete host with empty host name 1.5.0 RC 7

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    3
    1.3k
    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.
    • x23piracyX
      x23piracy
      last edited by x23piracy

      Server
      • FOG Version: 1.5.0 RC7
      • OS: Ubuntu 14

      Hi,

      for some kind of reason i have one host (don’t know since when) that does not have a host name (it’s empty) therefore no link to enter the host details even when i catch the id from deploy link and manually try to enter (http://fog/fog/management/index.php?node=host&sub=edit&id=xxxxx) it doesn’t work.

      When i mark that host and try to delete it the delete overview do not present anything and i think therefore pressing the delete button will do nothing.

      Bild Text

      Bild Text
      Bild Text

      Howto remove that biatch host or give it a hostname to try if it can be entered by link then (SQL)?
      Host ID is 31418

      Regards X23

      ║▌║█║▌│║▌║▌█

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @x23piracy try:

        mysql -u root -p
        ...
        mysql> use fog;
        mysql> SELECT * FROM hostMAC WHERE hmMAC LIKE '%4e:a7:a0:14:00:98%';
        

        This should show the MAC address which is still in the DB but not referenced by a host object. To delete it run:

        mysql> DELETE FROM hostMAC WHERE hmMAC LIKE '%4e:a7:a0:14:00:98%';
        

        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

        x23piracyX 1 Reply Last reply Reply Quote 1
        • x23piracyX
          x23piracy @Sebastian Roth
          last edited by

          @sebastian-roth solved, thank you.

          Regards X23

          ║▌║█║▌│║▌║▌█

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

          161

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project