Symptoms
A site running on a LiteSpeed server gives a 503 error, and the LiteSpeed error log shows an error similar to the following:
CONFIG_TEXT: 2025-03-11 15:52:49.756443 [INFO] [24160] [T0] [127.0.0.1:58268#APVH_domain.tld:443] connection to [uds://usr/local/lsws/extapp-sock/APVH_username_Suea-php74.sock] on request #0, confirmed, 0, associated process: 0, running: 0, error: Connection refused!
Cause
There are many causes for 503 errors. The /usr/local/apache/logs/stderr.log file often records the specific cause.
Resolution
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Find the cPanel username that owns the domain by running the following command:
# grep domain.tld /etc/userdomains
Note: You need to replace domain.tld with the domain you want to find the owner of
-
Find the UID of the cPanel username by running the following command:
# id CPANELUSER
Note: You need to replace CPANELUSER with the cPanel username found in the previous command
-
Search the
/usr/local/apache/logs/stderr.logfile for the domain owner's UID:# grep UID /usr/local/apache/logs/stderr.log
Note: You need to replace UID with the cPanel user's UID
Comments
0 comments
Article is closed for comments.