[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed
From: |
Dan Slatford |
Subject: |
RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed |
Date: |
Fri, 16 Aug 2002 15:15:50 +0100 |
Just made a discovery:
This only happens if nsswitch.conf also looks up groups in a database as
well as /etc/group
mysql is run as mysql user. In /etc/passwd I have:
mysql:x:70:70:MySQL Server:/var/lib/mysql:/bin/false
And in /etc/group:
mysql:x:70:
What the heck am I missing here?! /usr/local/mysql is chown root.mysql
downwards, and /var/lib/mysql is chown mysql.mysql
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Jason Clifford
Sent: 16 August 2002 14:14
To: Dan Slatford
Cc: address@hidden
Subject: RE: [Nss-mysql-users] Cannot start mysql with nss-mysql
installed
On Fri, 16 Aug 2002, Dan Slatford wrote:
> > What order do you have the configuration in your /etc/nsswitch.conf
> file?
>
> passwd: files mysql
> group: files mysql
> shadow: files mysql
>
> protocols: db files
> services: db files
> ethers: db files
> rpc: db files
Are you using nss_db? I very much doubt that would be the cause of the
problem if you're not.
Most have you checked the file permissions on all of the mysql data
dirs, files, config files? If they are owned by a user that only exists
in
the mysql passwd table it may fail.
Is there any conflict with a user being listed in both /etc/passwd and
mysql?
You dont have anything odd in your /etc/pwdb.conf do you?
Other than these possibiities I cannot think of anything that would
cause
the problem.
Jason Clifford
--
UKPOST.COM get your @ukpost.com address now...
http://www.ukpost.com/ professional hosting and colocation
_______________________________________________
Nss-mysql-users mailing list address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/nss-mysql-users
- [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Dan Slatford, 2002/08/16
- Re: [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Guillaume Morin, 2002/08/16
- RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Dan Slatford, 2002/08/16
- RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Jason Clifford, 2002/08/16
- RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Dan Slatford, 2002/08/16
- RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Jason Clifford, 2002/08/16
- RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed, Dan Slatford, 2002/08/16
- RE: [Nss-mysql-users] Cannot start mysql with nss-mysql installed,
Dan Slatford <=