<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi Jack<div>I am root user</div><div><br></div><div>Server Radius Logs Say</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql (sql): Driver rlm_sql_sqlite (module rlm_sql_sqlite) loaded and linked</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql (sql): Attempting to connect to radius@localhost:/radius</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #0</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #1</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #2</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #3</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: Opening sqlite database /private/etc/raddb/sqlite_radius_client_database for #4</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Info: rlm_sql_sqlite: sqlite3_open() = 0 </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">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 ""</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Error: Errors reading /private/etc/raddb/users</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/modules/files[7]: Instantiation failed for module "files"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/sites-enabled/inner-tunnel[111]: Failed to find module "files".</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Error: /private/etc/raddb/sites-enabled/inner-tunnel[34]: Errors parsing authorize section. </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco">Sun Aug 14 16:59:56 2011 : Error: Errors initializing modules</p><div><br></div><div><br></div><div>radiusd -x says</div><div><div><br></div><div>server10:~ admin$ radiusd -X</div><div>FreeRADIUS Version 2.1.3, for host i386-apple-darwin10.0, built on Apr 11 2011 at 17:19:07</div><div>Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. </div><div>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A </div><div>PARTICULAR PURPOSE. </div><div>You may redistribute copies of FreeRADIUS under the terms of the </div><div>GNU General Public License v2. </div><div>Starting - reading configuration files ...</div><div>including configuration file /private/etc/raddb/radiusd.conf</div><div>Unable to open file "/private/etc/raddb/radiusd.conf": Permission denied</div><div>Errors reading /private/etc/raddb/radiusd.conf</div></div><div><br></div><div>DOes that help?</div><div><br></div><div><br></div><div><br></div><div><br></div><div>> To: freeradius-users@lists.freeradius.org<br><br></div><div>> Subject: RE: Cant Start Radius Server MAC OSX (snow leopard)<br>> Date: Sun, 14 Aug 2011 22:56:13 +0000<br>> <br>> 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?<br>> <br>> Jake Sallee<br>> Godfather of Bandwidth<br>> System Engineer<br>> University of Mary Hardin-Baylor<br>> 900 College St.<br>> Belton, Texas<br>> 76513<br>> Fone: 254-295-4658<br>> Phax: 254-295-4221<br>> <br>> -----Original Message-----<br>> From: freeradius-users-bounces+jake.sallee=umhb.edu@lists.freeradius.org [mailto:freeradius-users-bounces+jake.sallee=umhb.edu@lists.freeradius.org] On Behalf Of DavidS<br>> Sent: Sunday, August 14, 2011 5:22 PM<br>> To: freeradius-users@lists.freeradius.org<br>> Subject: Cant Start Radius Server MAC OSX (snow leopard)<br>> <br>> Hi<br>> I tried to Run Radius Server on Mac OSX Server Snow Leopard.<br>> <br>> Tried to START Radius<br>> <br>> It wont start<br>> <br>> I had made a few changed (detailed below) I went to DEBUG with following out<br>> put:<br>> <br>> server10:~ admin$ radiusd -X<br>> FreeRADIUS Version 2.1.3, for host i386-apple-darwin10.0, built on Apr 11<br>> 2011 at 17:19:07<br>> Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. <br>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. <br>> You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. <br>> Starting - reading configuration files ...<br>> 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$ <br>> <br>> I had not edited this file<br>> <br>> Can anyone help ?<br>> <br>> Thanks<br>> <br>> CHANGES I MADE PRIOR TO GETTING THIS ERROR First time I used the Radius Server<br>> <br>> Using Server Admin selected the Radius service - it appeared as expected identified and I entered a local time capsule (That appeared as a base<br>> station)<br>> <br>> The Radius Server was running<br>> <br>> I stopped the Radius Server<br>> <br>> AND using textwrangler edited /etc/raddb/clients.conf <br>> <br>> I entered the following text below the preceding "#" and above the text "client localhost {"<br>> client   {<br>>  ipaddr = 192.168.0.100<br>>  netmask = 32<br>>  secret = XXXX<br>>  require_message_authenticator = no<br>>  shortname = slr877<br>>  nastype = cisco<br>>  }<br>> <br>> I saved the file closed the file<br>> <br>> <br>> Using textwrangler I edited  /etc/raddb/users<br>> <br>> At the end of the file entered<br>> <br>> user1          Cleartext-Password := “password”<br>> Service-Type = NAS-Prompt-User,<br>> cisco-avpair = “webvpn:user-vpn-group=SLRgroup1”<br>> <br>> Saved the file closed the file<br>> <br>> Tried to restart the Radius Server and got the above error<br>> <br>> Please help<br>> Thanks<br>> <br>> --<br>> View this message in context: http://freeradius.1045715.n5.nabble.com/Cant-Start-Radius-Server-MAC-OSX-snow-leopard-tp4699245p4699245.html<br>> Sent from the FreeRadius - User mailing list archive at Nabble.com.<br>> <br>> -<br>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br>> <br>> -<br>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br></div></div>                                        </div></body>
</html>