LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 4.2 - 503 Errors

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2012, 10:45 AM
JulesR JulesR is offline
New Member
 
Join Date: Jun 2010
Posts: 8
Default 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.
__________________
Jules Robinson - Technical Director @ thiswebhost.com
Webhosting that doesn't oversell
Because this* is what we do...
http://www.thiswebhost.com
Reply With Quote
  #2  
Old 09-23-2012, 11:25 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #3  
Old 09-23-2012, 11:26 AM
JulesR JulesR is offline
New Member
 
Join Date: Jun 2010
Posts: 8
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.
__________________
Jules Robinson - Technical Director @ thiswebhost.com
Webhosting that doesn't oversell
Because this* is what we do...
http://www.thiswebhost.com
Reply With Quote
  #4  
Old 09-28-2012, 12:49 PM
JulesR JulesR is offline
New Member
 
Join Date: Jun 2010
Posts: 8
Any update on this, please?
__________________
Jules Robinson - Technical Director @ thiswebhost.com
Webhosting that doesn't oversell
Because this* is what we do...
http://www.thiswebhost.com
Reply With Quote
  #5  
Old 09-28-2012, 02:11 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by JulesR View Post
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.
Reply With Quote
  #6  
Old 09-29-2012, 08:17 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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
Reply With Quote
  #7  
Old 01-30-2013, 11:24 AM
colorprint colorprint is offline
Member
 
Join Date: Nov 2008
Posts: 22
Default [solved]

Quote:
Originally Posted by mistwang View Post
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?

Last edited by NiteWave; 01-31-2013 at 05:17 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:12 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.