EasyApache failed for YUM error?
EasyApache is software that installs, modifies, and validates your Apache web server, PHP, Tomcat, and other components of your web server. For more details refer cPanel doc here [cPanel :: Introduction to EasyApache]
Here I got a error with YUM while executing EasyApache. See the snippet below:
Error details:
!! The server’s system package manager, ‘YUM’, failed. !
Solution
Here I’m listing the steps to resolve this problem. Execute the following YUM command for that.
1, Eliminate all of the header files which yum uses for dependency resolution.
# yum clean headers
2, Remove all of the packages held in the caches
# yum clean packages
3, Remove all metadata
# yum clean metadata
4, Clean dbcache
# yum clean dbcache
5, Clean all
# yum clean all
Run the update command, if all of the above mentioned commands didn’t solve the issue.
# yum -y update
If yum update failed it may be due to the corruption in RPM database under /var/lib/rpm/ location. Please do follow the below pasted steps to resolve the issue.
# rm -f /var/lib/rpm/__db.*
# rpm -vv –rebuilddb
# yum update
That’s it.
Also see:
[Solved]1045 Cannot log in to the MySQL server : PhpMyAdmin error
Mongodb wont start ERROR: child process failed, exited with error number 100
Keep up the good work !!
Its really helpful 🙂
Thanks Dude.
Thanks! saved me a ton of time troubleshooting / researching the fix for this.
Thanks for your reply.
Thanks a million for this guide man. Worked perfectly.
Thanks for this feedback!
Thanks a lot arun , its worked perfectly and saved a ton of time.
Thank you, Senthil!
Just what i needed, solved my problem doing the yum update! Thanks!
You’re very welcome!
solved by yum update Thanks for the doc
You’re most welcome!