All Rails applications are working just fine until today. I am not sure if someone changes the settings on this machine. However does anyone know what could be the fix for this?
Details:
- Centos 5.5
- Apache
- Passenger
- Rails 3.0.x
- MySql 5.0.77
Error details:
Okay this saves the day.
You can try to find the right package by the following command:
then:
You may double check the package name by doing
yum search package_name
.If not found, you may try to fix your yum repositories e.g. by configuring Webtatic Yum Repository.
To set up the repository, install the webtatic-release RPM:
Webtatic EL6 for CentOS/RHEL 6:
Webtatic EL5.1 for CentOS/RHEL 5:
Webtatic 5 for CentOS/RHEL 5:
and repeat the search/reinstall process again.
If you're running cPanel, you may try to run the following script:
If won't help, remove the broken package e.g.
rpm -e cpanel-mysql-5.0.96-1.cp1136
and run the check command again.If still doesn't work, another thing could be to recompile your Apache (only if your LAMP is broken) by: