Tobias’ answer is correct, but there is a larger point to be made.

In the later PF releases we run separate processes for radius accounting and 
authentication.
As such they have their own configuration files.

So to start FreeRADIUS in single threaded mode with debugging turned on you 
must tell it which config file to use.
Therefore the syntax is going to be:

# radiusd -d /usr/local/pf/raddb -n auth -X 
# radiusd -d /usr/local/pf/raddb -n acct -X

Depending on whether you want the authentication process or the accounting one.

Raddebug is very useful, but it has one limitation that I can’t think of.
You wont see it if a request is dropped because the client is unknown to the 
radius server.

Other than that it is more flexible than running under debug mode, as it allows 
you to specify unlang conditions to narrow down what you want to display and it 
does not require you to restart the process.

Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

> On Apr 5, 2016, at 5:24 , Tobias Friede <[email protected]> wrote:
> 
> Hi,
> 
> start Debugging while radiusd is running with this command:
> raddebug -f /usr/local/pf/var/run/radiusd.sock
> 
> 
> 
> Greetings
> 
> Tobias
> 
> 
> 
> 
> 2016-04-05 9:16 GMT+02:00 Nathan, Josh <[email protected] 
> <mailto:[email protected]>>:
> So, I'm not sure what's wrong with my command since I've run Radius in debug 
> before, but now whenever I try, I get "the server is not configured to listen 
> on any ports".  Radius starts just fine from the GUI, so I'm a little at a 
> loss.  Here's how I'm trying to start it (PacketFence 5.5.2 on CentOS 6.7):
> 
> radiusd -d /usr/local/pf/raddb -X
> 
> I wouldn't really care, except in my test environment, OSX, iOS, and Android 
> can all do wireless 802.1X, but Windows always fails.  Albeit, I am thinking 
> that Windows *might* be rejecting the SSL cert, but I'm not seeing anything 
> in the Windows logs to say why it's failing.
> 
> Thanks,
> Joshua Nathan
> Level 3 IT Support and Development
> Black Forest Academy
> +49 (0) 7626-9161-630 <tel:%2B49%20%280%29%207626-9161-630>
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> PacketFence-users mailing list
> [email protected] 
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to