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

    Issue Deleting Host

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    2.2k
    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.
    • J
      Jamie Rozek
      last edited by

      Hey again.

      I was in the process of registering a host, and the computer lost power while “sending info to server.”

      So, the host was registered in an incomplete state.

      The host appears on the Web GUI, but there is no info inside.

      If I try to manually add the MAC address and info, I receive “No user history data found!”
      The host entry is not updated.

      If I try to delete the host, it does nothing. It goes to a blank white page and sits there.

      I’m guessing I will have to remove the entry from the database itself, but I’m not quite sure how to do this.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        if you set without a password, on the FOG Server run:
        [code]mysql -u root fog[/code]
        if you set mysql with a password, on the FOG Server run:
        [code]mysql -u root -p fog[/code]

        Once at the mysql> prompt type:
        [code]delete from hosts where hostName=‘<HOSTNAME>’;[/code]

        Don’t forget the semicolon at the end.

        Once complete, type exit.

        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
          Jamie Rozek
          last edited by

          Thanks, Tom!

          1 Reply Last reply Reply Quote 0
          • johnomazJ
            johnomaz
            last edited by

            This may be a year old, but it helped me out a ton. Suddenly a bunch of hosts entries have stopped loading.

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

            159

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project