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

    Apache Error on Trunk 4991

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    19
    4.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.
    • S
      Sebastian Roth Moderator
      last edited by

      I am sure Tom will take care of this in a minute… Sounds like a code issue.

      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
      • george1421G
        george1421 Moderator @Kris Phillips
        last edited by

        @Kris-Phillips Well if you have the environment variables set to use an external proxy server for internet access, that would confuse the db backup function (which uses wget) to clone the backup. I have personally experienced this before. If you have the environment variables set you need to tell them to not use the proxy for the local machine.

        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!

        1 Reply Last reply Reply Quote 0
        • K
          Kris Phillips
          last edited by

          Awesome. Thank you. Will it be in the next commit to the SVN? Because I’ll just watch for the version number to bump one.

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

            There is no coding issue. It’s definitely related to the Proxy system. Just add --no_proxy=localhost,<ipoffogserver> or something similar to that.

            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
            • george1421G
              george1421 Moderator @Kris Phillips
              last edited by

              @Kris-Phillips Just to add a little background info to this.

              at the linux command prompt on your FOG server key in the following command.

              set | grep proxy

              If you get something like this, you have a proxy server configuration.

              http_proxy=https://192.168.1.48:3128
              https_proxy=http://192.168.1.48:3128
              no_proxy=192.168.1.53
              

              The key thing you need to add is the last line with the no proxy set to the IP address of your fog server.

              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!

              1 Reply Last reply Reply Quote 0
              • K
                Kris Phillips
                last edited by Kris Phillips

                I ran set | grep proxy and it returned nothing.

                I also created a firewall rule on the gateway firewall to allow ports 80 and 443 outbound without any transparent proxy filtering specifically for the FOG server and it still returns this error.

                [EDIT]

                Also, for reference, I’m on 4991 now.

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

                  @Kris-Phillips what is in the latest fog_error log found in bin/error_logs

                  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
                  • K
                    Kris Phillips
                    last edited by

                    Latest error_logs file ending where error exists:
                    Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Starting The Apache HTTP Server…
                    Mar 11 12:27:35 CPFog.CANTON.local httpd[3263]: AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using CPFog.CANTON.local. Set the ‘ServerName’ directive globally to suppress this message
                    Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Started The Apache HTTP Server.

                    ● php-fpm.service - The PHP FastCGI Process Manager
                    Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
                    Active: active (running) since Fri 2016-03-11 12:27:35 EST; 2s ago
                    Main PID: 3264 (php-fpm)
                    Status: “Ready to handle connections”
                    CGroup: /system.slice/php-fpm.service
                    ├─3264 php-fpm: master process (/etc/php-fpm.conf
                    ├─3265 php-fpm: pool www
                    ├─3266 php-fpm: pool www
                    ├─3267 php-fpm: pool www
                    ├─3268 php-fpm: pool www
                    └─3269 php-fpm: pool www

                    Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Starting The PHP FastCGI Process Manager…
                    Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Started The PHP FastCGI Process Manager.
                    –2016-03-11 12:27:37-- http://10.10.51.22/fog//management/export.php?type=sqldump
                    Connecting to 10.10.51.22:80… connected.
                    HTTP request sent, awaiting response… 500 Internal Server Error
                    2016-03-11 12:27:37 ERROR 500: Internal Server Error.

                    Latest httpd error_log:
                    [Fri Mar 11 12:45:42.007126 2016] [:error] [pid 3272] [client 192.168.114.2:60972] PHP Fatal error: Cannot create references to elements of a temporary array expression in /var/www/html/fog/lib/fog/fogcore.class.php on line 120

                    Where is the fog_error log you’re looking for? I’m not familiar with the path I can find that on CentOS.

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

                      What OS is this and what version is php? php -v

                      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
                      • K
                        Kris Phillips
                        last edited by

                        PHP version (php -v):
                        PHP 5.4.16 (cli) (built: Jun 23 2015 21:17:27)
                        Copyright © 1997-2013 The PHP Group
                        Zend Engine v2.4.0, Copyright © 1998-2013 Zend Technologies

                        CentOS Version (rpm --query centos-release):
                        centos-release-7-2.1511.el7.centos.2.10.x86_64

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

                          @Kris-Phillips can you follow online and install the remi repository for centos then retry installer?

                          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

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            Kris Phillips @Tom Elliott
                            last edited by

                            @Tom-Elliott Looks like installing that repo did it. Thank you very much! I’m assuming a new package version if necessary for the latest trunk or something? Is this repo supposed to be added during the installfog.sh script?

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

                              Sorry for leading the wrong direction. Should have thought about PHP version… sure PHP 5.4 is not happy with the current code.

                              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

                              K george1421G 2 Replies Last reply Reply Quote 0
                              • K
                                Kris Phillips @Sebastian Roth
                                last edited by

                                @Sebastian-Roth All good! I’m very appreciative of all of your quick responses on this. Been trying to start some Windows 10 rollouts for testing and FOG 1.2 and Windows 10 are not buddies…

                                1 Reply Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth said:

                                  Sorry for leading the wrong direction. Should have thought about PHP version… sure PHP 5.4 is not happy with the current code.

                                  Any thought about doing something like php --version|grep "PHP 5" |awk '{ print $2 }' in the installer to make sure the returned value of PHP is greater than 5.5?

                                  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!

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

                                    Bump… would be good for CentOS fresh install as well.

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

                                    191

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project