Am Mon, 2002-10-07 um 17.49 schrieb Buchan Milne:
> Dirk Egert wrote:
> > When my nsswitch.conf looks like this:
> > ...
> > passwd:         files ldap
> > group:      files ldap
> > ...
> > I can't start the mysql daemon.
> > 
> > If I remove ldap from the group entry 
> > ...
> > passwd:     files ldap
> > group:          files
> > ...
> > mysqld starts successfully.
> 
> What do you get for:
> 
> $ getent group|grep -i mysql
> 
> When you have
> group:      files ldap

I get: 

mysql:x:78: 

and this is the built in account in /etc/passwd.

> 
> If you have two which differ, you have a problem.
> 
> Best idea is to not have non-user accounts in LDAP (ie uid < 500).

That's right.

I can start mysqld as mysql user:

# su - mysql
$ /usr/bin/safe_mysqld --datadir=/var/lib/mysql &

but as root it fails.

# /usr/bin/safe_mysqld --user=mysql --datadir=/var/lib/mysql &
021007 18:12:03  mysqld ended


Dirk



Reply via email to