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

    501 error when trying to download FOG client

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    9
    692
    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.
    • W
      wrinks
      last edited by

      Hello,

      I am trying to download the FOG client for a Windows 10 Pro image I’m building but receive a 501 error when I try to download it. I’m able to connect to the management portal fine but the client downloader, not so much.

      I am currently running the iso out of Virtual Box on a Windows 10 Pro host, though I will probably be changing that. It’s my first time using FOG so I wanted to get a proof of concept up before diving too deep into specifics. The FOG server itself is running on CentOS 7.

      Any help (or pointer in the right direction) would be appreciated.

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

        @wrinks Check the apache logs (see my signature) to hopefully get an idea why it returns HTTP 501 error.

        If you just want a proof of concept you can download the current installer here as well: https://github.com/FOGProject/fog-client/releases/tag/0.11.16

        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
        • W
          wrinks
          last edited by

          Checked the logs as instructed. I saw this error from yesterday and I tried adding in index.php in under <IfModule dir_module> in the httpd.conf file, but that didn’t see to do anything.

          [Wed Jun 05 13:44:15.276302 2019] [autoindex:error] [pid 4575] [client 10.100.11.113:33207] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
          
          

          Today I tried adding and removing it a few times it doesn’t seem to trip that error now, whether index.php is added in there or not:

          [Thu Jun 06 10:13:30.215781 2019] [mpm_prefork:notice] [pid 4778] AH00170: caught SIGWINCH, shutting down gracefully
          [Thu Jun 06 10:14:28.438042 2019] [core:notice] [pid 4748] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
          [Thu Jun 06 10:14:28.531334 2019] [suexec:notice] [pid 4748] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
          [Thu Jun 06 10:14:28.614404 2019] [auth_digest:notice] [pid 4748] AH01757: generating secret for digest authentication ...
          [Thu Jun 06 10:14:28.615156 2019] [lbmethod_heartbeat:notice] [pid 4748] AH02282: No slotmem from mod_heartmonitor
          [Thu Jun 06 10:14:29.181160 2019] [mpm_prefork:notice] [pid 4748] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.19 configured -- resuming normal operations
          [Thu Jun 06 10:14:29.181202 2019] [core:notice] [pid 4748] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
          [Thu Jun 06 10:14:57.821390 2019] [mpm_prefork:notice] [pid 4748] AH00170: caught SIGWINCH, shutting down gracefully
          [Thu Jun 06 10:20:08.536685 2019] [core:notice] [pid 4771] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
          [Thu Jun 06 10:20:08.651858 2019] [suexec:notice] [pid 4771] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
          [Thu Jun 06 10:20:08.720317 2019] [auth_digest:notice] [pid 4771] AH01757: generating secret for digest authentication ...
          [Thu Jun 06 10:20:08.721009 2019] [lbmethod_heartbeat:notice] [pid 4771] AH02282: No slotmem from mod_heartmonitor
          [Thu Jun 06 10:20:09.047203 2019] [mpm_prefork:notice] [pid 4771] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.19 configured -- resuming normal operations
          [Thu Jun 06 10:20:09.047249 2019] [core:notice] [pid 4771] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
          [Thu Jun 06 11:57:34.327030 2019] [mpm_prefork:notice] [pid 4771] AH00170: caught SIGWINCH, shutting down gracefully
          [Thu Jun 06 11:57:35.396167 2019] [core:notice] [pid 5765] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
          [Thu Jun 06 11:57:35.396890 2019] [suexec:notice] [pid 5765] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
          [Thu Jun 06 11:57:35.414588 2019] [auth_digest:notice] [pid 5765] AH01757: generating secret for digest authentication ...
          [Thu Jun 06 11:57:35.415174 2019] [lbmethod_heartbeat:notice] [pid 5765] AH02282: No slotmem from mod_heartmonitor
          [Thu Jun 06 11:57:35.432844 2019] [mpm_prefork:notice] [pid 5765] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.19 configured -- resuming normal operations
          [Thu Jun 06 11:57:35.432872 2019] [core:notice] [pid 5765] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
          
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @wrinks You made sure SELinux is disabled?

            I would sag download the client binary fromm github for your first tests. See my last post…

            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 Reply Quote 0
            • W
              wrinks @Sebastian Roth
              last edited by

              @Sebastian-Roth

              Yes. I think I had disabled it temporarily but then made the edits to do it permananetly and still was getting the same error. Any other tips?

              I’ll try that binary though, thanks.

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

                @wrinks Please see if you find and hint on what’s going wrong in the PHP logs (see my signature again).

                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 Reply Quote 0
                • W
                  wrinks @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Sorry for the delay, being pulled in a few directions…

                  I checked the php logs (there were several log files created) and the only one that seemed to indicate an error was this one in www-error.log-20190609

                  [06-Jun-2019 15:50:20 UTC] PHP Warning:  get_class() expects parameter 1 to be object, null given in /var/www/html/fog/lib/fog/page.class.php on line 568
                  

                  So… I tried just to run the client installer on my windows 10 vm and got an ‘Unable to install CA certificate’ error.

                  I’m wondering if I should just start from scratch… Is there a guide for creating a win 10 image? Would the stickied Tutorial in the thread “How to Setup Ubuntu Server/FOG 1.2.0/Create Univeral Windows 7 Image using Sysprep - Step-by-Step” be a useful guide for me to use as reference for this process?

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

                    @wrinks You can safely ignore this warning on get_class().

                    So… I tried just to run the client installer on my windows 10 vm and got an ‘Unable to install CA certificate’ error.

                    Which values did you set when running the installer. Note that web address is set to fogserver as default and that will most likely not resolve to a proper IP address in your network. So make sure you put in you FOG server IP…

                    Would the stickied Tutorial in the thread “How to Setup Ubuntu Server/FOG 1.2.0/Create Univeral Windows 7 Image using Sysprep - Step-by-Step” be a useful guide for me to use as reference for this process?

                    OMG - we really need people to help us update the docs! FOG 1.2.0 is years old and I think this tutorial should not be used anymore. I just unpinned it!

                    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
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @wrinks Any news on this? Did you get this solved?

                      We seem to have a similar issue here: https://forums.fogproject.org/topic/13422/sub-menu-features-access/6

                      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
                      • 1 / 1
                      • First post
                        Last post

                      173

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project