I have installed

samba-client-2.0.7-4
samba-common-2.0.7-4
samba-2.0.7-4

on a RH 6.2 server.

I get this mail once in a while from the cron daemon:
--snip--
nmbd: no process killed
error running postrotate script
nmbd: no process killed
error running postrotate script
nmbd: no process killed
error running postrotate script
nmbd: no process killed
--snip--


I used to run samba, but I'm not doing it anymore:

[root@www /root]#  ps ax |grep smb    
 2022 pts/0    S      0:00 grep smb
[root@www /root]#  ps ax |grep nmb
 2024 pts/0    S      0:00 grep nmb


I haven't touced my logrotate.d/samba script:
--snip--
/var/log/samba/log.* {
    notifempty
    missingok
    postrotate
        /usr/bin/killall -HUP nmbd
    endscript
}
--snip--


What's going on? How to fix it?

I've also wondered why Samba writes so many logfiles:
--snip--
-rw-r--r--    1 root     root            0 Dec 22 04:02 log.www.1
-rw-r--r--    1 root     root            0 Dec 24 04:02 log.www.1.1
-rw-r--r--    1 root     root            0 Dec 24 04:02 log.www.1.1.1
-rw-r--r--    1 root     root            0 Dec 31 04:02 log.www.1.1.1.1
-rw-r--r--    1 root     root            0 Jan  7 04:02 log.www.1.1.1.1.1
-rw-r--r--    1 root     root            0 Jan 14 04:02 log.www.1.1.1.1.1.1
-rw-r--r--    1 root     root          708 Jan 13 17:18 log.www.1.1.1.1.1.1.1
--snip--

Is it logrotate's default to keep 6 copies?

I should change this by using rotate 2, yes?

Peter



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to