Dirk Egert wrote:
> When my nsswitch.conf looks like this:
> 
> ...
> passwd:           files ldap
> group:      files ldap
> ...
> 
> I can't start the mysql daemon.
> 
> In the mysqld logfile I always find this:
> 
> Bogus stack limit or frame pointer, fp=0xbfffe088,
> stack_bottom=0x635dcc90, thread_stack=65536, aborting backtrace.
> Trying to get some variables.
> Some pointers may be invalid and cause the dump to abort...
> thd->query at 0x623fb710  is invalid pointer
> thd->thread_id=892481904
> 
> If I remove ldap from the group entry 
> ...
> passwd:     files ldap
> group:            files
> ...
> 
> mysqld starts successfully.
> 
> MySQL-3.23.47-5mdk from Mandrake 8.2 works with ldap.
> 
> Any solutions? (I need ldap)

What do you get for:

$ getent group|grep -i mysql

When you have
group:      files ldap

If you have two which differ, you have a problem.

Best idea is to not have non-user accounts in LDAP (ie uid < 500).

Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to