Cant Start Radius Server MAC OSX (snow leopard)

Elizabeth Fife fifeeliz1 at hotmail.com
Mon Aug 15 02:01:53 CEST 2011


Hi JackI am root user
Server Radius Logs Say
Sun Aug 14 16:59:56 2011 : Info: rlm_sql (sql): Driver rlm_sql_sqlite (module rlm_sql_sqlite) loaded and linked
Sun Aug 14 16:59:56 2011 : Info: rlm_sql (sql): Attempting to connect to radius at localhost:/radius
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #0
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #1
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #2
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #3
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #4
Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 
Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/users[215]: Parse error (check) for entry Service-Type: Invalid octet string "NAS-Prompt-User" for attribute name ""
Sun Aug 14 16:59:56 2011 : Error: Errors reading /private/etc/raddb/users
Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/modules/files[7]: Instantiation failed for module "files"
Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/sites-enabled/inner-tunnel[111]: Failed to find module "files".
Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/sites-enabled/inner-tunnel[34]: Errors parsing authorize section. 
Sun Aug 14 16:59:56 2011 : Error: Errors initializing modules

radiusd -x says
server10:~ admin$ radiusd -XFreeRADIUS Version 2.1.3, for host i386-apple-darwin10.0, built on Apr 11 2011 at 17:19:07Copyright (C) 1999-2008 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 /private/etc/raddb/radiusd.confUnable to open file "/private/etc/raddb/radiusd.conf": Permission deniedErrors reading /private/etc/raddb/radiusd.conf
DOes that help?



> To: freeradius-users at lists.freeradius.org

> Subject: RE: Cant Start Radius Server MAC OSX (snow leopard)
> Date: Sun, 14 Aug 2011 22:56:13 +0000
> 
> As what user are you attempting to start FreeRADIUS?  Most times FR is run as a daemon, so any user that tries to run FR should have permissions to look at FR's files, most time this is root or some other super user.  What does radiusd -X say?
> 
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
> 900 College St.
> Belton, Texas
> 76513
> Fone: 254-295-4658
> Phax: 254-295-4221
> 
> -----Original Message-----
> From: freeradius-users-bounces+jake.sallee=umhb.edu at lists.freeradius.org [mailto:freeradius-users-bounces+jake.sallee=umhb.edu at lists.freeradius.org] On Behalf Of DavidS
> Sent: Sunday, August 14, 2011 5:22 PM
> To: freeradius-users at lists.freeradius.org
> Subject: Cant Start Radius Server MAC OSX (snow leopard)
> 
> Hi
> I tried to Run Radius Server on Mac OSX Server Snow Leopard.
> 
> Tried to START Radius
> 
> It wont start
> 
> I had made a few changed (detailed below) I went to DEBUG with following out
> put:
> 
> server10:~ admin$ radiusd -X
> FreeRADIUS Version 2.1.3, for host i386-apple-darwin10.0, built on Apr 11
> 2011 at 17:19:07
> Copyright (C) 1999-2008 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 /private/etc/raddb/radiusd.conf Unable to open file "/private/etc/raddb/radiusd.conf": Permission denied Errors reading /private/etc/raddb/radiusd.conf server10:~ admin$ 
> 
> I had not edited this file
> 
> Can anyone help ?
> 
> Thanks
> 
> CHANGES I MADE PRIOR TO GETTING THIS ERROR First time I used the Radius Server
> 
> Using Server Admin selected the Radius service - it appeared as expected identified and I entered a local time capsule (That appeared as a base
> station)
> 
> The Radius Server was running
> 
> I stopped the Radius Server
> 
> AND using textwrangler edited /etc/raddb/clients.conf 
> 
> I entered the following text below the preceding "#" and above the text "client localhost {"
> client   {
>  ipaddr = 192.168.0.100
>  netmask = 32
>  secret = XXXX
>  require_message_authenticator = no
>  shortname = slr877
>  nastype = cisco
>  }
> 
> I saved the file closed the file
> 
> 
> Using textwrangler I edited  /etc/raddb/users
> 
> At the end of the file entered
> 
> user1          Cleartext-Password := “password”
> Service-Type = NAS-Prompt-User,
> cisco-avpair = “webvpn:user-vpn-group=SLRgroup1”
> 
> Saved the file closed the file
> 
> Tried to restart the Radius Server and got the above error
> 
> Please help
> Thanks
> 
> --
> View this message in context: http://freeradius.1045715.n5.nabble.com/Cant-Start-Radius-Server-MAC-OSX-snow-leopard-tp4699245p4699245.html
> Sent from the FreeRadius - User mailing list archive at Nabble.com.
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 
> -
> 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/20110815/b5c56a5c/attachment.html>


More information about the Freeradius-Users mailing list