503 error after installation

Hedloff

Well-Known Member
#1
Hello,
Installed lsws on a new server today and trying to access phpinfo.php and turned on debug logging and see this in error_log:

Code:
2018-04-17 14:57:38.782792 [INFO] [APVH_ttesting_Suphp71:] PID: 14562, add child process pid: 15216, procinfo: 0x110bf10
2018-04-17 14:57:40.084943 [INFO] Process with PID: 15216 is dead
2018-04-17 14:57:40.085235 [INFO] [ip:52568] connection to [/tmp/lshttpd/APVH_ttesting_Suphp71.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: Connection reset by peer!
2018-04-17 14:57:40.086249 [INFO] [APVH_ttesting_Suphp71:] PID: 14562, add child process pid: 15219, procinfo: 0x110bf10
2018-04-17 14:57:50.000351 [INFO] Process with PID: 15219 is dead
2018-04-17 14:57:50.000556 [INFO] [ip:52568] connection to [/tmp/lshttpd/APVH_ttesting_Suphp71.sock] on request #0, confirmed, 1, associated process: -1, running: 0, error: Connection reset by peer!
2018-04-17 14:57:50.001542 [INFO] [APVH_ttesting_Suphp71:] PID: 14562, add child process pid: 15324, procinfo: 0x110bf10
2018-04-17 14:58:00.080565 [INFO] Process with PID: 15324 is dead
2018-04-17 14:58:00.080719 [INFO] [ip:52568] connection to [/tmp/lshttpd/APVH_ttesting_Suphp71.sock] on request #0, confirmed, 1, associated process: -1, running: 0, error: Connection reset by peer!
2018-04-17 14:58:00.080736 [NOTICE] [ip:52568] Max retries has been reached, 503!
2018-04-17 14:58:00.080748 [NOTICE] [ip:52568] oops! 503 Service Unavailable
2018-04-17 14:58:00.080753 [NOTICE] [ip:52568] Content len: 0, Request line: 'GET /phpinfo.php HTTP/1.1'
2018-04-17 14:58:00.080766 [INFO] [ip:52568] Cookie len: 163, _ga=GA1.2.1427634070.1523961174; _gid=GA1.2.1877908922.1523961174; timezone=Europe/Berlin; cpsession=ttesting%3atKsD78uiMozD9Wxc%2c5b2fea6e035fdf894da55e07b3109ced
2018-04-17 14:58:00.080812 [INFO] [ip:52568] abort request..., code: 4
2018-04-17 14:58:00.080871 [INFO] [ip:52568] File not found [/home/ttesting/public_html/503.shtml]
2018-04-17 15:00:01.635161 [INFO] [127.0.0.1:33120] File not found [/var/www/html/whm-server-status]
Any idea what is causing all sites to return 503 error?
I'm using Cloudlinux on the server.
 

Hedloff

Well-Known Member
#3
See this:
Code:
2018-04-17 16:42:58.044 [STDERR] lscgid: execve():/usr/bin/lsphp: No such file or directory

root@server:/var/log/apache2# ll /usr/bin/lsphp
-rwxr-xr-x 1 root root 28K Aug  9  2017 /usr/bin/lsphp
I setup like CL suggest and we have on other servers. Any ideas?
 
Top