Freeradius logging problem
mcn4 at leicester.ac.uk
Mon Jan 4 17:29:35 CET 2016
On Mon, Jan 04, 2016 at 03:45:25PM +0000, Peter Hutchison wrote:
> We have set up Freeradius on Ubuntu 14.04 LTS but having trouble
> to get it to generating authorization logs for our 'eduroam'
> virtual server.
What does this virtual server do / when is it called?
Do you call the linelog or detail modules in any of its sections?
> It is generating logs ok for the default and inner-tunnel but
> not eduroam. I have checked and re-checked the configuration
> with no result.
You need to look at the debug output. On ubuntu run it as
"freeradius -X" and examine the output then authenticate something
you expect to get logs for.
> /etc/freeradius/radius.conf log section looks like this:
Mostly not useful - you really want linelog or detail, not the
main server logging.
> And in our eduroam file in sites-available (with link file in
> sites-enabled) has 'auth_log' enabled to in the authorize
> Any ideas why the log isn't being generated when users connect to it?
Check -X debug output.
Send the debug here if it doesn't make sense, though it's fairly
straightforward to read (if verbose). Right from the FreeRADIUS
banner at the top and including an authentication packet.
A small suspicion is that you might need to put logging in
pre/post-proxy sections if you're trying to log non-local auths.
Matthew Newton, Ph.D. <mcn4 at le.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