Weird errors after installing Virtualmin

Dear all,

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

Status: 
Active

Comments

Howdy! That's definitely an odd problem to be seeing if you're running a fresh CentOS 5.6 install.

Since yum should be working well on a newly installed CentOS 5.x system, I'd suggest talking to your provider about the error you're seeing... that sounds as if something may be awry with the distribution install you have there.

I installed virtualmin with the traditional way

The way we'd suggest installing Virtualmin is using the install.sh script available in the "Downloads" section above. I'm not sure if that's what you mean by the "traditional" way or not :-)

So, my suggestion is to talk to your provider the yum issue you're seeing, since yum should work out of the box on a new server install.

If you aren't getting anywhere with them and want to talk the issue through a bit -- the Support area here is for Virtualmin Pro customers. Folks using Virtualmin GPL would want to open up a new forum thread using the "Forums" link above. My suggestion would be to do that if you have any additional questions -- we do monitor the forums (along with lots of other wonderful folks), so we can toss in our two cents :-)

Hello, andreychek!

Thanks for the quick reply and for enlightening!

The technician over the hosting company said he already fixed the yum and he would charge for further support. But I haven't installed anything rather than Virtualmin which might cause the problem. I was thinking of moving to another company but thought I should write it here as someone might know the how to cure the problem.

With the traditional way I mean't downloading install.sh script and running it. =)

Anyway, I will talk to them again to see if they tend to help. Otherwise I will change the company.

Thank you very much for warm welcoming and the help =)

Best Regards, Elmar

Did Virtualmin install correctly when the installer ran? If so, that does suggest that yum was working at one point, since it uses yum to perform the installation of all those packages.

One thing you may want to do is verify that no third party repositories are setup (in /etc/yum.repos.d). Those can occasionally conflict with the packages Virtualmin is using.

That said -- I've never seen an issue where dependencies for yum were removed, so something looks pretty awry there :-)

Hello

As far as I remember install script run without any problem. But after it finished, I typed yum update and it gave me an error. I tried it second time and it worked so I thought it would not appear anymore. But after some time errors began to appear so I contacted the Support.

There is no third party repositories in yum.repos.d folder. Four CentOS repositories and one Virtualmin repository. Nothing else.

I wrote to the Support again. Let's see what they say.

Thank you very much for the help! =)

The only other thought I have is that we've seen some really strange issues arise when a VPS has too little RAM.

Is your VPS by chance an OpenVZ based VPS? If so, what does the command "free -m" output?