searched all folders, I just found one core file in '/dev/' (i think it is
not generated by radiusd) and surly there is no more core file in my system.
I run 'gdb /usr/local/sbin/radiusd /dev/core' and
gdb prompted :'warning: core file may not match specified executable file.'
I think that radiusd didn't generate any core file as it alert "Segmentation
fault"! and did *NOT* alert "Segmentation fault...core dumptd"
what's up with my freeradius?!
>>>Do a cvs update. It should work now.
>>I did an update to freeradius-snapshot-20020909.tar.gz. but I get
>>'Segmention fault' instead of the previous error.
>Try to find a core dump and do a backtrace on it.
>gdb <path_to_radiusd>/radiusd core
>bt
> > >>sqlcounter m5 {
> > >> counter-name = m5
> > >> check-name = Max-M5-Session
> > >> sqlmod-inst = sql
> > >> key = User-Name
> > >> query = "SELECT SUM(IF(HOUR(AcctStartTime)>='02:00:00' AND
> > >>HOUR(AcctStopTime)<='06:00:00',5
> > >>* AcctSessionTime,0) +IF(HOUR(AcctStartTime)>='07:00:00' AND
> > >>HOUR(AcctStopTime)<='13:00:00',2
> > >>* AcctSessionTime,0) +IF(HOUR(AcctStartTime)>='14:00:00' AND
> > >>HOUR(AcctStopTime)<='23:00:00',3*AcctSessionTime,0))
> > >>FROM radacct WHERE UserName='%{%k}'"
Best wishes,
M. Roomi
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html