|
|

08-26-2009, 01:25 PM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 16
|
|
503 Service Unavailable
I am really tired of 503 errors. I have setup a new apache server and transferring some of my websites to apache. I have tried all versions, including 4.1.0RC1 and compiled php several times (5.2.8, 5.2.9, 5.2.10) but no luck. What is the exact cause of this problem and how can I fix? I have two servers with this problem and I am in a very big trouble...
Thanks in advance...
Code:
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] ExtConn::onRead()
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] LsapiConn::doRead()
2009-08-26 22:40:16.724 [INFO] [XX.218.116.131:52103-0#APVH_example.com:lsapi] connection to [/tmp/lshttpd/APVH_example.com_Suphp.sock.164] on request #0, confirmed, 0, associated process: 32747, running: 1, error: Connection reset by peer!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] [ExtConn] close()
2009-08-26 22:40:16.724 [DEBUG] [uds://tmp/lshttpd/APVH_example.com_Suphp.sock] No Request has been processed successfully through this connection, the maximum connections allowed will be reduced!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] HttpExtConnector::tryRecover()...
2009-08-26 22:40:16.724 [NOTICE] [XX.218.116.131:52103-0#APVH_example.com:lsapi] Max retries has been reached, 503!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] HttpIOLink::continueWrite()...
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] write resumed!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] HttpIOLink::suspendWrite()...
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] HttpConnection::sendHttpError(),code=503 Service Unavailable^M
2009-08-26 22:40:16.724 [NOTICE] [XX.218.116.131:52103-0#APVH_example.com:lsapi] oops! 503 Service Unavailable^M
2009-08-26 22:40:16.724 [NOTICE] [XX.218.116.131:52103-0#APVH_example.com:lsapi] Content len: 0, Request line:
GET /sorting/modify/item-showhtmllist-1/dir/a/attr/c,232,Teknik-Servis.htm HTTP/1.1
2009-08-26 22:40:16.724 [NOTICE] [XX.218.116.131:52103-0#APVH_example.com:lsapi] Redirect: #1, URL: /index.php
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] redirect to:
URI=[/503.shtml],
QueryString=[]
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] processContext() return 15
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] HttpConnection::flush()!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] Written to client: 662
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] HttpConnection::nextRequest()!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] Non-KeepAlive, CLOSING!
2009-08-26 22:40:16.724 [DEBUG] [XX.218.116.131:52103-0#APVH_example.com:lsapi] Shutting down out-bound socket ...
|

08-26-2009, 01:30 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Is it random or consistent with certain request.
If it is consistent, it must be a problem with your PHP.
Also, you should disable opcode cache during the trouble shooting.
|

08-26-2009, 01:31 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Feedbacks on 4.0.10 has been very reliable in term of 503 errors.
|

08-27-2009, 01:43 AM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 16
|
|
|
I am sorry but my experiences are same about 503 errors. It is rondom, sometimes people get 503 error, somtimes blank pages. Is there a link to download older versions like 4.0.4? There was no problem with this version.
BTW I really want to undersand the reason. For example what causes to "Max retries has been reached, 503!". May be there can is a configuration issue. I really need urgent help...
|

08-27-2009, 02:12 AM
|
|
Senior Member
|
|
Join Date: Mar 2009
Posts: 119
|
|
Quote:
Originally Posted by netinternet
Is there a link to download older versions like 4.0.4? There was no problem with this version.
|
just change the version number in the download URL. for example, latest one is
.../4.0/lsws-4.0.10-ent-i386-linux.tar.gz
change to
.../4.0/lsws-4.0.4-ent-i386-linux.tar.gz
can have a try and see if any difference.
if GUI upgrade/downgrade fail, may need run command line as root:
cd /path/to/lsws-4.0.4/
./install.sh
update: sorry, looks like 4.0.4 not there where 4.0.6/4.0.9 still exists. if you ever downloaded 4.0.4, it may still exist somewhere on your server. for example /usr/local/lsws/...
Last edited by auser; 08-27-2009 at 02:27 AM..
|

08-27-2009, 02:36 AM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 16
|
|
|
Yes I have tried that but iy gives 404. I think older versions are deleted from download repo. I have completely deleted whole lsws directory and made a fresh install but no luck. I have randomized 503 pages...
|

08-27-2009, 10:20 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
You can get 4.0.6 which is stable.
If you want to switch between 4.0.10 and other version, you need to run the installer and do a manual upgrade.
That's because the admin console uses suEXEC in 4.0.10 release.
|

08-29-2009, 03:46 PM
|
|
Member
|
|
Join Date: Dec 2008
Posts: 10
|
|
|
Add me to the list. Many people complaining of blank pages, many 503 errors in the logs. v. 4.0.9 Will try 4.0.10 upgrade.
|

08-29-2009, 05:35 PM
|
|
Senior Member
|
|
Join Date: Nov 2007
Location: New York
Posts: 723
|
|
|
Never had a 503 error with 4.0.10.
|

08-30-2009, 07:02 AM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 16
|
|
|
I have downgrade to 4.0.6 a couple days ago.
For now, there isn't any complaint about 503 error...
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:39 PM.
|
|