[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] RADIUSD DIEING!!!
From: |
Pavel Kuz |
Subject: |
Re: [Help-gnu-radius] RADIUSD DIEING!!! |
Date: |
Thu, 25 Jul 2002 17:33:02 +0300 |
User-agent: |
Mutt/1.2.5.1i |
On Thu, Jul 25, 2002 at 05:19:27PM +0300, Sergey Poznyakoff wrote:
> > I guess error is in a different module...
> > Can I somehow see debug information from all modules?
>
> To begin with, enable debugging for sql and postgres:
>
> level "radius.c"=100,sql,postgres;
>
Here are some lines from my sqlserver:
acct_nasdown_query UPDATE current_calls \
SET status=2 \
WHERE nas_ip_address='%C{NAS-IP-Address}'
acct_nasup_query UPDATE current_calls \
SET status=3 \
WHERE nas_ip_address='%C{NAS-IP-Address}'
My accounting works well.
When I updated my config and restarted radius, I've got:
июл 25 17:28:13: Main.debug: sql.c:597:sql_check_config: SQL init using:
(null):0,pgsql,voice_base,voice_base,0,14400,1,1
And when I reloaded cisco:
июл 25 17:29:21: Main.debug: radius.c:367:radrecv: Request from host d9426032
code=4, id=0, length=48
июл 25 17:29:21: Main.debug: radius.c:457:radrecv: recv: NAS-IP-Address =
127.0.0.50
июл 25 17:29:21: Main.debug: radius.c:457:radrecv: recv: Acct-Status-Type =
Accounting-Off
июл 25 17:29:21: Main.debug: radius.c:443:radrecv: recv: Acct-Session-Id =
00000001
июл 25 17:29:21: Main.debug: radius.c:457:radrecv: recv: Acct-Delay-Time = 0
июл 25 17:29:21: Acct.crit: MASTER: exit on signal (11)
Still not enough debug information?
> By the way, what do you have in your raddb/sqlserver?
>
> Regards,
> Sergey
>
--
--------
Regards,
Pavel.
"He's the kind of man for the times that need the kind of man he is ..."