• 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

mailmng-server failed: Fatal error

Done.

locate libmysqlclient.so.16
[root@s18147502 ~]# ldd /usr/sbin/postconf
linux-vdso.so.1 => (0x00007ffe43bf8000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f4fa790e000)
libpcre.so.0 => /lib64/libpcre.so.0 (0x00007f4fa76e1000)
libmysqlclient.so.16 => not found
libz.so.1 => /lib64/libz.so.1 (0x00007f4fa74ca000)
libm.so.6 => /lib64/libm.so.6 (0x00007f4fa7246000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f4fa6fd9000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f4fa6bf6000)
libdb-4.7.so => /lib64/libdb-4.7.so (0x00007f4fa6882000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f4fa6668000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f4fa644e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f4fa60ba000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f4fa5eb5000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f4fa5c7e000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f4fa5a3a000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f4fa5752000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f4fa554e000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f4fa5322000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4fa5104000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4fa7d9b000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f4fa4f01000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f4fa4cf6000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f4fa4af2000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f4fa48d3000)
 
Hi richard`t,

libmysqlclient.so.16 is part of your mysqlclient - version, which seems to be corrupted pr not installed. Please install it, or re-install it:

For CentOS 6 from Atomic repo:
Code:
rpm -Uvh atomic-release*rpm
yum install mysqlclient16

Afterwards, please repair your Plesk installation with:
Code:
plesk repair all -y
 
The first commanded returns

[root@s18147502 ~]# rpm -Uvh atomic-release*rpm
error: File not found by glob: atomic-release*rpm

I ran the install and the admin now works. I am just running repair i will report back.
 
When i login to the admin now i get

Internal error.
ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)
 
Last edited:
I did a server restart again and this message has not come back. Humm

Is there something i can check to make sure all is good?
 
Hi richard`t,

you can always check, if the MYSQL - server is active, by checking with :

/etc/init.d/mysqld status

If there is no active socket, as it states in your error - message
Internal error.
ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)
... just check the MySQL - server status and if the service is not running for what ever reason, restart the service:

/etc/init.d/mysqld start
or
/etc/init.d/mysqld restart


Please note, that you don't necessarily have to do a complete server restart to start your services. Each service can be started, stopped and restarted over the command line.

 
Ok looks ok now. I know. I did the restarts because over the past day they has been lots of updates the yum update did 213 updates lol. Plus the Plesk and MYSQL.

Thanks for your help on this one UFHH01.
 
Back
Top