On Tue, 4 Feb 2003, Keith Ballard wrote: > I too am interested in this, as I have just set up my system (RH7.2, mySQL, > freeRaduis) to use counters and get: > > Error: radiusd.conf[1018] Failed to link to module 'rlm_counter': File not > found.
ls <freeradius-install-dir>/lib/rlm_counter* ldd <freeradius-install-dir>/lib/rlm_counter.so That should give you a sufficient indication of what is missing > > I have definitely got counters called up in radiusd, and cannot see anything > I did wrong. I have looked at an example from this list from 2/10/02 and it > seems to match, any suggestions would be appreciated. I could not find a > detailed list of what each part in the 'counter' setup section did, is there > a full description anywhere? A two page documentation of the counter module in the sample radius.conf is not a full description for you? > > regards, > Keith > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Roger > > Sent: 31 January 2003 23:35 > > To: [EMAIL PROTECTED] > > Subject: Re: Monthly usage limits -slowly but surely > > > > > > Alan DeKok wrote: > > > > > If your 'monthlycounter' module doesn't appear in the debugging > > >output when you send it an accounting packet, then list > > >'monthlycounter' in the 'accounting' section'. Also list it in the > > >'authorize' section. > > > > > > > > Yes - I've done that. In the radiusd.conf I did read that section > > saying list it in those sections. > > > > > Oddly enough, those sections are where the 'counter' module is > > >listed (and commented out) in the 'radiusd.conf' file which comes with > > >the server... > > > > > > > > Yes - found that also. > > > > > The fact that 'monthlycounter' doesn't appear in the debugging > > >output is DEFINITIVE. It doesn't work because you haven't told the > > >server to use it. The ONLY solution to the problem is to tell the > > >server to use the module. NOTHING else will work. > > > > > > > > The thing is I HAVE put the monthlycounter in those secitions, nada. > > Debugging output below. > > > > Fri Jan 31 17:30:49 2003 : Debug: radiusd: entering modules setup > > Fri Jan 31 17:30:49 2003 : Debug: Module: Library search path is > > /usr/local/lib > > Fri Jan 31 17:30:49 2003 : Error: radiusd.conf[1046] Failed to link to > > module 'rlm_counter': file not found > > > > -- > > Rock River Internet Roger Grunkemeyer > > 202 W. State St, 8th Floor [EMAIL PROTECTED] > > Rockford, IL 61101 815-968-3888 > > > > > > > > > > > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
