Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Centos 6.0 (Final) , the i386 version.

I am trying my hardest to get a decent LAMP Server running, with phpMyAdmin.

I can get everything installed just fine, MySQL, Apache2 (httpd), PHP 5.x, etc..., but when I get to reading some tutorials on installing phpMyAdmin, I fail miserably. Each tutorial I read mentions enabling the EPEL/REMI repo.. As soon as I add this repo I am not able to use yum anymore.

I continue to get this error message

[root@username tmp]# yum update
Loaded plugins: aliases, fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/", line 285, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/", line 136, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/", line 434, in doCommands
  File "/usr/lib/python2.6/site-packages/yum/", line 99, in _getTs
  File "/usr/lib/python2.6/site-packages/yum/", line 110, in _getTsInfo
    pkgSack = self.pkgSack
  File "/usr/lib/python2.6/site-packages/yum/", line 887, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.6/site-packages/yum/", line 669, in _getSacks
  File "/usr/lib/python2.6/site-packages/yum/", line 279, in populateSack
  File "/usr/lib/python2.6/site-packages/yum/", line 105, in doSetup'postreposetup')
  File "/usr/lib/python2.6/site-packages/yum/", line 184, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/", line 202, in postreposetup_hook
    all_urls = FastestMirror(all_urls).get_mirrorlist()
  File "/usr/lib/yum-plugins/", line 369, in get_mirrorlist
  File "/usr/lib/yum-plugins/", line 413, in _poll_mirrors
  File "/usr/lib/python2.6/", line 474, in start
    _start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

It's driving me insane. I am using a VPS so everytime this happens I am easily able to restart from scratch, but after so many times with the same results I have no clue where I am going wrong.

share|improve this question

Your (very small, and probably crappy OpenVZ) VPS has run out of memory.

You can try working around this by disabling the (probably strictly unnecessary) yum plugins, to reduce the memory usage:

yum --disableplugin=* update

If that doesn't get you any farther, you'll have to stop some services to free up memory.

If you still can't get anywhere, you'll have to upgrade your VPS package.

share|improve this answer
I decided to just install phpmyadmin from source. – dockeryZ Jun 10 '13 at 20:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.