Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Miguel Cabrera
Hi erveryone, I make it work, I know how but not why: It wast working beacause by default is uses some-kind of modele called sqlcca3 which seems doesn't exist. I chaged to sql and worked fine. I other words I did this: original: sqlcounter dailycounter { driver = rlm_sqlcounter

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Alan DeKok
Miguel Cabrera [EMAIL PROTECTED] wrote: Well i'm pretty new to this (4 days using radius ;) and maybe I'm wrong but I think xlat.c/radius_xlat() or xlat.c/decode_attribute function should complain when the module does not exist. It does. Run the server in debugging mode, and you will see

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Miguel Cabrera
Hi Alan! Hi everyone! It does. Run the server in debugging mode, and you will see the complaint message. Do you mean something like: radiusd -X -xx ? : I've done it, chek the output (specialy the highlighted text) at http://pastebin.com/309030 I can't see no complain and I also followed the

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Alan DeKok
Miguel Cabrera [EMAIL PROTECTED] wrote: Do you mean something like: radiusd -X -xx ? : I've done it, chek the output (specialy the highlighted text) at http://pastebin.com/309030 Hmm... Odd. Another question, why does the rlm_sqlcounter comes with sqlcca3 as default sql module? Because

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Radius
Another error is the directory tree. /home/ceruno/DESARROLLO/RadiusCuentas/radius.install/var//log/radius/radacct Note the double // after var. Take out the forward slash you have after the install location in your config. Alan DeKok wrote: Miguel Cabrera [EMAIL PROTECTED] wrote: Do

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Miguel Cabrera
Hi, Alan, ¿Radius?, Everyone On 7/7/05, Alan DeKok [EMAIL PROTECTED] wrote: Miguel Cabrera [EMAIL PROTECTED] wrote: Do you mean something like: radiusd -X -xx ? : I've done it, chek the output (specialy the highlighted text) at http://pastebin.com/309030 Hmm... Odd. Another

rlm_sqlcounter + PostgreSQL problem

2005-07-05 Thread Miguel Cabrera
Hi list! I have a problem with the rlm_sqlcounter. It send the Session-Time-Out correctly but when if check the time limit against the data base it always return 0. I've added some debugging output and recompile. This is the output: Tue Jul 5 14:46:51 2005 : Debug: rlm_sqlcounter: Entering

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-05 Thread Carlos Martínez-Troncoso Cera
How are you testing? in the radacct table see if AcctSessionTime has some value, this is the data used for the counter, if this value is 0, the query is 0, you can test with NTRadPing sending in AcctSessionTime some value. Miguel you dont have to change the query, I had your same problem with

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-05 Thread Miguel Cabrera
On 7/5/05, Carlos Martínez-Troncoso Cera [EMAIL PROTECTED] wrote: How are you testing? in the radacct table see if AcctSessionTime has some value, this is the data used for the counter, if this value is 0, the query is 0, you can test with NTRadPing sending in AcctSessionTime some value. Well