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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [Solved] 503 Error - Due to PHP Relocation error?

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2012, 07:20 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Default [Solved] 503 Error - Due to PHP Relocation error?

Some sites (or sections of sites ex: Photopost gallery) are returning 503 errors.

Digging into the logs I see:
Quote:
Getting this error:
2012-05-11 09:20:42.631 [STDERR] lsphp5:/flowerch/public_html/photopost/showphoto.php: relocation error: lsphp5:/flowerch/public_html/photopost/showphoto.php: symbol deflateInit2_, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
The PHP binary in use is /usr/local/bin/php

Quote:
root@server [~]# ldd /usr/local/bin/php |grep libmysqlclient
libmysqlclient.so.16 => /usr/lib64/mysql/libmysqlclient.so.16 (0x00007f124a2e0000)

root@server [~]# ls -la /usr/lib64/mysql/libmysqlclient.so.16
lrwxrwxrwx 1 root root 24 May 9 13:18 /usr/lib64/mysql/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0*

root@server [~]# nm /usr/lib64/mysql/libmysqlclient.so.16 |grep deflateInit_2
nm: /usr/lib64/mysql/libmysqlclient.so.16: no symbols

root@server [~]# rpm -qf /usr/lib64/mysql/libmysqlclient.so.16
mysql-libs-5.1.52-1.el6_0.1.x86_64
We are running Red Hat EL6 on a Xeon 8 core CPU, 8GB RAM, with WHM/cPanel and LiteSpeed 4.1.12, PHP 5.3.10.

PHP Memory Limit is 256M

PHP was compiled by LiteSpeed support via paid ticket.

Any suggestions on how to proceed without breaking my server by playing around?
Reply With Quote
  #2  
Old 05-12-2012, 12:04 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
Quote:
2012-05-11 09:20:42.631 [STDERR] lsphp5:/flowerch/public_html/photopost/showphoto.php: relocation error
is the lsphp5 /usr/local/bin/php ?

to verify, put phpinfo.php under /flowerch/public_html/photopost/, and access it via browser.
Reply With Quote
  #3  
Old 05-14-2012, 09:08 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Not sure what you're looking for in phpinfo, sorry.

Quote:
root@server [/home/flowerch/www/photopost]# which php
/usr/local/bin/php
Reply With Quote
  #4  
Old 05-14-2012, 05:39 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
/usr/local/bin/php is for apache.
litespeed one is /usr/local/lsws/fcgi-bin/lsphp5
Reply With Quote
  #5  
Old 05-18-2012, 10:57 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Solved - the mysql-libs update via cPanel script worked.

My hosting company's support tech installed an incompatible RPM.
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 05:06 PM.



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