The HTTP error code 503 means that the service requested from the WEB server is not available, Apache usually presents such an error when it cannot meet the request in question, several may be the reasons, among them:
- Server request overflow, which becomes unstable.
- Internal error generated by some wrong configuration.
- Lack of server resources available to fulfill the request.
- Among others.
To find such errors, apache provides two places to look for bugs, the Errorlog and Accesslog, in a standard apache configuration, these logs can be found in
- /var/log/apache2/error.log
- /var/log/apache2/access.log
respectively.
If you are working with more than one virtual host in your installation, they may or may not be being recorded in different locations.
To record the virtual site.com host logs for example, add the following lines to the session <VirtualHost>...</VirtualHost>
correspondent:
CustomLog /meu/caminho/onde/quero/salvar/os/logs/site.com.log combined
ErrorLog /meu/caminho/onde/quero/salvar/os/logs/site.com.error.log
and then the files site.com.log
and site.com.error.log
will contain the access and error logs respectively.
See this: http://stackoverflow.com/questions/6299086/how-to-detect-cause-of-503-service-temporarily-unavailable-error-and-handle-it
– uaiHebert