FreeRadius Logrotate settings for FreeBSD

Fajar A. Nugraha list at fajar.net
Thu Mar 8 12:53:24 CET 2012


On Thu, Mar 8, 2012 at 6:04 PM, Selcuk Yazar <selcuk.yazar at gmail.com> wrote:
> Hi,
> we are using FreeRADIUS Version 2.1.12 In FREEBSD v.9.
>
> our logrotate settings like below.
>
> /var/log/freeradius/radius.log {
>         daily
>         rotate 8
>         create
>         missingok
>         compress
>         postrotate
>         kill -HUP `cat /var/run/freeradius/freeradius.pid`
>         endscript
> }
>
> after rotate log radius.log file remain 0 lenght what is correnct settings
> of postrotate section of freeradius ?

Is the PID file correct?

Try restarting FR, and send kill -HUP manually. What does the log file
say? Does it say anything about "HUP" and "reopening log file"? Or
does it say something like "unable to read configuration file"?

-- 
Fajar


More information about the Freeradius-Users mailing list