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
I have the priorities plug-in setup. I did `yum update` before messing around with 3rd party repositories. The only modules I installed from the 3rd party sties are PHP related. More importantly, if I do `/etc/init.d/mysqld stop`, yum works fine. So it's only failing when mysqld is turned on.
Can someone offer some insight here? Thank you for your time.
$ cat /etc/redhat-release CentOS release 5.2 (Final)
Dac Chartrand wrote on Fri, 3 Oct 2008 20:40:35 -0400:
The only modules I installed from the 3rd party sties are PHP related.
I would nevertheless verify that mysql, yum, python, sqllite and any add- ons for them are really the ones from base/updates and not anywhere else. Especially python. It looks like python cannot open the second download thread. So, either there could be some limit getting enforced (don't know how) or there might be a problem in the code that gets called.
Kai
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
On Mon, Oct 6, 2008 at 5:45 AM, Ralph Angenendt <ra+centos@br-online.dera%2Bcentos@br-online.de
wrote:
Try turning off yum-fastestmirror and look if yum works again.
Yes. This solves the immediate problem.
Thanks!