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