[CentOS] mysqld breaks yum, help?

Mon Oct 6 09:45:59 UTC 2008
Ralph Angenendt <ra+centos at br-online.de>

Dac Chartrand wrote:
> Greetings. After doing:
>
> $ yum install mysql-server
> $ /etc/init.d/mysqld start
>
> Yum is broken. Example:
>
> $ yum list php
> Loading "fastestmirror" plugin
> Loading "priorities" plugin
> Loading mirror speeds from cached hostfile
>  * utterramblings: www.jasonlitka.com
>  * base: mirror.nuvio.com
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
> [..snip..]
>   File "/usr/lib/python2.4/threading.py", line 416, in start
>     _start_new_thread(self.__bootstrap, ())
> thread.error: can't start new thread

Are you running on a VPS? Do you have the yum-fastestmirror plugin
enabled? If so: mysql *and* yum (with fastestmirror) take up quite a few
threads on your system. Many vpses limit the number of threads which can
be run in a vps instance.

Try turning off yum-fastestmirror and look if yum works again.

Cheers,

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20081006/1a3cc395/attachment-0005.sig>