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-05-11, 07:43:11

Author Topic: Removing users causes permanent error 503 ;(  (Read 4751 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Removing users causes permanent error 503 ;(
« on: 2015-07-15, 12:36:41 »
That's horrible. Even removing /script/restart-web before removing customers does not help.

I'm unable to restart php-fpm because it still listening on some other socket. Killing php-fpm does not help as well.
« Last Edit: 2015-07-15, 12:52:57 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #1 on: 2015-07-15, 13:14:03 »
Damn - it's Apache bug !!!

http://www.apache.org/dist/httpd/CHANGES_2.4

Changes with Apache 2.4.13

  *) mod_proxy: Don't put the worker in error state for 500 or 503 errors
     returned by the backend unless failonstatus is configured to.  PR 56925.
     [Yann Ylavic]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Removing users causes permanent error 503 ;(
« Reply #2 on: 2015-07-15, 13:16:31 »
In design 'restart-web' try to reload but 'restart-web -y' try to 'real' restart. If you want restart-web (without '-y' also execute 'real' restart) for apache, copy /usr/local/lxlabs/kloxo/etc/process/apache to custom.apache and then modified it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Removing users causes permanent error 503 ;(
« Reply #3 on: 2015-07-15, 13:18:21 »
Damn - it's Apache bug !!!

http://www.apache.org/dist/httpd/CHANGES_2.4

Changes with Apache 2.4.13

  *) mod_proxy: Don't put the worker in error state for 500 or 503 errors
     returned by the backend unless failonstatus is configured to.  PR 56925.
     [Yann Ylavic]

Just waiting IUS update their httpd24u. I have a plan to use httpd24-httpd (like CentOS 7 do) instead httpd24u.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #4 on: 2015-07-15, 13:22:35 »
In design 'restart-web' try to reload but 'restart-web -y' try to 'real' restart. If you want restart-web (without '-y' also execute 'real' restart) for apache, copy /usr/local/lxlabs/kloxo/etc/process/apache to custom.apache and then modified it.

I just want reload (graceful) so customers won't see anything, but it crashes because some configs for domains are missing (not yet removed). /script/restart-web should be executed when whole removing processes is ended not after each domain ;(

cPanel has it done someway nobody is seeing anything.
« Last Edit: 2015-07-15, 13:27:06 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #5 on: 2015-07-15, 13:53:50 »
Please recompile httpd 2.4.16 in your test repo. We need it.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Removing users causes permanent error 503 ;(
« Reply #6 on: 2015-07-15, 14:05:18 »
IUS already have 2.4.16 in developing process. I think will be released immediately.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #7 on: 2015-07-15, 14:16:05 »
IUS already have 2.4.16 in developing process. I think will be released immediately.

Thanks - our customers are having hard times with these 503 errors and we are unable to help them.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #8 on: 2015-07-15, 15:58:33 »
I got reply for ius:

Quote
"Hey Marek,

Thanks for taking the time to reaching out.  Moments before we got your email, we started looking at this new version.  Hopefully we have updated packages in the testing repos soon.


-Ben and the rest of the IUS covedev team"

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #9 on: 2015-07-15, 18:06:03 »
Another reply:

Quote
This build is complete and will move to the testing repos during tonight's automation.

Carl George
IUS CoreDev Team

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #10 on: 2015-07-15, 20:51:47 »
Maybe we can set this one ?

https://bz.apache.org/bugzilla/show_bug.cgi?id=56925

"However, if I switch ProxyErrorOverride to Off, the worker would not be put in error state after a request that generates a 500 error, and other clients can still use the same worker."

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #12 on: 2015-07-16, 17:02:42 »
Got this error again !

Quote
[Thu Jul 16 17:04:11 2015] [auth_digest:notice] [pid 19814] [mod_auth_digest.c(236):] [AH01757: generating secret for digest authentication ...] [mail.domena.pl]
[Thu Jul 16 17:04:12 2015] [mpm_event:notice] [pid 19814] [event.c(2807):] [AH00489: Apache/2.4.16 (Red Hat) OpenSSL/1.0.1e-fips configured -- resuming normal operations] [mail.domena.pl]
[Thu Jul 16 17:04:12 2015] [core:notice] [pid 19814] [log.c(1536):] [AH00094: Command line: '/usr/sbin/httpd'] [mail.domena.pl]
[Thu Jul 16 17:04:12 2015] [proxy:error] [pid 19978] [proxy_util.c(2679):] [AH02454: FCGI: attempt to connect to Unix domain socket /opt/configs/php-fpm/sock/apache.sock (127.0.0.1) failed] [default]
[Thu Jul 16 17:04:12 2015] [proxy:error] [pid 19978] [proxy_util.c(2842):] [AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s] [default]
[Thu Jul 16 17:04:12 2015] [proxy_fcgi:error] [pid 19978] [mod_proxy_fcgi.c(924):] [AH01079: failed to make connection to backend: httpd-UDS] [default]
[Thu Jul 16 17:04:13 2015] [proxy:error] [pid 19978] [proxy_util.c(2119):] [AH00940: FCGI: disabled connection for (127.0.0.1)] [default]
[Thu Jul 16 17:04:18 2015] [proxy:error] [pid 19979] [proxy_util.c(2679):] [AH02454: FCGI: attempt to connect to Unix domain socket /opt/configs/php-fpm/sock/apache.sock (127.0.0.1) failed] [default]
[Thu Jul 16 17:04:18 2015] [proxy:error] [pid 19979] [proxy_util.c(2842):] [AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s] [default]
[Thu Jul 16 17:04:18 2015] [proxy_fcgi:error] [pid 19979] [mod_proxy_fcgi.c(924):] [AH01079: failed to make connection to backend: httpd-UDS] [default]

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Removing users causes permanent error 503 ;(
« Reply #13 on: 2015-07-16, 17:19:33 »
It was after updating Ioncube and not restarting the server so maybe it's normal.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Removing users causes permanent error 503 ;(
« Reply #14 on: 2015-07-16, 17:40:15 »
I am back to use httpd 2.2 for server of this forum because less issues and possible to use fcgid (together suphp) for secondary php.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.041 seconds with 18 queries.

web stats analysis