|
error running postrotate script
Hi,
I am getting an email as follows from cron.daily :
/etc/cron.daily/logrotate:
/sbin/killall -HUP radiusd
: line 1: /sbin/killall: No such file or directory
error: error running postrotate script for /var/log/vsftpd/logfile
I need have configured the following in /etc/logrotate.conf file :
weekly
rotate 4
create
include /etc/logrotate.d
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
/var/log/radius/logfile {
daily
rotate 4
postrotate
/sbin/killall -HUP vsftpd
endscript
}
I am not sure where i am going wrong. Please advise, if i need to make changes.
|