buffered-sql - detail read

Marcin marcin at nicram.net
Mon Apr 20 13:05:52 CEST 2015


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


More information about the Freeradius-Users mailing list