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

    503 Service Unavailable Error

    Scheduled Pinned Locked Moved
    FOG Problems
    10
    67
    28.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.
    • T
      Troye Johnson
      last edited by

      I am running Centos7
      Fog version 1.5.2

      I am currently receiving this error when trying to get to the fog management pageService Unavailable

      The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

      I am not sure where to start when it comes to troubleshooting this issue. I have however tried dropping the database and once that happens things seem to run better the issue is I do not want to lose all my settings and when I did that it did not allow me to add new images.

      Fog Server information

      Cent OS 7
      Running Version 1.5.2

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Troye Johnson
        last edited by

        @troye-johnson This is an interesting one. Take a peek at the apache error log in /var/log/httpd.

        Go to the management console to get the 500 error and then just tail the error log file and see what apache isn’t happy with.

        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
        • Greg PlamondonG
          Greg Plamondon Testers
          last edited by

          I am getting this as well… its hit and miss. If I refresh the page the web interface comes back.

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Greg Plamondon
            last edited by

            @greg-plamondon OK let me update my dev box (its still on 1.5.0) to see if I can find anything.

            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
            • T
              Troye Johnson
              last edited by

              [Wed Apr 11 14:06:00.009232 2018] [proxy_fcgi:error] [pid 2887] (70007)The timeout specified has expired: [client x.x.x.x:56333] AH01075: Error dispatching request to :

              Is the error i am receiving.

              Fog Server information

              Cent OS 7
              Running Version 1.5.2

              1 Reply Last reply Reply Quote 0
              • Greg PlamondonG
                Greg Plamondon Testers
                last edited by

                I found this in the apache logs when it happens.

                [Wed Apr 11 13:52:45.028047 2018] [proxy_fcgi:error] [pid 2841] (70007)The timeout specified has expired: [client 10.10.150.73:62324] AH01075: Error dispatching request to :, referer: http://10fogserver/fog/management/index.php?node=host&sub=deploy&id=160&type=1
                
                george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Greg Plamondon
                  last edited by george1421

                  @greg-plamondon said in 503 Service Unavailable Error:

                  proxy_fcgi

                  That kind of tells me that php-fpm was enabled and its having an issue. What OS do you have Greg? My dev box is centos so I should be able to duplicate Troye’s issue.

                  I wasn’t aware that the devs enabled php-fpm (which is generally a good thing to have running).

                  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!

                  Greg PlamondonG 1 Reply Last reply Reply Quote 0
                  • Greg PlamondonG
                    Greg Plamondon Testers @george1421
                    last edited by

                    @george1421 I am running Centos 7.4 x64

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

                      (still waiting for my dev server to update)
                      I did do some testing for php-fpm a while ago: https://forums.fogproject.org/topic/10717/can-php-fpm-make-fog-web-gui-fast

                      The idea of php-fpm is a dedicated php engine that executes much faster than the built in php engine in apache.

                      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!

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

                        @george1421 ok not related to php-fpm.

                        How many client computers do you guys have on your campus?

                        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!

                        george1421G 1 Reply Last reply Reply Quote 0
                        • T
                          Troye Johnson
                          last edited by

                          I have about 130-150 clients.

                          Fog Server information

                          Cent OS 7
                          Running Version 1.5.2

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @Greg Plamondon
                            last edited by

                            @greg-plamondon said in 503 Service Unavailable Error:

                            I found this in the apache logs when it happens.

                            [Wed Apr 11 13:52:45.028047 2018] [proxy_fcgi:error] [pid 2841] (70007)The timeout specified has expired: [client 10.10.150.73:62324] AH01075: Error dispatching request to :, referer: http://10fogserver/fog/management/index.php?node=host&sub=deploy&id=160&type=1
                            

                            Did you purposely put 10fogserver in there?

                            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/

                            Greg PlamondonG 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @george1421
                              last edited by george1421

                              @george1421 OK I’m back hunting php-fpm timeout.

                              0_1523472558752_phpfpm.png

                              For those with the error can you review this log file to see if it gives us any clue to why /var/log/php-fpm/www-error.log

                              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!

                              Greg PlamondonG george1421G 2 Replies Last reply Reply Quote 0
                              • Greg PlamondonG
                                Greg Plamondon Testers @george1421
                                last edited by

                                @george1421
                                I followed your FPM/FastCGI howto you linked and the problem seems to be gone and considerably faster now.
                                Thanks!

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Troye Johnson
                                  last edited by

                                  I will try your guide.

                                  Fog Server information

                                  Cent OS 7
                                  Running Version 1.5.2

                                  1 Reply Last reply Reply Quote 0
                                  • Greg PlamondonG
                                    Greg Plamondon Testers @Wayne Workman
                                    last edited by

                                    @wayne-workman Yes, as we have more than one.

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

                                      @george1421 said in 503 Service Unavailable Error:
                                      For those with the error can you review this log file to see if it gives us any clue to why /var/log/php-fpm/www-error.log

                                      Its great we have php-fpm running, it does make quite a difference, but we need to understand why. I can’t seem to make it fail on my side, but I only have a handful of systems on my dev box.

                                      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!

                                      Greg PlamondonG 1 Reply Last reply Reply Quote 0
                                      • Greg PlamondonG
                                        Greg Plamondon Testers @george1421
                                        last edited by

                                        @george1421 said in 503 Service Unavailable Error:

                                        @george1421 said in 503 Service Unavailable Error:
                                        For those with the error can you review this log file to see if it gives us any clue to why /var/log/php-fpm/www-error.log

                                        Its great we have php-fpm running, it does make quite a difference, but we need to understand why. I can’t seem to make it fail on my side, but I only have a handful of systems on my dev box.

                                        this is my log:

                                        [11-Apr-2018 14:53:04 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35258 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 14:53:14 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35258 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 14:53:27 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35258 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 15:30:55 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 15:33:22 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:00:49 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:08:10 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:13:25 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:13:46 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:14:03 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:14:28 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:14:31 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:16:21 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:17:13 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:17:30 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:17:51 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:21:05 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:21:28 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:22:15 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:24:21 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:24:57 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:25:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:25:45 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 16:26:28 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:44:16 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:44:39 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:44:54 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:45:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:46:00 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:46:58 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:47:54 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:48:13 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:48:23 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:48:52 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:49:06 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        [11-Apr-2018 17:49:30 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
                                        
                                        george1421G 2 Replies Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @Greg Plamondon
                                          last edited by

                                          @greg-plamondon Ok it looks like an upper memory limit got us. OK lets see what we need to do to fix. @Troye-Johnson since Greg already tainted his system hold off for a minute updating yours so we can see if we can fix this memory issue.

                                          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!

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

                                            @george1421 change the memory limit it fogsettings

                                            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

                                            george1421G 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post

                                            207

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project