Re: Re: Error= Expecting section start brace '{' after "FreeRADIUS Version"
Yagnesh Dave
yagnesh.dave at rediffmail.com
Mon Nov 30 11:52:44 CET 2009
Hi,
Thanks for the quick answer. I removed nohup.out and its not throwing that error. But now it is throwing this error. It would be great if you can point out the solution.
###############################################
bash-3.00# tail nohup.out
simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL"
postauth_query = "INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')"
safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
}
Could not link driver rlm_sql_mysql: ld.so.1: radiusd: fatal: rlm_sql_mysql.so: open failed: No such file or directory
Make sure it (and all its dependent libraries!) are in the search path of your system's ld.
/usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql"
/usr/local/etc/raddb/sites-enabled/default[161]: Failed to find module "sql".
/usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize section.
Errors initializing modules
bash-3.00#
############################################################
Thanks and Regards,
Yagnesh Dave.
On Mon, 30 Nov 2009 15:20:18 +0530 wrote
>Hi,
> Hi Everyone,
>
> I was trying to set-up mysql for logging the accounting logs for the users. I followed the instruction on http://www.frontios.com/freeradius.html and also on http://wiki.freeradius.org/SQL_HOWTO. The I tried to run the FreeRadius server. It did not start and was giving this error as given below,
> ###############################################################
> including configuration file /usr/local/etc/raddb/sites-enabled/default
> including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
> including configuration file /usr/local/etc/raddb/sites-enabled/control-socket
> including configuration file /usr/local/etc/raddb/sites-enabled/nohup.out
> /usr/local/etc/raddb/sites-enabled/nohup.out[1]: Expecting section start brace '{' after "FreeRADIUS Version"
> Errors reading /usr/local/etc/raddb/radiusd.conf
> bash-3.00#
> ################################################################
as Josip has said - you have a file called 'nohup.out' in your sites-enabled
directory. this is a special directory that can only contain FreeRADIUS
virtual server files (because it basically loads in sites-enabled/* as servers...
this file is messing it up. remove it.
alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091130/bc81d138/attachment.html>
More information about the Freeradius-Users
mailing list