!! PACKAGE SYSTEM CAN NOT BE REPAIRED AUTOMATICALLY !! PROBLEM IMPORTING ONE OF THE PHYTHON MODULES REQUIRED TO RUN YUM(WHILE RUNNING EASY APACHE)
==
EasyApache (Apache Update)
!! Package system can not be repaired automatically !!
!! Please visit http://www.cpanel.net/support/could_not_ensurepkgs.htm for help with this error. !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
Building global cache for cpanel...Done
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1330658592' !!
First check the yum is working in server!
>#yum
if now!
First step!
># mkdir /root/rpm
>#cp-pr /var/lib/rpm/* /root/rpm
>#rm -f /var/lib/rpm/__db*
>#rpm --rebuilddb
>#/script/rpmbuild
If it is not fixed go to second step!
Second step!
# python -V
Python 2.6.7
If python is greter then 2.4 somthing this error may happend, In that case, please update as follwos,
>#vi /usr/bin/yum
change the first line
From #!/usr/bin/python to #!/usr/bin/python2.4
=====
Leading system Administrator
Skype ID : krish-ayyapa
=====