MySql won't restart after custombuild update

dderder

New member
Joined
Dec 9, 2016
Messages
4
Hi everybody,

I am unable to restart MySql after performing a regular ./build update_versions

I've been able to keep this server running healthy for many years and have many accounts, sites etc on it. I'm out of my depth here and don't want to risk losing any data.

I don't find any errors in the MySql log file, just a clean shutdown.

Any help would be greatly appreciated! Thank you!

Kind regards
Dave

Code:
> 2017-11-11 13:02:02 (24.1 MB/s) - `/usr/local/directadmin/custombuild/mysql/MySQL-shared-5.6.38-1.el6.x86_64.rpm' saved [1964616/1964616]
>
> Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.6.38-1.el6.x86_64.rpm
> Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.6.38-1.el6.x86_64.rpm
> Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.6.38-1.el6.x86_64.rpm
> Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.6.38-1.el6.x86_64.rpm
> Stopping mysqld ...
> Shutting down MySQL.. SUCCESS!
> Updating MySQL 5.6.36 to 5.6.38
> warning: MySQL-client-5.6.38-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
> Preparing...                ########################################### [100%]
>    1:MySQL-shared           ########################################### [ 25%]
>    2:MySQL-server           ########################################### [ 50%]
>    3:MySQL-devel            ########################################### [ 75%]
>    4:MySQL-client           ########################################### [100%]
> Ensuring local-infile is disabled for security reasons in MySQL configuration file...
> Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/web001.domain.tld.pid).
> Giving mysqld a few seconds to start up...
> Looking for 'mysql' as: /usr/bin/mysql
> Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
> Error: Failed while fetching Server version! Could be due to unauthorized access.
> FATAL ERROR: Upgrade failed
> /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
-bash: syntax error near unexpected token `('
[root@web001 custombuild]# cp: `/usr/lib/libmysqlclient.so' and `/usr/lib/mysql/libmysqlclient.so' are the same file
> Restarting MySQL.
>  ERROR! MySQL server PID file could not be found!
> Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/web001.domain.tld.pid).
 
Hello,

You need to check MySQL error logs for details. It's hard to identify the root cause of the issue without seen error logs.
 
Back
Top