I have a VPS which runs on virtualmin for a long time. When it was first build and given to me, it didn't have yum installed so I wanted to install it myself. Googling, found some sites about it and tried to install yum. However, it seems, I installed wrong packages and then I had problem with yum. It didn't work and showed lib something error. I wrote to the hosting company support and they said they fixed it. For a long time yum didn't show me any update when typing
yum update on the console. Neither did I see any update notification on Virtualmin. It seemed weird to me but thought there were no update. Then I had errors showing when running yum command. Wrote to the company support and they said the server were hacked and asked me to backup all the sites and told that they would format the server. I did so and asked them to install CentOS 5.6 with yum, as well. When the format was done, I installed virtualmin with the traditional way and restored the sites back. And then again I got
too many open files errors. I wrote to the company back and they said they fixed it. However, I still get weird errors when running yum.
It keeps giving me the below error:
============== yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
cannot import name INIConfig
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, May 5 2011, 16:39:09) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
Would you, please, help me to solve this problem? I didn't install anything after the reinstall but virtualmin, ConfigServer Firewall and Webmin nginx module.
Any help is deeply appreciated as it has been costing me a lot of time!
With Warm Regards, Elmar