Am Montag, 16. Dezember 2002 13:58 schrieb Brian Smith: > On Mon, 16 Dec 2002 12:32:21 +0100 > > Warly <[EMAIL PROTECTED]> wrote: > >"[Bug 638]" <[EMAIL PROTECTED]> writes: > >> https://qa.mandrakesoft.com/show_bug.cgi?id=638 > >> > >> [EMAIL PROTECTED] changed: > >> > >> What |Removed |Added > >> --------------------------------------------------------------------- > >>------- Status|UNCONFIRMED |NEW > >> Ever Confirmed| |1 > >> Version|3.23.53-2mdk > >> > >> |3.23.53-5mdk > >> > >> ------- Additional Comments From > >>[EMAIL PROTECTED] 2002-12-15 00:51 ------- > >> Happens here as well. If I have a look at > >>/var/lib/mysql/*err, I get the > >> impression, that MySQL hasn't been started since July > >>2002. Guess I don't need > >> it that much ;) > >> > >> Anyhow, both Stefan and I are using LDAP on our systems. > >> I do not know if this > >> is related at all or not... I'm right now using (hmm, > >>let's say, I've got > >> installed) MySQL-3.23.53-5mdk. > > > >I cannot reproduce, are you using a full cooker install ? > > I'm having the same problem, on both my Cooker and 9.0 > boxes. It might be related to LDAP somehow, I think folks > using LDAP are rare enough that we find some odd bugs that > noone else can reproduce.
Yes, it is definitely caused by LDAP. I have done some tests with the nsswitch.conf and if the group section looks up into LDAP the MySQL server crashes. Entries in password and shadow does not mater. I have three solutions: 1. grap the src.rpm from mdk8.2, recompile it and force a install (I have not seen any sideeffects until now) This MySQL version does not have any problems. 2. change the mysql-init script and start the safe_mysqld as user mysql (with 'su - mysql -c'). 3. change the mysql-init script: move away the nsswitch.conf befor the start of safe_mysqld and move it back after the start of safe_mysqld. beware: use a little timeout before moving it back (1 to 2 seconds) because safe_mysqd is started asyncronous. mysql ist faster with moving back than safe_mysqld can start mysqld. Martin -- ------------------------------------------------------------ H E L I X Gesellschaft f�r Software & Engineering mbH ------------------------------------------------------------ Hanauer Landstrasse 52 Telefon (069) 4789 35-30 60314 Frankfurt am Main Telefax (069) 4789 35-44 ------------------------------------------------------------ http://www.helix-gmbh.net [EMAIL PROTECTED] ------------------------------------------------------------
msg83995/pgp00000.pgp
Description: signature
