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

Hosts are missing

Scheduled Pinned Locked Moved Solved
Bug Reports
3
5
1.8k
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.
  • M
    Matt Derrick
    last edited by Jul 9, 2015, 7:53 PM

    I was in the middle on imaging some laptops and the server locked up. Not responding in fog at all. Rebooted server and all my hosts came up as not registered. When I went to the host in fog there was no MAC address listed for any hosts. Updated server to newest trunk and now the host table is empty. I tried to import the hosts and it says “Row #1: A host with this name already exists” For all hosts in the csv file.

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jul 9, 2015, 2:04 PM Jul 9, 2015, 8:02 PM

      Because you have a host export available, you can do this:

      mysql
      use fog
      DELETE FROM `hosts` WHERE 1;
      DELETE FROM `hostMAC` WHERE 1;
      quit
      

      And then try to import.
      The above commands dump all host data.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 9, 2015, 8:57 PM

        What version of FOG is this?

        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

        W 1 Reply Last reply Jul 9, 2015, 9:13 PM Reply Quote 0
        • W
          Wayne Workman @Tom Elliott
          last edited by Jul 9, 2015, 9:13 PM

          @Tom-Elliott Yeah… the tables change… the version does matter…

          The answer I posted is for r3709, didn’t even think about it… But it does point people in the right direction 😉

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • M
            Matt Derrick
            last edited by Matt Derrick Jul 9, 2015, 3:32 PM Jul 9, 2015, 9:31 PM

            That worked. I cleared the databases and reimported all of my hosts. I am getting an error now on them being added to Active Directory. Not sure if related to the import or the trunk version I am on. which is 3735.

            Error is : 7/9/2015 4:23 PM FOG::HostnameChanger Domain Error! (‘Unknown Error’ Code: 1326)

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

            193

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project