I used the CPanel WHM interface to move MySQL from v5.0 to 5.6 earlier this week. Last night I got an email from my system that claims there are now problems with older MySQL RPMs. The email said:
And when I ran check_cpanel_rpms on the machine I got:
Seems a little odd it's complaining about 5.1 RPMs given the system is at 5.6 now. I'd like to get rid of the warning. I noticed another post where the solution seemed to be "run the entire 5.6 upgrade again". That seems like a VERY big hammer to swing to fix a warning about RPMs that aren't even in use on the system.
Running the script with the --fix option has a "magic" outcome -- what exactly happens when you use that option? Given that it's complaining about a binary I'm worried it'll change components needed by the running MySQL instance.
Is there a gentler way to correct this warning? Preferably one that doesn't involve a MySQL outage?
Code:
Problems were detected with cPanel-provided files which are RPM controlled.
If you did not make these changes intentionally, you can correct them by running:
> /usr/local/cpanel/scripts/check_cpanel_rpms --fix
The following RPMs are found to be altered from their original install state:
compat-MySQL51-shared,5.1.73,4.cp1136,/usr/lib64/libmysqlclient.so.16.0.0
Code:
> /usr/local/cpanel/scripts/check_cpanel_rpms --list-only
prelink: /usr/lib64/libmysqlclient.so.16.0.0: at least one of file's dependencies has changed since prelinking
[20141025.184811]
[20141025.184811] Problems were detected with cPanel-provided files which are RPM controlled.
[20141025.184811] If you did not make these changes intentionally, you can correct them by running:
[20141025.184811]
[20141025.184811] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[20141025.184811]
[20141025.184811] The following files were found to be altered from their original RPM:
[20141025.184811] compat-MySQL51-shared,5.1.73,4.cp1136
[20141025.184811]
Running the script with the --fix option has a "magic" outcome -- what exactly happens when you use that option? Given that it's complaining about a binary I'm worried it'll change components needed by the running MySQL instance.
Is there a gentler way to correct this warning? Preferably one that doesn't involve a MySQL outage?