Having trouble with yum updating virtualmin packages

Hello there,

I seem to run in to this problem everytime I do a CPan for perl module updates. I set CPAn up to get perl modules by using:

perl -MCPAN -e shell

and then I go through there setup for perl. I then went in to Wemin System/Virtualmin Package Updates and did a update for the Mobile theme and this is what I got back from the Virtualmin UI:

Now updating ust-virtual-server-mobile …

Installing package(s) with command yum -y install ust-virtual-server-mobile …

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File “/usr/share/yum-cli/yummain.py”, line 309, in user_main
errcode = main(args)
File “/usr/share/yum-cli/yummain.py”, line 178, in main
result, resultmsgs = base.doCommands()
File “/usr/share/yum-cli/cli.py”, line 345, in doCommands
self._getTs(needTsRemove)
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 101, in _getTs
self._getTsInfo(remove_only)
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 112, in _getTsInfo
pkgSack = self.pkgSack
File “/usr/lib/python2.4/site-packages/yum/init.py”, line 662, in
pkgSack = property(fget=lambda self: self._getSacks(),
File “/usr/lib/python2.4/site-packages/yum/init.py”, line 502, in _getSacks
self.repos.populateSack(which=repos)
File “/usr/lib/python2.4/site-packages/yum/repos.py”, line 232, in populateSack
self.doSetup()
File “/usr/lib/python2.4/site-packages/yum/repos.py”, line 79, in doSetup
self.ayum.plugins.run(‘postreposetup’)
File “/usr/lib/python2.4/site-packages/yum/plugins.py”, line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File “/usr/lib/yum-plugins/fastestmirror.py”, line 181, in postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
File “/usr/lib/yum-plugins/fastestmirror.py”, line 333, in get_mirrorlist
self._poll_mirrors()
File “/usr/lib/yum-plugins/fastestmirror.py”, line 376, in _poll_mirrors
pollThread.start()
File “/usr/lib/python2.4/threading.py”, line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can’t start new thread

… install failed!
No packages were installed. Check the messages above for the cause of the error.

Return to package list

How do I fix this?

Also another problem I am having on the same not is updating the Suggested packages that I need for perl to help Virtualmin and Webmin run I guess more smoothly. I get to that under Webmin/Other/Perl Modules/Suggested Modules. Can anyone help me out please. Eric I would like to this opportunity to thank you for posting and helping me through these tricky setup questions.

Howdy,

I suspect that your CPAN setup and the yum package update aren’t related.

Are you by chance using a VPS? If so, how much RAM do you have in that VPS?

If you log into your server as root, and run the command “yum update”, do you run into the same problem?

-Eric

Yes I am using a VPS with 512MB of RaM and the same thing does happen when I run yum update.

Okay… do you have a file named /proc/user_beancounters? If so, can you paste in it’s contents?

Also, what does “free -m” show?

-Eric

Here is what free -m reads:

login as: root
root@66.197.184.162’s password:
Last login: Wed Apr 13 10:00:41 2011 from 99-196-91-142.cust.wildblue.net
[root@215838 ~]# free -m
total used free shared buffers cached
Mem: 512 397 115 0 0 0
-/+ buffers/cache: 397 115
Swap: 0 0 0
[root@215838 ~]#