Hello
Today we had all servers in auto update with custombuild failed following a mysql update :
we tryed to re run it manually but it would not work we had the following errors at the end of the compilation :
And there was the follwoing error on startup :
Solution was to change the custombuild option mysql_force_compile to no
Then mysql updated with rpm and no issue.
Don't know the cause of the issue with compilation but figured out I would post so anyone else having the issue would directly update with rpm
Today we had all servers in auto update with custombuild failed following a mysql update :
Code:
2022-07-27 03:22:19 localhost: called: cron
2022-07-27 03:44:01 localhost: mysql-5.7.39.tar.gz compiled
2022-07-27 03:45:05 localhost: mysql-5.7.39-linux-x86_64 installed
we tryed to re run it manually but it would not work we had the following errors at the end of the compilation :
Code:
Found created package: mysql-5.7.39-linux-x86_64.tar.gz
Stopping mysqld ...
Service didn't get stopped, sleeping for 20 secs and re-trying ...
Failed to execute operation: File exists
rm: cannot remove 'mysql': Is a directory
ln: failed to create symbolic link 'mysql/mysql-5.7.39-linux-x86_64': File exists
ls: cannot access /usr/local/mysql/bin: No such file or directory
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
And there was the follwoing error on startup :
Code:
Failed at step EXEC spawning /usr/local/mysql/bin/mysqld: No such file or directory
Solution was to change the custombuild option mysql_force_compile to no
Code:
mysql_force_compile = no
Don't know the cause of the issue with compilation but figured out I would post so anyone else having the issue would directly update with rpm