Plesk error 500: undefined symbol: _ZNSt8messagesIcE2idE, version GLIBCXX_3.4

Created:

2016-11-16 12:53:08 UTC

Modified:

2017-08-16 17:22:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk error 500: undefined symbol: _ZNSt8messagesIcE2idE, version GLIBCXX_3.4

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

Plesk and websites are not accessible.

Apache startup fails with error:

# service httpd start
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: //.hmmr/Tor/libstdc++.so.6: undefined symbol: _ZNSt8messagesIcE2idE, version GLIBCXX_3.4

MySQL startup fails with error:

# /etc/init.d/mysqld start
/usr/bin/mysqladmin: symbol lookup error: //.hmmr/Tor/libstdc++.so.6: undefined symbol: _ZNSt8messagesIcE2idE, version GLIBCXX_3.4
Cannot check for MySQL Daemon startup because of mysqladmin failure.
Starting mysqld: [FAILED]

Cause

Broken links to the libraries: mysqld and httpd services are trying to use the package /.hmmr/Tor/libstdc++.so.6 instead of the package /usr/lib/libstdc++.so.6

[root@u15425547 ~]# locate libstdc++.so.6
/.hmmr/Tor/libstdc++.so.6
/.hmmr.backup/Tor/libstdc++.so.6
/.hmmr.bak/Tor/libstdc++.so.6
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.8
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.8

Resolution

Execute ldconfig command to force the kernel to re-read the libraries and recreate the libraries cache:

# ldconfig
Have more questions? Submit a request
Please sign in to leave a comment.