LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   4.2 - 503 Errors (http://www.litespeedtech.com/support/forum/showthread.php?t=6271)

JulesR 09-23-2012 10:45 AM

4.2 - 503 Errors
 
Brand new server, running CloudLinux and a new install of LS 4.2:

2012-09-23 18:43:15.814 [INFO] [142.166.3.122:2444-0#APVH_XXXXXXXX] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: No such file or directory!
2012-09-23 18:43:15.814 [INFO] [uds://tmp/lshttpd/lsphp5.sock] Connection refused, restart!
2012-09-23 18:43:15.814 [INFO] [142.166.3.122:2444-0#APVH_XXXXXXXX] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: No such file or directory!
2012-09-23 18:43:15.814 [INFO] [uds://tmp/lshttpd/lsphp5.sock] Connection refused, restart!
2012-09-23 18:43:15.814 [INFO] [142.166.3.122:2444-0#APVH_XXXXXXXX] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: No such file or directory!
2012-09-23 18:43:15.814 [INFO] [uds://tmp/lshttpd/lsphp5.sock] Connection refused, restart!

The only way to "fix" this is to touch /tmp/lshttpd/lsphp5.sock and then restart lsws. The error randomly comes back though, so we were forced to install 4.1.13.

mistwang 09-23-2012 11:25 AM

It is a unix domain socket associated with the PHP suEXEC daemon created when LSWS starts.
You must have some kind of cron job removing /tmp/lshttpd/lsphp5.sock. it should not be touched.
Or running out of space on /tmp partition.

JulesR 09-23-2012 11:26 AM

No, there is no cronjob on the server removing this file (why would there be anyway?).

It's a brand new server so there is plenty of space on the /tmp partition.

JulesR 09-28-2012 12:49 PM

Any update on this, please?

webizen 09-28-2012 02:11 PM

Quote:

Originally Posted by JulesR (Post 35225)
Any update on this, please?

make sure you compile PHP with LSAPI 6.0 in 4.2. also manually run '/usr/local/lsws/fcgi-bin/lsphp5 -i' see if any problem.

mistwang 09-29-2012 08:17 AM

Quote:

2012-09-23 18:43:15.814 [INFO] [142.166.3.122:2444-0#APVH_XXXXXXXX] connection to [uds://tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: No such file or directory!
this issue should have been fixed with our latest 4.2 update. please give it try.

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2

colorprint 01-30-2013 11:24 AM

[solved]
 
Quote:

Originally Posted by mistwang (Post 35235)
this issue should have been fixed with our latest 4.2 update. please give it try.

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2

I have the same problem with both 4.2 and 4.2.1 litespeed when compile new php binaries... with the old php binaries it works.
How to fix this?

webizen 01-30-2013 11:28 AM

try 4.2.2

/usr/local/lsws/admin/misc/lsup.sh -v 4.2.2

colorprint 01-30-2013 11:34 AM

Quote:

Originally Posted by webizen (Post 46464)
try 4.2.2

/usr/local/lsws/admin/misc/lsup.sh -v 4.2.2

It seems there is no 4.2.2 build for FreeBSD x64 on your server...
Could you upload it please?
Thanks!

mistwang 01-31-2013 09:52 AM

please update
/usr/local/lsws/autoupdate/platform
from
Quote:

x86_64-freebsd
to
Quote:

x86_64-freebsd6
then try again.
The package name is wrong for Freebsd x86_64 platform.


All times are GMT -7. The time now is 08:48 PM.