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

    1.4.1 Unable to register host (/bin/fog.man.reg)

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    8
    59
    22.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.
    • Tom ElliottT
      Tom Elliott @Kyley Holloway
      last edited by

      @Kyley-Holloway Those error’s aren’t related to why you can’t register a host unfortunately.

      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
      • D
        ddeatrich @Tom Elliott
        last edited by ddeatrich

        @Tom-Elliott Sure, I’ll get you the output. However, I never updated the server. This is a brand new fresh install. I’ve re-installed ubuntu server AND fog 7 times or so from scratch.

         ls -lhart /var/www
        
        total 16K
        
        drwxr-xr-x 14 root     root     4.0K Jun  2 10:43 [01;34 ..
        
        drwxr-xr-x  2 root     root     4.0K Jun  2 10:47 [01;34  html
        
        drwxr-xr-x  4 root     root     4.0K Jun  2 11:49 [01;34 .
        
        drwxr-xr-x 11 www-data www-data 4.0K Jun  2 11:50 [01;34 fog
        
        root@fog-server:~/fogproject# ls -lhart /var/www/html
        
        total 20K
        
        -rw-r--r-- 1 root root  11K Jun  2 10:43 index.html
        
        lrwxrwxrwx 1 root root   13 Jun  2 10:47  fog -> /var/www/fog/
        
        drwxr-xr-x 2 root root 4.0K Jun  2 10:47  .
        
        drwxr-xr-x 4 root root 4.0K Jun  2 11:49  ..
        
        root@fog-server:~/fogproject# exit
        
        exit
        
        1 Reply Last reply Reply Quote 0
        • B
          Benjamin_D
          last edited by Benjamin_D

          Hello,

          I am running Ubuntu 16.04.2 LTS with FOG 1.4.1, and I am having what appears to be the exact same issue.

          Here is the results of my ls -lhart commands:

          alt text

          I should note that while it appears to be the case that there are two installs of the FOG, I just installed Ubuntu today, and the only other program that I installed on this machine is isc-dhcp-server to specifically for FOG.

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

            It doesn’t appear you have two installs of FOG. I purposely make a link from /var/www/fog to /var/www/html/fog, but in some older system cases the link was unable to be used. So some instances would work from /var/www/fog and /var/www/html/fog. If the link didn’t exist, it was possible to have two links together.

            Can you try:

            sudo -i #enter logged in user's password if needed
            rm /var/www/html/fog #confirm as needed)
            mv /var/www/{,html/}fog
            ln -s /var/www/{html/,}fog
            

            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

            D B 2 Replies Last reply Reply Quote 0
            • D
              ddeatrich @Tom Elliott
              last edited by ddeatrich

              @Tom-Elliott Commands went through successfully.

              I’m still getting the same error and automatic computer reboot though.

              Edit: If I add the host manually into FOG, I get repeated messages saying “failed to check in” on the host. This does not stop until you hold the power button.

              1 Reply Last reply Reply Quote 0
              • B
                Benjamin_D @Tom Elliott
                last edited by

                @Tom-Elliott I ran those commands and tried to re-register, but no change in the result.

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

                  Quick fix:

                  FOG Configuration Page->FOG Settings->Web Server->FOG_WEB_ROOT please set to /fog/ and update.

                  This should fix the problem for you.

                  I’ll try to get a fix pushed for fresh installs.

                  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

                  Kyley HollowayK D J 3 Replies Last reply Reply Quote 0
                  • Kyley HollowayK
                    Kyley Holloway @Tom Elliott
                    last edited by

                    @Tom-Elliott The quick fix worked for me. Thanks. Done a Full Host Registration and capturing images now.

                    1 Reply Last reply Reply Quote 0
                    • D
                      ddeatrich @Tom Elliott
                      last edited by

                      @Tom-Elliott IT WORKS!!!

                      Thanks for all your help.

                      1 Reply Last reply Reply Quote 0
                      • J
                        j-hman @Tom Elliott
                        last edited by

                        @Tom-Elliott Fixed. Thanks!

                        1 Reply Last reply Reply Quote 0
                        • Z
                          zclift15
                          last edited by zclift15

                          @Tom-Elliott

                          Fixed for my fresh install!

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

                            Please like all of @george1421. His testing helped me see the error directly. Sorry it was hard to see it.

                            The quick fix is only intended for those who fresh installed. In 1.4.2 it should not happen anymore.

                            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 1
                            • B
                              Benjamin_D
                              last edited by

                              Can confirm as well that worked. Thank you!

                              1 Reply Last reply Reply Quote 0
                              • D
                                ddeatrich @george1421
                                last edited by

                                @george1421 Thanks for all your help!

                                1 Reply Last reply Reply Quote 1
                                • 1
                                • 2
                                • 3
                                • 3 / 3
                                • First post
                                  Last post

                                129

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project