<br><div class="gmail_quote">Hi, <br><br>I have created two ip pool in radiusd.conf which looks like below:<br><br>=======================================================<br>In radiusd.conf<br><br>ippool myippool {<br> range-start = 192.168.182.129<br>
range-stop = 192.168.182.254<br> netmask = 255.255.255.0<br> cache-size = 800<br> session-db = ${raddbdir}/db.ippool1<br> ip-index = ${raddbdir}/db.ipindex1<br>
override = yes<br> maximum-timeout = 0<br> #key = "%{NAS-IP-Address} %{NAS-Port}"<br>}<br><br>ippool my_sec_ippool {<br> range-start = 192.168.182.129<br>
range-stop = 192.168.182.254<br> netmask = 255.255.255.0<br> cache-size = 800<br> session-db = ${raddbdir}/db.ippool1<br> ip-index = ${raddbdir}/db.ipindex1<br>
override = yes<br> maximum-timeout = 0<br> #key = "%{NAS-IP-Address} %{NAS-Port}"<br>}<br><br>---------------------------------------------------------------------------------------------------------------<br>
In user updated like below:<br><br>DEFAULT Auth-Type := aag, Service-Type == Framed-User, Framed-Protocol == 7, Pool-Name := myippool<br> Service-Type == Framed-User,<br> Framed-Protocol == 7,<br> Acct-Interim-Interval = 500<br>
<br>DEFAULT Auth-Type := aag, Service-Type == Framed-User, Framed-Protocol == 7, Pool-Name := my_sec_ippool<br> Service-Type == Framed-User,<br> Framed-Protocol == 7,<br> Acct-Interim-Interval = 500<br>
=======================================================<br><br>When I am executing radius server in debug mode i.e ./radiusd -X then getting the below error<br><br>=======================================================<br>
radiusd: #### Instantiating modules ####<br> instantiate {<br> Module: Linked to module rlm_exec<br> Module: Instantiating module "exec" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/exec<br>
exec {<br> wait = no<br> input_pairs = "request"<br> shell_escape = yes<br> }<br> Module: Linked to module rlm_expr<br> Module: Instantiating module "expr" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/expr<br>
Module: Linked to module rlm_expiration<br> Module: Instantiating module "expiration" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/expiration<br> expiration {<br> reply-message = "Password Has Expired "<br>
}<br> Module: Linked to module rlm_logintime<br> Module: Instantiating module "logintime" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/logintime<br> logintime {<br> reply-message = "You are calling outside your allowed timespan "<br>
minimum-timeout = 60<br> }<br> Module: Linked to module rlm_aag<br> Module: Instantiating module "aag" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/aag<br> aag {<br>
integer = 1<br> boolean = no<br> ipaddr = *<br> }<br>openfile opened /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/data//admin/log/error/startup.log<br>LoggingLevel.conf path...../export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/data//config/logginglevel.conf<br>
alarminglevel.conf path...../export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/data//config/alarminglevel.conf<br>Loggerportno conf file path..../export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/data//config/loggerportno.conf }<br>
radiusd: #### Loading Virtual Servers ####<br>
server { # from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/radiusd.conf<br> modules {<br> Module: Creating Auth-Type = aag<br> Module: Creating Auth-Type = digest<br> Module: Creating Post-Auth-Type = REJECT<br>
Module: Checking authenticate {...} for more modules to load<br> Module: Linked to module rlm_pap<br> Module: Instantiating module "pap" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/pap<br>
pap {<br> encryption_scheme = "auto"<br> auto_header = no<br> }<br> Module: Linked to module rlm_chap<br> Module: Instantiating module "chap" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/chap<br>
Module: Linked to module rlm_mschap<br> Module: Instantiating module "mschap" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/mschap<br> mschap {<br> use_mppe = yes<br>
require_encryption = no<br> require_strong = no<br> with_ntdomain_hack = no<br> allow_retry = yes<br> }<br> Module: Linked to module rlm_digest<br> Module: Instantiating module "digest" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/digest<br>
Module: Linked to module rlm_unix<br> Module: Instantiating module "unix" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/unix<br> unix {<br> radwtmp = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/var/log/radius/radwtmp"<br>
}<br> Module: Checking authorize {...} for more modules to load<br> Module: Linked to module rlm_preprocess<br> Module: Instantiating module "preprocess" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/preprocess<br>
preprocess {<br> huntgroups = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/huntgroups"<br> hints = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/hints"<br>
with_ascend_hack = no<br> ascend_channels_per_line = 23<br> with_ntdomain_hack = no<br> with_specialix_jetstream_hack = no<br> with_cisco_vsa_hack = no<br> with_alvarion_vsa_hack = no<br>
}<br> Module: Linked to module rlm_realm<br> Module: Instantiating module "suffix" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/realm<br> realm suffix {<br> format = "suffix"<br>
delimiter = "@"<br> ignore_default = no<br> ignore_null = no<br> }<br> Module: Linked to module rlm_files<br> Module: Instantiating module "files" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/files<br>
files {<br> usersfile = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/users"<br> acctusersfile = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/acct_users"<br>
preproxy_usersfile = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/preproxy_users"<br> compat = "no"<br> }<br> Module: Checking preacct {...} for more modules to load<br>
Module: Linked to module rlm_acct_unique<br> Module: Instantiating module "acct_unique" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/acct_unique<br> acct_unique {<br> key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"<br>
}<br> Module: Checking accounting {...} for more modules to load<br> Module: Linked to module rlm_detail<br> Module: Instantiating module "detail" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/detail<br>
detail {<br> detailfile = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"<br> header = "%t"<br>
detailperm = 384<br> dirperm = 493<br> locking = no<br> log_packet_header = no<br> }<br> Module: Linked to module rlm_radutmp<br> Module: Instantiating module "radutmp" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/radutmp<br>
radutmp {<br> filename = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/var/log/radius/radutmp"<br> username = "%{User-Name}"<br> case_sensitive = yes<br> check_with_nas = yes<br>
perm = 384<br> callerid = yes<br> }<br> Module: Linked to module rlm_attr_filter<br> Module: Instantiating module "attr_filter.accounting_response" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/attr_filter<br>
attr_filter attr_filter.accounting_response {<br> attrsfile = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/attrs.accounting_response"<br> key = "%{User-Name}"<br>
relaxed = no<br> }<br> Module: Checking session {...} for more modules to load<br> Module: Checking post-auth {...} for more modules to load<br> Module: Instantiating module "attr_filter.access_reject" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/attr_filter<br>
attr_filter attr_filter.access_reject {<br> attrsfile = "/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/attrs.access_reject"<br> key = "%{User-Name}"<br> relaxed = no<br>
}<br> } # modules<br>} # server<br>server inner-tunnel { # from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/sites-enabled/inner-tunnel<br> modules {<br> Module: Checking authenticate {...} for more modules to load<br>
Module: Checking authorize {...} for more modules to load<br> Module: Checking session {...} for more modules to load<br> Module: Checking post-auth {...} for more modules to load<br> } # modules<br>} # server<br>server coa { # from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/sites-enabled/coa<br>
modules {<br> Module: Checking recv-coa {...} for more modules to load<br> Module: Linked to module rlm_always<br> Module: Instantiating module "ok" from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/modules/always<br>
always ok {<br> rcode = "ok"<br> simulcount = 0<br> mpp = no<br> }<br> Module: Checking send-coa {...} for more modules to load<br> } # modules<br>} # server<br>server <a href="http://originate-coa.example.com" target="_blank">originate-coa.example.com</a> { # from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/sites-available/originate-coa<br>
modules {<br> Module: Creating Post-Proxy-Type = Fail-CoA<br> Module: Creating Post-Proxy-Type = Fail-Disconnect<br> Module: Checking pre-proxy {...} for more modules to load<br> Module: Checking post-proxy {...} for more modules to load<br>
} # modules<br>} # server<br>WARNING: Server <a href="http://originate-coa.example.com" target="_blank">originate-coa.example.com</a> is empty, and will do nothing!<br>server Access_Gateway { # from file /export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/radiusd.conf<br>
modules {<br> Module: Checking authenticate {...} for more modules to load<br> Module: Checking authorize {...} for more modules to load<br> Module: Checking accounting {...} for more modules to load<br><span style="color:rgb(255,0,0)">/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/radiusd.conf[890]: Failed to load module "myippool".<br>
/export/home/lebraaag/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/etc/raddb/radiusd.conf[877]: Errors parsing accounting section.</span><br>=====================================================================================================<br>
<br>Please look into my problem and guide me to come out of this problem.<br><br>Thanks,<br><br>Regards<span class="HOEnZb"><font color="#888888"><br>Ranjan<br><br><br>
</font></span></div><br>