problem with yum (missing python module)
Hello everybody, It's my first post in this forums. i visited this website a lot before finding answers for different questions but this time i got a question which i could not find a topic for not in this website nor in the others.
i have a testing server (Centos 5.4) with cpanel installed, once i ran a script which erases log files by using the find and rm command.
anyway looks like this script deleted one of the modules to python, the logging module. so python stopped working, i thought reinstalling it should solve the problem so i downloaded the tar ball and reinstalled python from source and it's all the same.
now yum command isn't working because it's giving me this error "no module named logging".
i decided to synchronize the whole python folder /usr/lib/python2.4/ from the live server using rsync and it did not help
i searched for the yum rpm package and i downloaded and installed yum-3.2.22-20.el5.centos.src.rpm using rpm and it did not help.
so i don't know how could i solve this problem? or what am i missing here?
thanks for your replies in advance
Last edited by Al-Kateb; 10-07-2010 at 05:01 PM.