cPanel/WHM EasyApache failed YUM error:

Posted: 0p in cPanel

cPanel/WHM EasyApache failed YUM error:

While running easy apache Yum is giving error

!! The server’s system package manager, ‘YUM’, failed. !!

Solution :

# yum clean headers

# yum clean packages

# yum clean metadata
# yum clean dbcache
# yum clean all

Run yum update command, if all above cmds did not resolve the error:
# yum update

If yum update failed it may possible that the RPM database is corruption it can be resolved by running below commands

# rm -f /var/lib/rpm/__db.*
# rpm -vv –rebuilddb
# yum update

Once yum update is successful try running easyapache which should work without any error now.

Advertisements
Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s