[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nss-mysql-users] groups problem
From: |
Nick De Decker |
Subject: |
[Nss-mysql-users] groups problem |
Date: |
Wed, 24 Apr 2002 13:27:32 +0200 |
Hello again ;)
Whenever i group support i run into trouble when (re)starting mysql.
With the following in nsswitch.com no problem at all :
passwd files mysql
shadow files mysql
groups files
but when i add mysql to the groups list mysql wont start fully.
when i look at /var/log/messages i see that nss-mysql tries to do a lookup
while mysql isn't yet fully started.
I get the following entries in /var/log/messages :
--------------------------------
Apr 24 14:57:39 etna nss-mysql[6074]: endent called for passwd(0)
Apr 24 14:57:39 etna chown[6074]: endent(0): ent was NULL
Apr 24 14:57:39 etna chown[6074]: endent(0) finished
Apr 24 14:57:39 etna nss-mysql[6077]: initgroups called with
user=mysql,group=1,*start=32,*size=32,limit=-1073745428
Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_read_conf_file: called for
section groups
Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_read_conf_file ended for
section groups
Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_db_connect: connection with
user=nss,passwd=aintthissecure?,databasenss_mysql,unix_socket=/var/ivweb/mys
ql/mysql.sock
Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_db_connect: connection failed:
Can't connect to local MySQL server through socket
'/var/ivweb/mysql/mysql.sock' (2)
----------------------------------
Any idea what i can do about this ? Does it try to lookup a group named "1"
?
My mysql-user and mysql-group are both listed in the /etc/passwd and
/etc/shadow files.
Nick
- [Nss-mysql-users] groups problem,
Nick De Decker <=