Use of buffered-sql for logging auth data to db

Matthew Newton mcn4 at leicester.ac.uk
Mon Oct 17 12:16:43 CEST 2016


On Mon, Oct 17, 2016 at 11:10:39AM +0100, Alex Sharaz wrote:
> >It renames the file to "detail.work" before reading so that the
> >detail writer doesn't add to the end of the file while it's being
> >processed. So you'll occasionally see both files.
> 
> Ermmm always seeing both files. detail.work timestamp changing, file
> never disappears or changes size.

Maybe behaviour changed from v2 to v3, here (these servers still
on v2 :-( ) the .work file appears and vanishes every second or
two.

But sounds like it's doing the right thing. Is it actually broken,
or are the records making their way into the database?

If not, try adding e.g. a new "detail" instance in the
buffered-sql virtual server to see what it's reading, or use a
debug_request and run in debug mode to make sure it's picking up
the data.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list