FreeRADIUS Accounting data sync

Fajar A. Nugraha list at fajar.net
Wed Dec 14 10:36:25 CET 2011


On Tue, Dec 13, 2011 at 6:16 PM, KatsuroKurosaki <joaquimsb89 at gmail.com> wrote:
> Then I need Accounting to be sync between servers A and B, because if server
> A fails, when Server B receives the request, prints on the screen "Received
> logout request, but no Login was received", and same happen on server A when
> server B fails.

FR shouldn't print that. What do you mean it "prints on the screen"?

> And then I uncommented, in the same file, under the sections /accounting {}/
> and /post-auth {}/ the line /sql_log/ to enable the module (I want

sql_log has nothing to do with accounting.

> Accounting data to be stored in MySQL databases, tell me if I am wrong if

sql in accounting section will handle accounting request.

> Finally, I added a symbolic link in //etc/freeradius/sites-enabled/,
> pointing to /../sites-available/copy-acct-to-home-server/, and when I start
> /freeradius -X/ it ends in a non-stop loop:
>
> /
> Detail listener /var/log/freeradius/radacct/detail state replied signalled 0
> waiting 0.000477 sec
> Detail - unlinking /var/log/freeradius/radacct/detail.work
> Detail listener /var/log/freeradius/radacct/detail state unopened signalled
> 0 waiting 1.085813 sec
> Waking up in 1.0 seconds.

That is normal. It's because the server didn't receive any accounting packets.

What happens if you send accounting packet to server A now? does both
server A and B receive it?

-- 
Fajar



More information about the Freeradius-Users mailing list