freeradius2.1.6 module errors
ramesh p
rock786143 at gmail.com
Thu Aug 13 08:10:19 CEST 2009
Though i have placed the code in sites-available/default
under accounting section:
if(Acct-Status-Type := 'stop'){
sql
getting the following error with radiusd -X:
[root at localhost raddb]# ../../sbin/radiusd -X
FreeRADIUS Version 2.1.6, for host i686-pc-linux-gnu, built on Aug 10 2009
at 04:51:09
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/radiusd.conf
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/proxy.conf
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/clients.conf
including files in directory /usr/local/fnmt/freeradius2//etc/raddb/modules/
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/ldap
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/pap
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/exec
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/expr
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/attr_filter
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/radutmp
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/preprocess
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/always
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/fnmt/freeradius2//etc/raddb/modules/
detail.example.com
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/attr_rewrite
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/etc_group
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/unix
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/mac2vlan
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/chap
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/smsotp
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/expiration
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/pam
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/inner-eap
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/acct_unique
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/wimax
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/smbpasswd
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/logintime
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/sql_log
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/realm
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/linelog
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/otp
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/mac2ip
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/checkval
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/krb5
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/mschap
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/counter
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/detail
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/digest
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/passwd
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/sradutmp
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/files
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/policy
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/detail.log
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/perl
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/ippool
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/modules/echo
including configuration file /usr/local/fnmt/freeradius2//etc/raddb/eap.conf
including configuration file /usr/local/fnmt/freeradius2//etc/raddb/sql.conf
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/sql/mysql/dialup.conf
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/policy.conf
including files in directory
/usr/local/fnmt/freeradius2//etc/raddb/sites-enabled/
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/sites-enabled/status
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/sites-enabled/control-socket
including configuration file
/usr/local/fnmt/freeradius2//etc/raddb/sites-enabled/default
*/usr/local/fnmt/freeradius2//etc/raddb/sites-enabled/default[355]: Parse
error in condition at: Acct-Status-Type := "stop")
Errors reading /usr/local/fnmt/freeradius2//etc/raddb/radiusd.conf
*
Please suggest ...
Thanks,
Rams.
>
>
> Message: 3
> Date: Wed, 12 Aug 2009 20:49:17 +0100
> From: Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
> Subject: Re: freeradius2.1.6 module errors
> To: FreeRadius users mailing list
> <freeradius-users at lists.freeradius.org>
> Message-ID: <20090812194917.GE24232 at lboro.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> > default {
> > accounting {
> > if(Acct-Status-Type = 'stop'){
> > sql
>
> or edit the required dialup.conf for the chosen SQL solution
> and only have the STOP insert command there?
>
> alan
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 12 Aug 2009 21:25:55 +0100
> From: Arran Cudbard-Bell <a.cudbard-bell at sussex.ac.uk>
> Subject: Re: freeradius2.1.6 module errors
> To: FreeRadius users mailing list
> <freeradius-users at lists.freeradius.org>
> Message-ID: <2F3CCBEC-14E8-4AF5-B3C3-13F2187E6ADA at sussex.ac.uk>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> It used to get angry when you did that....
>
> --
>
> On 12 Aug 2009, at 20:49, Alan Buxey <A.L.M.Buxey at lboro.ac.uk> wrote:
>
> > Hi,
> >
> >> default {
> >> accounting {
> >> if(Acct-Status-Type = 'stop'){
> >> sql
> >
> > or edit the required dialup.conf for the chosen SQL solution
> > and only have the STOP insert command there?
> >
> > alan
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 12 Aug 2009 21:55:55 +0100
> From: Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
> Subject: Re: freeradius2.1.6 module errors
> To: FreeRadius users mailing list
> <freeradius-users at lists.freeradius.org>
> Message-ID: <20090812205555.GA24520 at lboro.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
> > It used to get angry when you did that....
>
> ..it might still do - hence my email was a question
> rather than a statement ;-)
>
> alan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090813/e551ab3e/attachment.html>
More information about the Freeradius-Users
mailing list