• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

HELP! libstdc++_plesk.so.6 not found

Ernie@

Basic Pleskian
Hi Mates

Server down for 3 days during upgrading to 7.5.4. Need guidance to find the library file for Plesk 7.5.4.

I used --force --nodeps to upgrade my Plesk. It shows succesful installation. However, HTTPD is failed to start.

Error messages in the upgrade log are,

libstdc++_plesk.so.6: cannot open shared object file: No such file or directory

==========================
Trying to restart xinetd daemon... Reloading configuration: [ OK ]^M
Trying to install chrooted environment... /usr/local/psa/admin/sbin/chrootmng: error while loading shared libraries: libstdc++_plesk.so.6: cannot open shared object file: No such file or directory

=======================
/usr/local/psa/admin/sbin/chrootmng: error while loading shared libraries: libstdc++_plesk.so.6: cannot open shared object file: No such file or directory
***** upgrade minor problem report *****
========================

======================
Trying to install chrooted environment... chrootmng: stat("openssh") failed: No such file or directory
chrootmng: stat("openssh") failed: No such file or directory
chrootmng: stat("openssh") failed: No such file or directory
======================


==============
websrvmng: Service httpd failed to gracefully restart
==============

However,

]# rpm -qa | grep libst shows
plesk-libstdc++-3_4-3.4.3-2
libstdc++-3.2.2-5
compat-libstdc++-7.3-2.96.118
plesk-libstdc++-devel-3_4-3.4.3-2


How can I get the plesk.so.6 to fix this problem?

Thanks for your comment.

Regards

Ernie
 
Also, I find the file here

]# rpm -qas | grep libst
normal /usr/lib/libstdc++_plesk.so.6
normal /usr/lib/libstdc++_plesk.so.6.0.3
normal /usr/lib/libstunnel.so
normal /usr/lib/libstdc++.so.5
normal /usr/lib/libstdc++.so.5.0.3
normal /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
normal /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
normal /usr/lib/libstdc++-libc6.2-2.so.3
normal /usr/lib/libstdc++.so.2.7.2.8
normal /usr/lib/libstdc++.so.2.8.0
normal /usr/lib/libstdc++.so.2.9.dummy
normal /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++_plesk.a
normal /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++_plesk.so
 
The file links like this

lrwxrwxrwx 1 root root 24 Aug 28 22:08 libstdc++_plesk.so.6 -> libstdc++_plesk.so.6.0.3
-rwxr-xr-x 1 root root 865880 May 31 02:16 libstdc++_plesk.so.6.0.3
 
I reinstalled the files in the Third_Party.RH9, and it seems has corrected the library problem.

However, I'm still not able to load the HTTPD.

When start the psa service it says,


websrvmng: Service httpd failed to gracefully restart
websrvmng: Service httpd failed to gracefully restart
Syntax error on line 231 of /usr/local/psa/admin/conf/httpsd.conf:
module ssl_module is built-in and can't be loaded
/usr/local/psa/admin/bin/httpsdctl start: httpd could not be started

so, I commented the SSL modules in the httpd.conf

then it comes to

Syntax error on line 255 of /usr/local/psa/admin/conf/httpsd.conf:
Cannot add module via name 'mod_php4.c': not in list of loaded modules
/usr/local/psa/admin/bin/httpsdctl start: httpd could not be started


I'm very frustrated about 7.5.4 upgrade. Anyone please give me some advice on how to fix this problem.

Thanks.
 
Originally posted by Ernie
I'm very frustrated about 7.5.4 upgrade. Anyone please give me some advice on how to fix this problem.

Thanks.

He-he. --force --nodeps was the best way to be frustrated. Try to reinstall the RPMs without such a destructive options.
 
I used --force to resinstall the packages... any comments?


[root@www rpm_RedHat_9]# rpm -Uvh base/*
Preparing... ########################################### [100%]
package libidn-0.4.2-rh9.build75050824.12 is already installed
package psa-pre-keyupdate-7.5.4-rh9.build75050824.12 is already installed
package psa-qmail-1.03-rh9.build75050824.12 is already installed
package psa-key-7.5-rh9.build75050824.12 is already installed
package psa-locale-base-en-US-7.5.4-rh9.build75050824.12 is already installed
package psa-proftpd-1.2.10-rh9.build75050824.12 is already installed
package psa-proftpd-xinetd-1.2.10-rh9.build75050824.12 is already installed
package psa-logrotate-3.7-rh9.build75050824.12 is already installed
package psa-boost-1.32.0-6 is already installed
package courier-imap-3.0.8-rh9.build75050824.12 is already installed
package psa-courier-imap-add-7.5.4-rh9.build75050824.12 is already installed
package psa-api-common-7.5.4-rh9.build75050824.12 is already installed
package psa-7.5.4-rh9.build75050824.12 is already installed
package psa-api-cli-7.5.4-rh9.build75050824.12 is already installed
package psa-horde-3.0.5-rh9.build75050824.12 is already installed
package Mambo-4.5.2-7505 is already installed
package osCommerce-2.2ms2-7509 is already installed
package psa-imp-4.0.3-rh9.build75050824.12 is already installed
 
Originally posted by Ernie
I used --force to resinstall the packages... any comments?

Mmm... Now you have to install the required packages by hands, as you once defeated RPM dependencies system. AFAIR, you'll need psa-libstdc++ or psa-libgcc from the 'ThirdParty' to get the libstdc++_plesk, but I don't know what other packages you'll need to install.

The best solution would be to reinstall it from scratch (using Autoinstaller, for example) and restore backup. At least it will guarantee proper dependent packages installed.
 
Originally posted by dm__
AFAIR, you'll need psa-libstdc++ or psa-libgcc from the 'ThirdParty' to get the libstdc++_plesk, but I don't know what other packages you'll need to install.

Sorry, I missed you're already have found the shared library. But I think some action during upgrade was broken due to absence of this library, and it's nearly impossible to find out which one.
 
The problem seems to be caused by the apache at this point. The httpd can not be started.

It says, mod_ssl is built-in, so can't be loaded etc.

How can I troubleshoot the apache / httpd?

Thanks.
 
Back
Top