Hello, I use samba 2.2.0 on RedHat 6.2 Linux. I've installed from samba-2.2.0-20010417.i386.rpm from www.samba.org. I've got the following error's from log rotate error: errors occured while rotating /var/log/samba/log.smb stat of /var/log/samba/log.smb failed: No such file or directory errors occured while rotating /var/log/samba/log.nmb stat of /var/log/samba/log.nmb failed: No such file or directory The log files are log.smbd and log.nmbd not as in your /etc/logrotate.d/samba The corected file is: =============================== /etc/logrotate.d/samba ==============/var/log/samba/log.nmbd { postrotate /usr/bin/killall -HUP nmbd endscript } /var/log/samba/log.smbd { postrotate /usr/bin/killall -HUP smbd endscript } ====================================================================== Oded Resnik RAZ Information Systems
Hello, I use samba 2.2.0 on RedHat 6.2 Linux. I've installed from samba-2.2.0-20010417.i386.rpm from www.samba.org. I've got the following error's from log rotate error: errors occured while rotating /var/log/samba/log.smb stat of /var/log/samba/log.smb failed: No such file or directory errors occured while rotating /var/log/samba/log.nmb stat of /var/log/samba/log.nmb failed: No such file or directory The log files are log.smbd and log.nmbd not as in your /etc/logrotate.d/samba The corected file is: =============================== /etc/logrotate.d/samba ==============/var/log/samba/log.nmbd { postrotate /usr/bin/killall -HUP nmbd endscript } /var/log/samba/log.smbd { postrotate /usr/bin/killall -HUP smbd endscript } ====================================================================== Oded Resnik RAZ Information Systems