FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-04-2008, 12:40 AM
Dac Chartrand
 
Default mysqld breaks yum, help?

Greetings.*After doing:*
$ yum install mysql-server
$ /etc/init.d/mysqld start
Yum is broken. Example:
$ yum list phpLoading "fastestmirror" pluginLoading "priorities" pluginLoading mirror speeds from cached hostfile** utterramblings: www.jasonlitka.com** base: mirror.nuvio.comTraceback (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)
---http://www.sux0r.org/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-04-2008, 09:31 AM
Kai Schaetzl
 
Default mysqld breaks yum, help?

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

--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-04-2008, 05:34 PM
Vandaman
 
Default mysqld breaks yum, help?

Dac Chartrand wrote:

> Yum is broken.

> 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.

Isn't there php in the CentOS plus repo? What repo is that you
messed about with? ATRPMS or Livna?

Regards,
Vandaman.





_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-04-2008, 09:27 PM
Johnny Hughes
 
Default mysqld breaks yum, help?

Vandaman wrote:
> Dac Chartrand wrote:
>
>> Yum is broken.
>

Please check your version of python and mysql as I can not imagine that
mysql itself is effecting yum, at least not the way CentOS builds it.

>> 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.
>

Again, do:

rpm -q mysql mysql-server python


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-04-2008, 11:02 PM
Dac Chartrand
 
Default mysqld breaks yum, help?

Hi all. Thanks for reading and replying.
Isn't there php in the CentOS plus repo? What repo is that you*messed about with? ATRPMS or Livna?

These don't have the latest versions of PHP5, the repo I am using is "Jason's Utter Ramblings Repo"*@*www.jasonlitka.com*and the only files I pulled from it are:
php.i386 *5.2.6-jason.1 * * * * * * * *php-bcmath.i386 *5.2.6-jason.1 * * * * * * * *php-cli.i386 *5.2.6-jason.1 * * * * * * * *php-common.i386 * 5.2.6-jason.1 * * * * * * * *php-gd.i386 *5.2.6-jason.1 * * * * * * * *php-mbstring.i386 *5.2.6-jason.1 * * * * * * * *php-mysql.i386 *5.2.6-jason.1 * * * * * * * *php-pdo.i386 *5.2.6-jason.1 * * * * * * * *php-pgsql.i386 * 5.2.6-jason.1 * * **
Again, do:
rpm -q mysql mysql-server python
Results are as expected:
$ rpm -q mysql mysql-server pythonmysql-5.0.45-7.el5mysql-server-5.0.45-7.el5python-2.4.3-21.el5
$ yum list installed*mysql.i386 *5.0.45-7.el5mysql-server.i386 *5.0.45-7.el5 **python.i386 *2.4.3-21.el5* * * * * * **

I'll re-iterate*for good measure: *`yum list php` doesn't work if mysqld is turned on. If I do `/etc/init.d/mysqld stop` (or `services mysqld stop`), `yum list php` works fine. So it's only failing when mysqld is turned on. (?!) And only on some commands. For example `yum list installed` works all the time.
Here's the full error:
]$ yum list phpLoading "fastestmirror" pluginLoading "priorities" pluginLoading mirror speeds from cached hostfile** utterramblings: www.jasonlitka.comTraceback (most recent call last):**File "/usr/bin/yum", line 29, in ?** *yummain.main(sys.argv[1:])**File "/usr/share/yum-cli/yummain.py", line 105, in main** *result, resultmsgs = base.doCommands()**File "/usr/share/yum-cli/cli.py", line 289, in doCommands** *self._getTs()**File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in _getTs** *self._getTsInfo()**File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in _getTsInfo** *self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)**File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 537, in <lambda>** *pkgSack = property(fget=lambda self: self._getSacks(),**File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 392, in _getSacks** *self.repos.populateSack(which=repos)**File "/usr/lib/python2.4/site-packages/yum/repos.py", line 214, in populateSack** *self.doSetup()**File "/usr/lib/python2.4/site-packages/yum/repos.py", line 66, in doSetup** *self.ayum.plugins.run('postreposetup')**File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run** *func(conduitcls(self, self.base, conf, **kwargs))**File "/usr/lib/yum-plugins/fastestmirror.py", line 90, in postreposetup_hook** *repomirrors[str(repo)] = FastestMirror(repo.urls).get_mirrorlist()**File "/usr/lib/yum-plugins/fastestmirror.py", line 142, in get_mirrorlist** *self._poll_mirrors()**File "/usr/lib/yum-plugins/fastestmirror.py", line 155, 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

Other than installing packages using yum, and modified /etc/services and removed /etc/rpc for security reasons, nothing much has been done with this system. I'm at a loss to understand why it doesn't work when mysqld is turned on.
Any other ideas?
---http://www.sux0r.com/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-04-2008, 11:06 PM
Stephen Harris
 
Default mysqld breaks yum, help?

On Sat, Oct 04, 2008 at 07:02:18PM -0400, Dac Chartrand wrote:

> * utterramblings: www.jasonlitka.com

Do you have this added to your yum repo list? What happens if you remove
it?

--

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-04-2008, 11:15 PM
Dac Chartrand
 
Default mysqld breaks yum, help?

On 4-Oct-08, at 7:06 PM, Stephen Harris wrote:On Sat, Oct 04, 2008 at 07:02:18PM -0400, Dac Chartrand wrote:
** utterramblings: www.jasonlitka.com
Do you have this added to your yum repo list?* What happens if you removeit?
Yes, it's in*/etc/yum.repos.d/utterramblings.repo
Looks like:
[utterramblings]name=Jason's Utter Ramblings Repobaseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/enabled=1gpgcheck=1gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitkapriority=99
Here's the same result trying to remove it*
*yum list php --disablerepo=utterramblingsLoading "fastestmirror" pluginLoading "priorities" pluginLoading mirror speeds from cached hostfileTraceback (most recent call last):**File "/usr/bin/yum", line 29, in ?** *yummain.main(sys.argv[1:])**File "/usr/share/yum-cli/yummain.py", line 85, in main** *base.getOptionsConfig(args)**File "/usr/share/yum-cli/cli.py", line 178, in getOptionsConfig** *(opts, self.cmds) = self.optparser.setupYumConfig()**File "/usr/share/yum-cli/cli.py", line 1238, in setupYumConfig** *self.base._getRepos(doSetup=True)**File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 356, in _getRepos** *self._repos.doSetup(thisrepo)**File "/usr/lib/python2.4/site-packages/yum/repos.py", line 66, in doSetup** *self.ayum.plugins.run('postreposetup')**File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run** *func(conduitcls(self, self.base, conf, **kwargs))**File "/usr/lib/yum-plugins/fastestmirror.py", line 90, in postreposetup_hook** *repomirrors[str(repo)] = FastestMirror(repo.urls).get_mirrorlist()**File "/usr/lib/yum-plugins/fastestmirror.py", line 142, in get_mirrorlist** *self._poll_mirrors()**File "/usr/lib/yum-plugins/fastestmirror.py", line 155, 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
Here's the command, after i delete*/etc/yum.repos.d/utterramblings.repo
$ yum list phpLoading "fastestmirror" pluginLoading "priorities" pluginLoading mirror speeds from cached hostfileTraceback (most recent call last):**File "/usr/bin/yum", line 29, in ?** *yummain.main(sys.argv[1:])**File "/usr/share/yum-cli/yummain.py", line 105, in main** *result, resultmsgs = base.doCommands()**File "/usr/share/yum-cli/cli.py", line 289, in doCommands** *self._getTs()**File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in _getTs** *self._getTsInfo()**File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in _getTsInfo** *self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)**File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 537, in <lambda>** *pkgSack = property(fget=lambda self: self._getSacks(),**File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 392, in _getSacks** *self.repos.populateSack(which=repos)**File "/usr/lib/python2.4/site-packages/yum/repos.py", line 214, in populateSack** *self.doSetup()**File "/usr/lib/python2.4/site-packages/yum/repos.py", line 66, in doSetup** *self.ayum.plugins.run('postreposetup')**File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run** *func(conduitcls(self, self.base, conf, **kwargs))**File "/usr/lib/yum-plugins/fastestmirror.py", line 90, in postreposetup_hook** *repomirrors[str(repo)] = FastestMirror(repo.urls).get_mirrorlist()**File "/usr/lib/yum-plugins/fastestmirror.py", line 142, in get_mirrorlist** *self._poll_mirrors()**File "/usr/lib/yum-plugins/fastestmirror.py", line 155, 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
Again, only when mysqld is running.
---http://www.sux0r.org/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-05-2008, 12:27 AM
Dac Chartrand
 
Default mysqld breaks yum, help?

PS:

z00dax in irc made a good point, that I should mention that this is a
VPS and i have root access. No one else is on this machine.


Furthermore, disabling the fastestmirror plugin solves the problem
for now. (thanks z00dax)


If anything else weird happens i'll write back.

Thanks for the help.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-05-2008, 08:39 PM
"RobertH"
 
Default mysqld breaks yum, help?

>
> z00dax in irc made a good point, that I should mention that this is a
> VPS and i have root access. No one else is on this machine.
>
> Furthermore, disabling the fastestmirror plugin solves the problem
> for now. (thanks z00dax)
>
> If anything else weird happens i'll write back.
>
> Thanks for the help.
>

Dac

Interesting...

Why does disabling something that the centos website says is "highly
recommended" (multiple times) fix this issue?

For those that do not know, you can disable this plugin by removing it or by
going to the /etc/yum directory, and then go to the plugin directory below
there and editing the proper file and zeroing out the enable line

-rh

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-05-2008, 10:31 PM
Kai Schaetzl
 
Default mysqld breaks yum, help?

RobertH wrote on Sun, 5 Oct 2008 13:39:26 -0700:

> Why does disabling something that the centos website says is "highly
> recommended" (multiple times) fix this issue?

Because he has a non-standard setup. In case you didn't recognize:
stopping mysqld also fixes his problem! He installed some software that
affects threading and it's likely other things (that he didn't notice yet)
are also affected. It's still weird, though. If you do not overwrite any
base files you won't hit this problem.

Kai

--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 10:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org