T
TFaLCoN
Guest
PRODUCT: Parrallels Plesk Panel
VERSION: 10.4.4 CentOS 5 1013111102.18 (cat /usr/local/psa/version)
MICROUPDATE:
OPERATING SYSTEM:
ARCHITECTURE:
Linux server.****** 2.6.18-028stab099.3 #1 SMP Wed Mar 7 15:20:22 MSK 2012 i686 i686 i386 GNU/Linux
CentOS release 5.8 (Final)
Linux version 2.6.18-028stab099.3 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Mar 7 15:20:22 MSK 2012
centos-release-5-8.el5.centos
PROBLEM DESCRIPTION:
My Plesk Control Panel https://x.x.x.x:8443 hosted on a VPS environment display a '500 - Internal Server Error'.
This is caused since i have installed a new version of the Boost C++ Libraries.
The error generated by sw-cp-server is:
STEPS TO REPRODUCE
To start clean, i've deleted all files listed in:
Then install the Boost C++ Libraries using yum:
However, this installs the old Version 1.33.1-15.el5
Now i've installed this version, and lot of files have been added in /usr/lib i show only the libboost_filesystem below:
As u can see libboost_filesystem.so.2 is a symbolic link, but now it exists.
Lets make sure, and restart Plesk Control Panel:
Now, for some reason its try to load libboost_system.so.1.41.0 , while we had libboost_filesystem.so.2 before :
It seems that yum have not installed boost-system since there are no libboost_system* files in /usr/lib
When i try to install this package it says at the end 'No package boost-system available.':
At this point i think the best way to solve this is to remove everything again and install it from source.
Since plesk is requesting for a file of version 1.41, i download this one:
It seems it put the libraries in /usr/local/lib instead of /usr/lib:
Lets make sure, and restart Plesk Control Panel:
And again it fails but with the error we had first with libboost_filesystem.so.2 :
Lets try and make a symbolic links:
ACTUAL RESULT
Help appreciated!
VERSION: 10.4.4 CentOS 5 1013111102.18 (cat /usr/local/psa/version)
MICROUPDATE:
OPERATING SYSTEM:
ARCHITECTURE:
Linux server.****** 2.6.18-028stab099.3 #1 SMP Wed Mar 7 15:20:22 MSK 2012 i686 i686 i386 GNU/Linux
CentOS release 5.8 (Final)
Linux version 2.6.18-028stab099.3 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Mar 7 15:20:22 MSK 2012
centos-release-5-8.el5.centos
PROBLEM DESCRIPTION:
My Plesk Control Panel https://x.x.x.x:8443 hosted on a VPS environment display a '500 - Internal Server Error'.
This is caused since i have installed a new version of the Boost C++ Libraries.
The error generated by sw-cp-server is:
Code:
# tail -f /var/log/sw-cp-server/error_log
2012-05-29 20:53:37: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2012-05-29 20:53:37: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.
/usr/bin/sw-engine-cgi: error while loading shared libraries: libboost_filesystem.so.2: cannot open shared object file: No such file or directory
2012-05-29 20:53:55: (mod_fastcgi.c.1000) the fastcgi-backend /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2012-05-29 20:53:55: (mod_fastcgi.c.1004) child exited with status 127 /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2012-05-29 20:53:55: (mod_fastcgi.c.1007) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2012-05-29 20:53:55: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2012-05-29 20:53:55: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.
# /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
/usr/bin/sw-engine-cgi: error while loading shared libraries: libboost_filesystem.so.2: cannot open shared object file: No such file or directory
STEPS TO REPRODUCE
To start clean, i've deleted all files listed in:
Code:
# find / -iname '*boost*'
Code:
# rpm -e --nodeps boost boost-devel
Then install the Boost C++ Libraries using yum:
Code:
# yum install boost boost-devel
However, this installs the old Version 1.33.1-15.el5
Now i've installed this version, and lot of files have been added in /usr/lib i show only the libboost_filesystem below:
Code:
-rwxr-xr-x 1 root root 92368 Feb 23 00:26 libboost_filesystem.a
lrwxrwxrwx 1 root root 29 May 29 21:06 libboost_filesystem.so -> libboost_filesystem.so.1.33.1
-rwxr-xr-x 1 root root 60444 Feb 23 00:26 libboost_filesystem.so.1.33.1
lrwxrwxrwx 1 root root 29 May 29 21:05 libboost_filesystem.so.2 -> libboost_filesystem.so.1.33.1
As u can see libboost_filesystem.so.2 is a symbolic link, but now it exists.
Lets make sure, and restart Plesk Control Panel:
Code:
# service psa restart
Now, for some reason its try to load libboost_system.so.1.41.0 , while we had libboost_filesystem.so.2 before :
Code:
# tail -f /var/log/sw-cp-server/error_log
/usr/bin/sw-engine-cgi: error while loading shared libraries: libboost_system.so.1.41.0: cannot open shared object file: No such file or directory
2012-05-29 21:09:42: (mod_fastcgi.c.1000) the fastcgi-backend /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2012-05-29 21:09:42: (mod_fastcgi.c.1004) child exited with status 127 /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2012-05-29 21:09:42: (mod_fastcgi.c.1007) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2012-05-29 21:09:42: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2012-05-29 21:09:42: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.
2012-05-29 21:09:42: (mod_fastcgi.c.3511) all handlers for /index.php on .php are down.
# /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
/usr/bin/sw-engine-cgi: error while loading shared libraries: libboost_system.so.1.41.0: cannot open shared object file: No such file or directory
It seems that yum have not installed boost-system since there are no libboost_system* files in /usr/lib
When i try to install this package it says at the end 'No package boost-system available.':
Code:
# yum install boost-system
At this point i think the best way to solve this is to remove everything again and install it from source.
Since plesk is requesting for a file of version 1.41, i download this one:
Code:
# wget http://sourceforge.net/projects/boost/files/boost/1.41.0/boost_1_41_0.tar.bz2/download
# tar -xvf boost_1_41_0.tar.bz2
# cd boost_1_41_0
# ./bootstrap.sh
# ./bjam
# ./bjam install
It seems it put the libraries in /usr/local/lib instead of /usr/lib:
Code:
# cd /usr/local/lib
# cp libboost_* /usr/lib
Code:
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
Code:
ldconfig /usr/local/lib
Lets make sure, and restart Plesk Control Panel:
Code:
# service psa restart
And again it fails but with the error we had first with libboost_filesystem.so.2 :
Code:
# tail -f /var/log/sw-cp-server/error_log
2012-05-29 23:20:42: (log.c.75) server started
/usr/bin/sw-engine-cgi: error while loading shared libraries: libboost_filesystem.so.2: cannot open shared object file: No such file or directory
2012-05-29 23:20:46: (mod_fastcgi.c.1000) the fastcgi-backend /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2012-05-29 23:20:46: (mod_fastcgi.c.1004) child exited with status 127 /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2012-05-29 23:20:46: (mod_fastcgi.c.1007) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2012-05-29 23:20:46: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2012-05-29 23:20:46: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.
2012-05-29 23:20:46: (mod_fastcgi.c.3511) all handlers for /index.php on .php are down.
# /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
/usr/bin/sw-engine-cgi: error while loading shared libraries: libboost_filesystem.so.2: cannot open shared object file: No such file or directory
Lets try and make a symbolic links:
Code:
# ln -s libboost_filesystem.so.1.41.0 libboost_filesystem.so.2
# ln -s libboost_date_time.so.1.41.0 libboost_date_time.so.2
ACTUAL RESULT
Code:
# tail -f /var/log/sw-cp-server/error_log
2012-05-29 23:27:08: (log.c.75) server started
/usr/bin/sw-engine-cgi: symbol lookup error: /usr/bin/sw-engine-cgi: undefined symbol: _ZN5boost10filesystem16create_directoryERKNS0_4pathE
2012-05-29 23:27:23: (mod_fastcgi.c.1000) the fastcgi-backend /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2012-05-29 23:27:23: (mod_fastcgi.c.1004) child exited with status 127 /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2012-05-29 23:27:23: (mod_fastcgi.c.1007) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2012-05-29 23:27:23: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2012-05-29 23:27:23: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed.
2012-05-29 23:27:23: (mod_fastcgi.c.3511) all handlers for /index.php on .php are down.
# /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
/usr/bin/sw-engine-cgi: symbol lookup error: /usr/bin/sw-engine-cgi: undefined symbol: _ZN5boost10filesystem16create_directoryERKNS0_4pathE
Help appreciated!
Last edited by a moderator: