Replicated Acctounting blocks replys

Alan DeKok aland at
Sat May 3 00:46:41 CEST 2014

Dalton Porter wrote:
> NAS sends Accounting Request ->radius svr1
> radius svr1 writes to acct db and sends Accounting Request -> radius svr2
> radius svr1 sends Accounting Response back to NAS

  Are you sure?  What does debug mode say?

> Using my current configuration, I have defined a home server for the
> NULL realm
> and in the accounting section of sites-enabled/default, I have added
> "replicate"
> This sort of works, but when the response comes from radius svr2, it is
> rejected by
> radius svr1, I believe because "replicate" is fire and forget.

  If you ran the server in debugging mode, you would see the *exact*
error.  It's important to see the exact error, rather than saying some
imprecise summary.

> In any case, an Accounting Response is never sent back to the NAS so the NAS
> tries to start the process over.

  And if you run the server in debugging mode, you'll see why.

> Freeradius version=radiusd: FreeRADIUS Version 2.1.12, for host
> x86_64-redhat-linux-gnu
> sites-enabled/default (acct sections)

  None of which is relevant.

  The FAQ, "man" page, web pages, and daily messages on this list say to
run the server in debug mode.

  Why aren't you doing that?

  The answers are almost always in the debug output.  It boggles my mind
why people are so opposed to looking at it.

  Alan DeKok.

More information about the Freeradius-Users mailing list