Re: rlm_perl and returning 1 attribute with same name

2012-02-20 Thread Johan Meiring
On 2012/02/17 02:38 PM, Mike wrote: Hello, I am using rlm_perl and I have an application where I would like to return possibly more than 1 Filter-Id in my response. In perl, the relevent code would be this: $RAD_REPLY{'Filter-Id'} = some_filter Unfortunately, this also will only create 1

Re: Freeradius and eduroam

2012-02-20 Thread Nunzio Napolitano
You can refer also to the eduroam wiki, fro what are my knowledge, the configuration parameters indicated for eduroam could be applied to all the 2.x versions. https://confluence.terena.org/display/H2eduroam/%27How+to%27+%28deploy,+promote+and+support%29+eduroam, more in detail SP:

Freeradius stopped to work

2012-02-20 Thread dorje2007
Hi after more then year my freeradius 2.1.9 stopped to work in log I have a lot of the following info: Feb 20 13:11:55 radius radiusd[12006]: WARNING: Child is hung for request 35 in component accounting module radutmp. Feb 20 13:11:56 radius radiusd[12006]: WARNING: Child is hung for

Re: Freeradius stopped to work

2012-02-20 Thread Marinko Tarlać
radutmp file became to large... But to be sure, check you radius in debug mode... /usr/local/var/log/radius/radutmp On 20.2.2012 13:25, dorje2...@seznam.cz wrote: Hi after more then year my freeradius 2.1.9 stopped to work in log I have a lot of the following info: Feb 20 13:11:55

Re: Freeradius stopped to work

2012-02-20 Thread dorje2007
radutmp is not big, it has only 700kB However radwtmp has almost 700MB pet Původní zpráva Od: Marinko Tarlać mangi...@gmail.com Předmět: Re: Freeradius stopped to work Datum: 20.2.2012 13:37:16 radutmp file became to large...

Re: Freeradius stopped to work

2012-02-20 Thread Alan Buxey
Hi, However radwtmp has almost 700MB are you using it - ie any of the features that require it? If not, then turn off the calls to it in accounting etc - alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius stopped to work

2012-02-20 Thread dorje2007
hi yes, i;m using accounting, but i don't know for what is the radwtmp file responsible thanks Původní zpráva Od: Alan Buxey a.l.m.bu...@lboro.ac.uk Předmět: Re: Freeradius stopped to work Datum: 20.2.2012 13:46:43 Hi,

Re: Freeradius stopped to work

2012-02-20 Thread Fajar A. Nugraha
2012/2/20 dorje2...@seznam.cz: hi yes, i;m using accounting, but i don't know for what is the radwtmp file responsible thanks Are you using radwtmp for accounting? If you store accounting data in sql or detail file, or don't know what radwtmp is, chances are you don't need radwtmp. As

Re: Freeradius stopped to work

2012-02-20 Thread dorje2007
Původní zpráva Od: Fajar A. Nugraha l...@fajar.net Předmět: Re: Freeradius stopped to work Datum: 20.2.2012 14:05:19 2012/2/20 dorje2...@seznam.cz: hi yes, i;m using accounting, but i don't know for what is the radwtmp

Re: Freeradius stopped to work

2012-02-20 Thread dorje2007
Původní zpráva Od: Fajar A. Nugraha l...@fajar.net Předmět: Re: Freeradius stopped to work Datum: 20.2.2012 14:05:19 2012/2/20 dorje2...@seznam.cz: hi yes, i;m using accounting, but i don't know for what is

Re: Freeradius stopped to work

2012-02-20 Thread Alan Buxey
Hi, unfortunately , radius wend down again. The log is not very precise: Feb 20 14:22:44 radius radiusd[12700]: WARNING: Child is hung for request 988 in component module . Feb 20 14:22:44 radius radiusd[12700]: WARNING: Child is hung for request 990 in component module . Feb 20

Re: Freeradius stopped to work

2012-02-20 Thread Alan DeKok
dorje2...@seznam.cz wrote: unfortunately , radius wend down again. The log is not very precise: Feb 20 14:22:44 radius radiusd[12700]: WARNING: Child is hung for request 988 in component module . That means it's getting hung somewhere in the server core. That's usually because the

Problem with freeradius

2012-02-20 Thread slaserx
Hi i run freeradius version radiusd: FreeRADIUS Version 2.1.12, for host i386-portbld-freebsd9.0, built on Jan 19 2012 at 22:04:35 on my FreeBSD but i have problem with radclient and radzap i don`t can to disconnect the users... give me this error radclient: no response from server for ID 144

Re: Problem with freeradius

2012-02-20 Thread Alan Buxey
Hi, [root@skynet /]# radzap -u office 127.0.0.1 pass radclient: no response from server for ID 122 socket 3 [root@skynet /]# Please help me what does FreeRADIUS daemon say when you do this - ie what is output of 'radiusd -X' when you run your radzap command? alan - List

Re: Freeradius stopped to work

2012-02-20 Thread dorje2007
Feb 20 14:22:44 radius radiusd[12700]: WARNING: Child is hung for request 988 in component module . That means it's getting hung somewhere in the server core. That's usually because the system is receiving more requests than it can handle. You need to fix it so that it can

Possible bug in rlm_sqlcounter examples

2012-02-20 Thread Tim White
Hi All. I am using the following SQL in sqlcounter for a MySQL database in the Grase Hotspot project, as part of daily/hourly/monthly counters. query = SELECT SUM(acctsessiontime - \ GREATEST((%b - UNIX_TIMESTAMP(acctstarttime)), 0)) \ FROM radacct

Re: Freeradius stopped to work

2012-02-20 Thread Alan DeKok
dorje2...@seznam.cz wrote: Hi, how i can fix it ? I don't know. It's your system. Something is blocking it. Also as i said, nothing happend more then one year, and suddenly today it has started to crash Well... find out what it's doing. Use your OS debugging tools. There could be

2.1.12 segfault with ldap module

2012-02-20 Thread Brian De Wolf
While setting up freeradius recently, we noticed that it would segfault on a restart after being used. The segfault line would be something like: kernel: radiusd[2608]: segfault at 7feb7471f480 ip 7feb7471f480 sp 7fff451ea168 error 14 in libfreeradius-eap-2.1.12.so[7feb74d2b000+9000] At