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

    Host is Not Registered

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    10
    7.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.
    • J
      J Kiley
      last edited by

      Apologies if I’m missing a similar thread.
      Fog Version 1.1.2
      I’m able to register a host. I can see it in the web portal. I checked the mysql database and everything looks right on that end. I schedule a task and boot the machine again.
      Instead of executing the task, the FOG menu shows again with the header “Host is NOT Registered”. Attempting to reregister the host generates, without fail, a warning that it cannot register the host, as the host is already registered.

      This feels like a networking issue. For some reason the client can’t see the MAC address of the NIC, and thus thinks the host is unregistered. However once the actual kernel runs it finds it and correctly declines to reregister it.

      Any help would be appreciated.

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

        It didn’t create the host properly from the sounds of it. Likely a typo during the image association?

        [code]delete * from hosts where id=‘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
          J Kiley
          last edited by

          Tom,
          I cleared the host table and reregistered the machine, same issue. Neither a full registration nor a quick registration make it though (cleared the host table for both).

          Is there another table that I might need to dump the data from? I see that, with a host registered and in the hosts table, the hostMAC table is still empty. I would try inserting the record by hand, but that isn’t going to solve my issue in the long run.

          Additionally the host number continues to increment (on 4 now), do I need to reset the keying for the table?
          Fog 1.1.2 OS Ubuntu Desktop 12.04.4 LTS

          Thank you for your help.

          1 Reply Last reply Reply Quote 0
          • J
            J Kiley
            last edited by

            Tom,
            I rebuilt my server using Ubuntu Server 12.04.4 LTS and reinstalled FOG and am no longer seeing this issue. Now I just need to FTP my images and test them and I’ll be good to go. I needed the kick in the pants to manage the server via CLI anyways.
            Thanks again!

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

              I’m sorry I didn’t respond. I’m glad that this worked. I’ve had a couple of busy days. Thanks for reporting back and giving the solution though 😄

              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
                J Kiley
                last edited by

                Yeah, I’m pretty sure I just borked some part of the install. I went from using dnsmasq to handle the proxyDHCP requests to letting my DHCP server handle it. Every other issue I’ve had I haven’t had to go any further than this forum and/or the wiki.
                My plan is to just FTP the images into /images, double check the permissions, and then add the images in via the the 10.x.x.x/fog interface. I’m assuming that is going to work, is there anything else I need to do?

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

                  Are you coming from 0.32 with these images? Meaning are they partimage images?

                  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
                    J Kiley
                    last edited by

                    The images are 1.0.0 images, so they’re the same partclone images that 1.1.2 uses.

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

                      Cool, then nothing is needed to be done besides getting them back.

                      You may want to ensure the folders are proper permissions once copied back with:
                      [code]chown -R fog:root /images
                      chmod -R 777 /images[/code]

                      Other than that all should be great.

                      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
                        J Kiley
                        last edited by

                        Just what I thought. Thank you and the rest of the forum staff for your awesome support!

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

                        196

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project