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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 503 Error / libgcc_s.so.1 Error

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-21-2012, 09:27 AM
TiME TiME is offline
Member
 
Join Date: Nov 2010
Posts: 10
Angry 503 Error / libgcc_s.so.1 Error

Hello,

on a CentOS 6 amd64 setup (latest free LSWS version) I'm receiving a 503 for each PHP request and the following entries are in stderr:

Code:
2012-08-21 20:02:14.216 [STDERR] libgcc_s.so.1 must be installed for pthread_cancel to work
Of course I then checked for libgcc, but it's installed (32bit and 64bit libs)
Code:
[root@wp logs]# find / -name libgcc_s.so.1
/lib/libgcc_s.so.1
/lib64/libgcc_s.so.1

[root@wp logs]# rpm -qa | grep libgcc
libgcc-4.4.6-4.el6.i686
libgcc-4.4.6-4.el6.x86_64
When using lsphp5 directly, it's working fine. This is a small script echoing "Success".
Code:
[root@wp logs]# ls -l /usr/bin/php
lrwxrwxrwx 1 root root 31 Aug 21 19:23 /usr/bin/php -> /usr/local/lsws/fcgi-bin/lsphp5
[root@wp logs]# php /var/www/index.php
Success
[root@wp logs]#
While LiteSpeed throws a 503 for the same script:
Code:
[root@wp logs]# curl -i localhost
HTTP/1.1 503 Service Unavailable
Server: nginx
Date: Tue, 21 Aug 2012 16:26:05 GMT
Content-Type: text/html
Content-Length: 400
Connection: keep-alive
Cache-Control: private, no-cache, max-age=0
Pragma: no-cache

<html>
<head><title> 503 Service Unavailable
</title></head>
<body><h1> 503 Service Unavailable
</h1>
The server is temporarily busy, try again later!<hr />
Powered By <a href='http://www.litespeedtech.com'>LiteSpeed Web Server</a><br />
<font face="Verdana, Arial, Helvetica" size=-1>LiteSpeed Technologies is not responsible for administration and contents of this web site!</font></body></html>
Any idea how to fix this libgcc/503 issue, even though the libs are installed to the correct places?

Last edited by TiME; 08-21-2012 at 09:32 AM..
Reply With Quote
 

Tags
503, libgcc, libgcc_s.so.1, litespeed, pthread_cancel

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 07:33 PM.



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