Winbind and logrotate error question

Bernat Tallaferro bernat.tallaferro at
Fri Dec 22 19:35:53 UTC 2006

 I've got winbind working on two computers, the hostnames of which are
correctly resolved when I e.g. ping by host name.

However, I've got a small annoyance with winbind.

Every day I'm getting an e-mail from anacron on /var/mail telling me the

kill: 2: No such process

error: error running postrotate script for /var/log/samba/log.winbindd
run-parts: /etc/cron.daily/logrotate exited with return code 1

Here's the winbind logrotate configuration in /etc/logrotate.d:

/var/log/samba/log.winbindd {
    rotate 7
    [ -f /var/run/samba/ ] && kill -HUP `cat

I believe I'm getting the error when *kill -HUP `cat
/var/run/samba/`*is being executed, since there is no such a
process ID. What makes me think this (and what really confuses me), is that
when I do a 'ps -ef winbindd', I get no such process listed, although
winbindd must be somehow running if hostname resolution is working.

Any comments will be greatly appreciated, I'm really lost right now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list