<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Hi all. Thanks for reading and replying.</div><div><br></div><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">Isn't there php in the CentOS plus repo? What repo is that you </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">messed about with? ATRPMS or Livna?<br></div> </blockquote></div><div><br></div><div>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:</div><div><br></div><div><div>php.i386 5.2.6-jason.1 </div><div>php-bcmath.i386 5.2.6-jason.1 </div><div>php-cli.i386 5.2.6-jason.1 </div><div>php-common.i386 5.2.6-jason.1 </div><div>php-gd.i386 5.2.6-jason.1 </div><div>php-mbstring.i386 5.2.6-jason.1 </div><div>php-mysql.i386 5.2.6-jason.1 </div><div>php-pdo.i386 5.2.6-jason.1 </div><div>php-pgsql.i386 5.2.6-jason.1 </div><div><br></div><div><blockquote type="cite" class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Again, do:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">rpm -q mysql mysql-server python</div></blockquote><br></div><div>Results are as expected:</div><div><br></div><div><div>$ rpm -q mysql mysql-server python</div><div>mysql-5.0.45-7.el5</div><div>mysql-server-5.0.45-7.el5</div><div>python-2.4.3-21.el5</div><div><br></div><div><div>$ yum list installed </div><div>mysql.i386 5.0.45-7.el5</div><div>mysql-server.i386 5.0.45-7.el5 </div><div>python.i386 2.4.3-21.el5 </div><div><br></div><div><br></div></div><div>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.</div><div><br></div><div>Here's the full error:</div><div><br></div><div><div>]$ yum list php</div><div>Loading "fastestmirror" plugin</div><div>Loading "priorities" plugin</div><div>Loading mirror speeds from cached hostfile</div><div> * utterramblings: <a href="http://www.jasonlitka.com">www.jasonlitka.com</a></div><div>Traceback (most recent call last):</div><div> File "/usr/bin/yum", line 29, in ?</div><div> yummain.main(sys.argv[1:])</div><div> File "/usr/share/yum-cli/yummain.py", line 105, in main</div><div> result, resultmsgs = base.doCommands()</div><div> File "/usr/share/yum-cli/cli.py", line 289, in doCommands</div><div> self._getTs()</div><div> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in _getTs</div><div> self._getTsInfo()</div><div> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in _getTsInfo</div><div> self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)</div><div> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 537, in <lambda></div><div> pkgSack = property(fget=lambda self: self._getSacks(),</div><div> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 392, in _getSacks</div><div> self.repos.populateSack(which=repos)</div><div> File "/usr/lib/python2.4/site-packages/yum/repos.py", line 214, in populateSack</div><div> self.doSetup()</div><div> File "/usr/lib/python2.4/site-packages/yum/repos.py", line 66, in doSetup</div><div> self.ayum.plugins.run('postreposetup')</div><div> File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run</div><div> func(conduitcls(self, self.base, conf, **kwargs))</div><div> File "/usr/lib/yum-plugins/fastestmirror.py", line 90, in postreposetup_hook</div><div> repomirrors[str(repo)] = FastestMirror(repo.urls).get_mirrorlist()</div><div> File "/usr/lib/yum-plugins/fastestmirror.py", line 142, in get_mirrorlist</div><div> self._poll_mirrors()</div><div> File "/usr/lib/yum-plugins/fastestmirror.py", line 155, in _poll_mirrors</div><div> pollThread.start()</div><div> File "/usr/lib/python2.4/threading.py", line 416, in start</div><div> _start_new_thread(self.__bootstrap, ())</div><div>thread.error: can't start new thread</div></div></div></div><div><br></div><div><br></div><div>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.</div><div><br></div><div>Any other ideas?</div><div><br></div><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>---</div><div><a href="http://www.sux0r.com">http://www.sux0r.com</a>/</div><div><br></div><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"> </div><br></body></html>