On Tuesday 25 of January 2005 11:49, Christian Hammers wrote:
> Hello Piotr
>
> On 2005-01-25 Piotr Roszatycki wrote:
> > # ltrace -f mysqld 2>&1 | grep getpwnam
> > getpwnam("mysql" <unfinished ...>
> > <... getpwnam resumed> )                         = NULL
>
> This is the static or the dynamic variant?

Both of them.

> What is the output of "getent passwd mysql", "getent group mysql"
> and "cat /etc/nsswitch.conf"?

# getent passwd mysql
mysql:!:504:504:MySQL Server:/var/lib/mysql:/bin/false

# getent group mysql
mysql:!:504:

# cat /etc/nsswitch.conf
passwd:         files db
group:          files db
shadow:         files


I fixed the problem with commands:

# getent passwd mysql >> /etc/passwd
# getent group mysql >> /etc/group


-- 
 .''`.    Piotr Roszatycki, Netia SA
: :' :    mailto:[EMAIL PROTECTED]
`. `'     mailto:[EMAIL PROTECTED]
  `-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to