Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 21:50:48

Author Topic: 503 - Service Unavailable  (Read 7435 times)

0 Members and 2 Guests are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
503 - Service Unavailable
« on: 2016-10-01, 16:32:15 »
I've switched from apache to hiawatha-proxy. And now got Service Unavailable 503.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #1 on: 2016-10-01, 16:35:27 »
When ran sh /script/restart-all I got this error:

Code: [Select]
*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 11 of /etc/httpd/conf.d/suphp.conf: Cannot load /etc/httpd/modules/libphp5-zts.so into server: /etc/httpd/modules/libphp5-zts.so: cannot open shared object file: No such file or directory

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #2 on: 2016-10-01, 16:39:07 »
Also noticed this too:

Code: [Select]
service php-fpm supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add php-fpm')

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 503 - Service Unavailable
« Reply #3 on: 2016-10-01, 17:31:50 »
Change suphp to php-fpm_event.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #4 on: 2016-10-01, 18:11:06 »
All the websites went down. I even go back to just Apache and now that's not working too.

If I were to reinstall using "sh /script/upcp -y" then is that going to restore everything back to default and fixed these issues? Will that keep all the accounts and backups intact? I really want fresh start with hiawatha-proxy.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #5 on: 2016-10-01, 18:28:19 »
If I used hiawatha then it works but not for all websites. Some websites work and some say "The page isn’t redirecting properly" But I don't have any redirect. It's just a wordpress. And one of the websites just have an index.html no .htaccess (deleted to test) and that site "The page isn’t redirecting properly".

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #6 on: 2016-10-01, 20:15:24 »
I reinstall Apache following another post in the forum.
yum reinstall httpd24u* mod24u* -y; pkill -9 httpd; sh /script/restart-web -y

and now I get this error and all websites are still down.

Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 131 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/fastcgi.conf: Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 503 - Service Unavailable
« Reply #7 on: 2016-10-02, 02:09:34 »
Try 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #8 on: 2016-10-02, 03:49:00 »
So I ended up "sh /script/upcp -y" and then "sh /script/cleanup".

I got it to work with Apache but I cannot get hiawatha-proxy to work.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 503 - Service Unavailable
« Reply #9 on: 2016-10-02, 05:20:04 »
So I ended up "sh /script/upcp -y" and then "sh /script/cleanup".

I got it to work with Apache but I cannot get hiawatha-proxy to work.
Inform here your 'sh /script/restart-all' and 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #10 on: 2016-10-02, 05:43:26 »

Inform here your 'sh /script/restart-all' and 'sh /script/sysinfo'.
[/quote]

Quote
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Stopping httpry:                                           [  OK  ]
Starting httpry:                                           [  OK  ]
-------------------------------------------------------------------

*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
  - Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

*** Process for NSD service ***
  - Process 'nsd': restart
Stopping nsd:                                              [  OK  ]
Starting nsd:                                              [  OK  ]
-------------------------------------------------------------------

Stopping traffic_cop:                                      [  OK  ]
Stopping traffic_manager:                                  [  OK  ]
Stopping traffic_server:                                   [  OK  ]
Starting Apache Traffic Server:                            [  OK  ]
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php54m-fpm (PHP Used):                            [  OK  ]
Starting php54m-fpm (PHP Used):                            [  OK  ]
-------------------------------------------------------------------

Stopping php52m-fpm (Multiple Php):                        [  OK  ]
Stopping php53m-fpm (Multiple Php):                        [  OK  ]
Stopping php54m-fpm (Multiple Php):                        [  OK  ]
Stopping php55m-fpm (Multiple Php):                        [  OK  ]
Stopping php56m-fpm (Multiple Php):                        [  OK  ]
Stopping php70m-fpm (Multiple Php):                        [  OK  ]

Starting php52m-fpm (Multiple Php):                        [  OK  ]
Starting php53m-fpm (Multiple Php):                        [  OK  ]
Starting php54m-fpm (Multiple Php):                        [  OK  ]
Starting php55m-fpm (Multiple Php):                        [  OK  ]
Starting php56m-fpm (Multiple Php):                        [  OK  ]
Starting php70m-fpm (Multiple Php):                        [  OK  ]
-------------------------------------------------------------------

Stopping memcached:                                        [FAILED]
Starting memcached:                                        [  OK  ]
-------------------------------------------------------------------

*** Process for HIAWATHA service ***
  - Process: restart
Stopping Hiawatha web server:                              [  OK  ]
Starting Hiawatha web server:                              [  OK  ]
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
-------------------------------------------------------------------

*** Process for KLOXO service ***
  - Process: restart
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
sh /script/sysinfo
Quote
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016093001
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: server.mydomain.com
C. Services:
   1. MySQL: MariaDB-server-10.0.27-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.26-1.ius.el6
          * php70m-7.0.11-1.w6
      - Used: php54m-fpm
      - Multiple: enable
   3. Web Used: hiawathaproxy
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.41-1.el6.x86_64
     - Nginx: nginx-1.11.4-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.23-2.ius.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: trafficserver
     - ATS: trafficserver-5.3.0-1.el6.x86_64
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: nsd-4.1.12-1.el6.x86_64
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: --uninstalled--
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         11626       5425       6200         52        230       4144
   -/+ buffers/cache:       1050      10575
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        50G   28G   19G  60% /

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 503 - Service Unavailable
« Reply #11 on: 2016-10-02, 06:37:29 »
No issue related to webserver restart. So, what's a problem is?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #12 on: 2016-10-02, 06:38:46 »
Now all the websites have these error "Unable to connect"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 503 - Service Unavailable
« Reply #13 on: 2016-10-02, 06:41:41 »
Don't use webcache like 'Apache TrafficServer' or others. They have a problem with ssl.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: 503 - Service Unavailable
« Reply #14 on: 2016-10-02, 06:58:23 »
I have it all disabled. Cache: None

But that still give me the same error when visit websites "Unable to connect"

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.067 seconds with 17 queries.

web stats analysis