HI All,<div><br></div><div>I just installed free radius server using apt-get on my ubuntu machine.</div><div>Now i want to configure jradius on my freeradius server.</div><div><br></div><div>I follow step by step from <a href="http://coova.org/JRadius/FreeRADIUS">http://coova.org/JRadius/FreeRADIUS</a>.</div>
<div><br></div><div>Firstly my freeradius server running well, whereas i've configure it with mysql and coovachilli.</div><div>Then i configure with jradius, i inserted module on radius.conf file on module section like bellow :</div>
<div><br></div><div><pre style="background-color:rgb(238,238,238);border:1px dashed rgb(128,128,128);font-family:courier,monospace;font-size:13px;line-height:1.1em;padding:1em">
# configure the rlm_jradius module
jradius {
name = "radius" # The "Requester" name (a single
# JRadius server can have
# multiple "applications")
primary = "localhost" # Uses default port 1814
secondary = "192.168.2.3" # Fail-over server
tertiary = "<a href="http://192.168.2.3:8002">192.168.2.3:8002</a>" # Fail-over server on port 8002
timeout = 1 # Connect Timeout
onfail = NOOP # What to do if no JRadius
# Server is found. Options are:
# FAIL (default), OK, REJECT, NOOP
keepalive = yes # Keep connections to JRadius pooled
connections = 8 # Number of pooled JRadius connections
}
<br></pre></div><div><div><br></div><div>Then i add some authorization on /etc/freeradius/site-avalaible/default like bellow</div><div><br></div><div><pre style="background-color:rgb(238,238,238);border:1px dashed rgb(128,128,128);font-family:courier,monospace;font-size:13px;line-height:1.1em;padding:1em">
authorize {
...
jradius
}
post-auth {
...
jradius
Post-Auth-Type REJECT {
jradius
}
}
preacct {
...
jradius
}
accounting {
...
jradius
}</pre></div><div><br></div><div><br></div><div>Finally i try to running on foreground to know that my configuration has been success, but i get error message like bellow :</div><div><br></div><div><br></div><div><div>
Thu Mar 7 13:56:15 2013 : Debug: } # modules</div><div>Thu Mar 7 13:56:15 2013 : Debug: } # server</div><div>Thu Mar 7 13:56:15 2013 : Debug: server { # from file /etc/freeradius/radiusd.conf</div><div>Thu Mar 7 13:56:15 2013 : Debug: modules {</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: Module: Checking authenticate {...} for more modules to load</div><div>Thu Mar 7 13:56:15 2013 : Debug: (Loaded rlm_digest, checking if it's valid)</div><div>Thu Mar 7 13:56:15 2013 : Debug: Module: Linked to module rlm_digest</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: Module: Instantiating module "digest" from file /etc/freeradius/modules/digest</div><div>Thu Mar 7 13:56:15 2013 : Debug: Module: Checking authorize {...} for more modules to load</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: (Loaded rlm_preprocess, checking if it's valid)</div><div>Thu Mar 7 13:56:15 2013 : Debug: Module: Linked to module rlm_preprocess</div><div>Thu Mar 7 13:56:15 2013 : Debug: Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: preprocess {</div><div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>huntgroups = "/etc/freeradius/huntgroups"</div><div>
Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>hints = "/etc/freeradius/hints"</div><div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>with_ascend_hack = no</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>ascend_channels_per_line = 23</div><div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>with_ntdomain_hack = no</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>with_specialix_jetstream_hack = no</div><div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>with_cisco_vsa_hack = no</div>
<div>Thu Mar 7 13:56:15 2013 : Debug: <span class="Apple-tab-span" style="white-space:pre"> </span>with_alvarion_vsa_hack = no</div><div>Thu Mar 7 13:56:15 2013 : Debug: }</div><div>Thu Mar 7 13:56:15 2013 : Error: /etc/freeradius/radiusd.conf[644]: Failed to link to module 'rlm_jradius': file not found </div>
<div>Thu Mar 7 13:56:15 2013 : Error: /etc/freeradius/sites-enabled/default[71]: Failed to load module "jradius".</div><div>Thu Mar 7 13:56:15 2013 : Error: /etc/freeradius/sites-enabled/default[62]: Errors parsing authorize section. </div>
</div><div><br></div><div><br></div><div>What this error ?</div><div><br></div><div>How i can solve this issue ?</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div>-- <br><b>M.Iftakhul Anwar</b><br>
Meruvian Integrator<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">High Performance Computing / Cloud Computing (HPC/CC)</span><br><div><br><div style="text-align:left">
<br></div></div></div><div style="text-align:left"><div>Office Phone : 021-93586577</div><div>Mobile Phone : 085215331477</div><div>Blog : <a href="http://blog.mervpolis.com/roller/anwar" target="_blank">http://blog.mervpolis.com/roller/anwar</a></div>
<div>FB : <a href="http://www.facebook.com/troya.adromeda" target="_blank">http://www.facebook.com/troya.adromeda</a></div><div>Website : <a href="http://www.meruvian.org" target="_blank">www.meruvian.org</a></div>
<div><br></div></div>
</div>