Re: radiusd dies unexpectedly...

2001-10-09 Thread aland

"victor" <[EMAIL PROTECTED]> wrote:
> I've found the problem:
> it's because this sql_free_result() function called by sql_finish_query in
> sql_oracle.c file. I've comment it out and it works now.

  That's what I thought.

  Hmm.. I thought I had posted a message to the list about that.

  OK, I've fixed that in CVS, thanks.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: radiusd dies unexpectedly...

2001-10-09 Thread victor

I've found the problem:
it's because this sql_free_result() function called by sql_finish_query in
sql_oracle.c file. I've comment it out and it works now.

- Original Message -
From: "victor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 28, 2001 12:29 PM
Subject: radiusd dies unexpectedly...


> Hi all,
> I'm using freeradius with oracle db, and after a long fight I've succeeded
> to run it.
> The latest problem I have is that when the user disconnects from the
client
> radius server exits.
> Here are the lines just before radiusd dies:
> 
> ...
> sql_escape in:  'radius'
> sql_escape out:  'radius'
> sql_set_user:  escaped user --> 'radius'
> radius_xlat:  'UPDATE radacct SET AcctStopTime = to_date('2001-09-28
> 15:17:28','-mm-dd hh24:mi:ss'), AcctSessionTime = '247',
AcctInputOctets
> = '3065', AcctOutputOctets = '1051', AcctTerminateCause = 'NAS-Error',
> AcctStopDelay = '0', ConnectInfo_stop = '' WHERE AcctSessionId =
'ec0f0016'
> AND UserName = 'radius' AND NASIPAddress = '192.168.3.207''
> UPDATE radacct SET AcctStopTime = to_date('2001-09-28
15:17:28','-mm-dd
> hh24:mi:ss'), AcctSessionTime = '247', AcctInputOctets = '3065',
> AcctOutputOctets = '1051', AcctTerminateCause = 'NAS-Error', AcctStopDelay
=
> '0', ConnectInfo_stop = '' WHERE AcctSessionId = 'ec0f0016' AND UserName =
> 'radius' AND NASIPAddress = '192.168.3.207'
> MASTER: exit on signal (11)
> ---
>
> Does anybody know where can be the problem?
> Thanks.
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: radiusd dies unexpectedly...

2001-09-28 Thread aland

"victor" <[EMAIL PROTECTED]> wrote:
> MASTER: exit on signal (11)
> ---
> 
> Does anybody know where can be the problem?

  It's dying on a SEGV.  So there's a serious bug somewhere in the
code.

  Use 'gdb' on the core file, and see where it's dying.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



radiusd dies unexpectedly...

2001-09-28 Thread victor

Hi all,
I'm using freeradius with oracle db, and after a long fight I've succeeded
to run it.
The latest problem I have is that when the user disconnects from the client
radius server exits.
Here are the lines just before radiusd dies:

...
sql_escape in:  'radius'
sql_escape out:  'radius'
sql_set_user:  escaped user --> 'radius'
radius_xlat:  'UPDATE radacct SET AcctStopTime = to_date('2001-09-28
15:17:28','-mm-dd hh24:mi:ss'), AcctSessionTime = '247', AcctInputOctets
= '3065', AcctOutputOctets = '1051', AcctTerminateCause = 'NAS-Error',
AcctStopDelay = '0', ConnectInfo_stop = '' WHERE AcctSessionId = 'ec0f0016'
AND UserName = 'radius' AND NASIPAddress = '192.168.3.207''
UPDATE radacct SET AcctStopTime = to_date('2001-09-28 15:17:28','-mm-dd
hh24:mi:ss'), AcctSessionTime = '247', AcctInputOctets = '3065',
AcctOutputOctets = '1051', AcctTerminateCause = 'NAS-Error', AcctStopDelay =
'0', ConnectInfo_stop = '' WHERE AcctSessionId = 'ec0f0016' AND UserName =
'radius' AND NASIPAddress = '192.168.3.207'
MASTER: exit on signal (11)
---

Does anybody know where can be the problem?
Thanks.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html