Error 503 Apache
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Error 404 Apache
of this site About Us Learn more about Stack Overflow the company Business error 403 apache Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Error 500 Apache
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign apache service unavailable up How to Detect cause of 503 Service Temporarily Unavailable error and handle it? up vote 35 down vote favorite 6 i am getting the error 503 Service Temporarily Unavailable many times in my application and i want to detect why this error occurs, how ? if there's a log file or something like that, since i am not familiar with apache. apache tomcat 503 error second thing is that, is it possible to handle this error, that when it occurs apache is restarted ? apache tomcat7 tomcat http-status-code-503 share|improve this question edited Jun 10 '11 at 11:53 asked Jun 9 '11 at 20:49 MahmoudS 12.1k75239387 add a comment| 1 Answer 1 active oldest votes up vote 33 down vote accepted There is of course some apache log files. Search in your apache configuration files for 'Log' keyword, you'll certainly find plenty of them. Depending on your OS and installation places may vary (in a Typical Linux server it would be /var/log/apache2/[access|error].log). Having a 503 error in Apache usually means the proxied page/service is not available. I assume you're using tomcat and that means tomcat is either not responding to apache (timeout?) or not even available (down? crashed?). So chances are that it's a configuration error in the way to connect apache and tomcat or an application inside tomcat that is not even sending a response for apache. Sometimes, in production servers, it can as well be that you get too much traffic for the tomcat server, apache handle more request than
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Apache 503 Error Page
Discuss the workings and policies of this site About Us Learn apache error codes more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us
Apache Error 503 Service Temporarily Unavailable
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like http://stackoverflow.com/questions/6299086/how-to-detect-cause-of-503-service-temporarily-unavailable-error-and-handle-it you, helping each other. Join them; it only takes a minute: Sign up Why am I getting an Apache Proxy 503 error? up vote 31 down vote favorite 11 My server was doing just fine up until yesterday. It was running Redmine, and it was the happiest little server until my "friend" imported a SQL table that http://stackoverflow.com/questions/683052/why-am-i-getting-an-apache-proxy-503-error my little guy couldn't take. Unfortunately, after an hour of trying to get the lil guy to respond, we had to power cycle him. Now after restart, we get a 503 error when trying to visit the domain connected to Redmine. It's hooked up to a Mongrel daemon, and we use Apache Proxy to direct all connections to the port Redmine is running on. Using Lynx on the server (http://localhost:8000) you can see the Ruby application working fine. But this bit is not working in my Apache configuration file:
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more http://serverfault.com/questions/237191/how-to-automatically-restart-apache-service-after-http-503-error about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to automatically restart Apache service after HTTP 503 error? up vote 1 down vote error 503 favorite Our production server is running Apache v2.2.4 on CentOS5.2. Mono v1.2.4 is integrated within Apache. Recently, we faced a problem in our production server. From Apache's access_log, I found a HTTP 500 internal server error for one of the HTTP request and all subsequent HTTP requests also failed but with HTTP 503 service unavailable error. From thereafter, none of the requests were successful. Also, only later some time, we realized that our application was not working because error 503 apache of this error and then we restarted Apache service. My questions are, in this kind of situation, how do I automatically restart Apache service when HTTP 503 error is encountered? Is there any Apache directive available to set? in general, what would cause a HTTP 503 error in Apache? NOTE: Mono helps in running applications developed in .NET on a Linux-based OS. EDIT: I agree on finding the root cause of this problem. In fact, we've been analyzing that too. Till we resolve it, am finding whether this could be restarted immediately on its own without having any downtime/service disruption for application users. apache-2.2 web-server 503-error share|improve this question edited Feb 18 '11 at 13:12 asked Feb 18 '11 at 10:40 Gnanam 63441329 So, overall from the 5 answers given below, it appears that there is no default built-in Apache directive available to restart service on its own whenever Http 503 error is encountered. Solution for this situation is of 2 kind: 1) Setting up monitoring tools like monit or swatch and then restarting Apache service based on error status. 2) Shell script that monitors/reads Apache's error/status log at defined interval and restarts whenever an error status is encountered. –Gnanam Feb 25 '11 at 13:19 add a comment| 6 Answers 6 active oldest votes up vote 2 down vote 503 errors are normally related to errors on an application