• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

libmysql.so.10

C

chillax

Guest
After upgrading from 8.1.0 to 8.1.1 this error comes up all the time and I am unable to get Plesk running until it is resolved:

/usr/local/psa/admin/bin/packagemng: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory

Had previously updated mysql and to fix a conflict moved all the so.10 files into root in favor of the newer so.14 ones. Here is what locate libmysql shows:
/root/libmysqlclient_r.so.10
/root/libmysqlclient_r.so.10.0.0
/root/libmysqlclient.so.10
/root/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.14.0.0
/usr/lib/mysql/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient_r.so.14.0.0
/usr/lib/mysql/libmysqlclient_r.so.14
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.so

I have copied all the libmysql files from /root/ and put them back in /usr/lib/mysql but continue to get the error.

Any suggestions?
 
Here is what I get when I try to stop and restart psa:

[root]# /etc/init.d/psa stopall
Stopping named: [ OK ]
Stopping MySQL: [ OK ]
Stopping : Stopping Courier-IMAP server:
Stopping imap [ OK ]
Stopping imap-ssl [ OK ]
Stopping pop3 [ OK ]
Stopping pop3-ssl [ OK ]

Stopping PostgreSQL - Red Hat Edition service: [ OK ]
/usr/local/psa/admin/bin/spamd: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
Shutting down psa-spamassassin service: [FAILED]
Stopping httpd: [ OK ]


[root]# /etc/init.d/psa restart
PSA is down, performing full restart.
Starting named: [ OK ]
Starting MySQL: [ OK ]
Starting qmail: [ OK ]
Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

Starting PostgreSQL - Red Hat Edition service: [ OK ]
/usr/local/psa/admin/bin/spamd: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
Starting psa-spamassassin service: [FAILED]
/usr/local/psa/admin/sbin/websrvmng: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
/usr/local/psa/admin/bin/httpsdctl start: httpd started
Starting Plesk: [ OK ]
/usr/local/psa/admin/bin/packagemng: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
Starting up drwebd: Dr.Web (R) daemon for Linux/Plesk Edition v4.33 (4.33.0.09211)
Copyright (c) Igor Daniloff, 1992-2005
Doctor Web, Ltd., Moscow, Russia
Support service: http://support.drweb.com
To purchase: http://buy.drweb.com

Daemon version: 4.33.0 <API:2.1>
Engine version: 4.33 <API:2.1>
Loading /var/drweb/bases/drwtoday.vdb - Ok, virus records: 826
... Lots more of these ...
Loading /var/drweb/bases/drwnasty.vdb - Ok, virus records: 4867
Total virus records: 185912
Key file: /opt/drweb/drweb32.key - Key file not found!
A path to a valid license key file does not specified.
Plesk authorization failed: malformed response (no 'response=' field).
Error: Plesk Software not running.
[FAILED]
 
Did you ever solve this problem? I'm getting the same error after upgrading to MySQL5.
 
Back
Top