Hi I'm trying to buffer sql accountig queries but i have problems with file reading #v+ cat mods-enabled/detail | grep -v -e "^[[:space:]]*#"|sed -e '/^$/d' detail { filename = ${radacctdir}/detail-%Y%m%d escape_filenames = no permissions = 0600 header = "%t" } cat sites-enabled/buffered-sql | grep -v -e "^[[:space:]]*#"|sed -e '/^$/d' server buffered-sql { listen { type = detail filename = "${radacctdir}/detail-*" load_factor = 10 poll_interval = 20 retry_interval = 30 track = yes } preacct { preprocess acct_unique files } accounting { sql } } #v- but in debug i have, that there is no detail-* file detail (/var/log/freeradius/radacct/detail-*): No response to request. Will retry in 30 seconds -- Pozdrawiam Marcin / nicraM
On Apr 20, 2015, at 7:05 AM, Marcin <marcin@nicram.net> wrote:
I'm trying to buffer sql accountig queries but i have problems with file reading
No.
but in debug i have, that there is no detail-* file
detail (/var/log/freeradius/radacct/detail-*): No response to request. Will retry in 30 seconds
That message means it read the file, but the packet wasn't processed properly. Read the REST of the debug output to see why. Alan DeKok.
participants (2)
-
Alan DeKok -
Marcin