Accounting Relay to Fortigate - Issue with accounting file

Hitesh Vinzoda hiteshvinzoda at yahoo.com
Tue Oct 17 18:22:18 CEST 2017


Hi,
I am setting up freeRADIUS to forward accounting requests to Fortigate. I have done the configuration but i am observing messages as below;
Detail listener /var/log/freeradius/radacct/detail state unopened signalled 0 waiting 1.086950 secWaking up in 1.0 seconds.Polling for detail file /var/log/freeradius/radacct/detailDetail listener /var/log/freeradius/radacct/detail state unopened signalled 0 waiting 0.762697 secWaking up in 0.7 seconds.^Croot at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct# ls -lrttotal 4drwxr-xr-x 2 freerad freerad 4096 Oct 18 05:08 192.168.1.2root at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct# root at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct# root at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct# ls -lrttotal 4drwxr-xr-x 2 freerad freerad 4096 Oct 18 05:08 192.168.1.2root at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct# cd 192.168.1.2/root at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct/192.168.1.2# ls -lrttotal 8-rw------- 1 freerad freerad  141 Oct 17 18:14 auth-detail-20171017-rw------- 1 freerad freerad 1267 Oct 18 05:41 auth-detail-20171018root at user-To-be-filled-by-O-E-M:/var/log/freeradius/radacct/192.168.1.2# FreeRADIUS Version 2.1.12

I have modified the modules/detail file to log all accounting packets to a single detail file as below
Comment the line below by adding the # in front:#  detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
detailfile = ${radacctdir}/detail

I can see that it is not creating detail file and above log messages keeps on repeating for polling the detail file.
I have to prep this and the set up will be tested in next day.
Any pointers are appreciated.
Best Regards Hitesh Vinzoda 


More information about the Freeradius-Users mailing list