Logging

Alan DeKok aland at deployingradius.com
Fri Jan 8 14:52:28 CET 2016


> On Jan 8, 2016, at 8:40 AM, Peter Hutchison <p.j.hutchison at hud.ac.uk> wrote:

  Please reply to a message, not to the digest.  And be sure that the subject contains something useful.

>>> 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?
> 
> Allows users to authenticate on wireless network using Eduroam with their Active Directory login user (+ domain) and password.
> Users do authenticate ok no problem, but it is not logging requests for some reason to the
> /var/log/freeradius/radius-eduroam-yyyy-mm-dd.log

  Why do you think it's supposed to log there?

  What have you configured to MAKE the server log things there?

  I asked this a few days ago, and you didn't answer.

  Please answer.


>> Do you call the linelog or detail modules in any of its sections?
> 
> Yes, 'detail' is included in the accounting section.

  You are aware that the detail files are written only when the server receives accounting packets.

>> Check -X debug output.
> 
> I cannot see anything obvious, no mention of log being created or updated.

  <sigh>  Please post the debug output, as suggested in the FAQ, "man" pages, web pages, and daily on this list.

  If you can't figure out the problem from reading the debug output, maybe we can figure it out.  That's why we ask for it.

> Update:
> Log file enclosed in ZIP format.

  Don't.  Post it as text.  The mailing list strips viruses, PNGs, zip files, etc.

  It's no difficult to post it as text.  Everyone else does.

> I found this website which may help to enable logging, looks like logging functionality is different between 2.1.10 and 2.1.12.
> http://confluence.diamond.ac.uk/pages/viewpage.action?pageId=22252353

  That presumes you have some understanding of how the server works.

  The server comes with lots of documentation.  Each module and configuration item is extensively documented.  Please READ them.

  Making random changes in the hope that it will magically cause things to work is... not a good process.

  Alan DeKok.




More information about the Freeradius-Users mailing list