How I can enable debug logs for home server status check

Jorge Pereira jpereira at freeradius.org
Tue Nov 8 13:17:07 UTC 2022



> On 7 Nov 2022, at 22:39, work vlpl <thework.vlpl at gmail.com> wrote:
> 
> Hello,
> I am not sure if this is a potential issue or not so let me first ask
> how the home server if it is marked as dead can become alive?
> 
> I have a configuration like this
> 
> home_server <>__1812 {
>    type = auth
>    ipaddr = ip
>    port = 1812
>    secret = <>
>    response_window = 20
>    zombie_period = 40
> #    revive_interval = 120
>    status_check = request
>    username = ping
>    password = test
>    check_interval = 30
>    check_timeout = 4
>    num_answers_to_alive = 3
>    max_outstanding = 65536
> }
> 
> 
> I've tried to uncomment or comment revive_interval but in both cases,
> I don't see in debug log (-fxxl) any messages about the home server
> status check.
> 

So, the documentation https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/proxy.conf#L365 <https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/proxy.conf#L365>  says:

#  The "revive_interval" is used ONLY if the “status_check”
#  entry below is "none".  Otherwise, it will not be used,
#  and should be deleted.

Have you tried that? If no, please try as the docs says.


> Also in my pool of home servers I have only 1 server, I know this is a
> weird config, but this is all that I have.
> 
> 

It's fine.

> 
> In debug logs, I see a message like this
> 
> (3600) ERROR: Failed to find live home server: Cancelling proxy
> (3600) Clearing existing &reply: attributes
> (3600) Found Post-Proxy-Type Fail-Authentication
> 
> 
> How I can enable debug messages about home server status checks? (I've
> tried to use more x i.e. -fxxxxx..., not helping)
> 
> And manual request with radclient and credentials ping/test returns
> Access-Reject. So I expect that server should be marked as alive.
> 

Which version are you using? Independent of the answer, we encourage you to use the latest 3.2.x as can be seen at https://networkradius.com/packages/ 

> 
> Best regards,
> Vladimir
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Jorge Pereira
jpereira at networkradius.com





More information about the Freeradius-Users mailing list