Accounting Start Request error
Hi, I am facing this problem that radius giving me return code 1. as for as i think this is because Acct-Session-Id is missing in request... how can i solve this problem because session id is set by session counter i can not set it manually.. i hope you understand my question. Acct-Status-Type = Start Move-ID = "4" SureTech-Attr-4 = 0x00000000 Acct-Link-Count = 1 Accounting-Type = 1 User-Name = "290B7DY3ENSG9" Processing the preacct section of radiusd.confmodcall: entering group preacct for request 2 modcall[preacct]: module "preprocess" returns noop for request 2rlm_acct_unique: WARNING: Attribute NAS-Port was not found in request, unique ID MAY be inconsistentrlm_acct_unique: WARNING: Attribute Acct-Session-Id was not found in request, unique ID MAY be inconsistentrlm_acct_unique: Hashing ',Client-IP-Address = 192.168.22.79,NAS-IP-Address = 192.168.22.79,,User-Name = "290B7DY3ENSG9"'rlm_acct_unique: Acct-Unique-Session-ID = "14b16fdf26a1520d". modcall[preacct]: module "acct_unique" returns ok for request 2 rlm_realm: No '@' in User-Name = "290B7DY3ENSG9", looking up realm NULL rlm_realm: No such realm "NULL" modcall[preacct]: module "suffix" returns noop for request 2 modcall[preacct]: module "files" returns noop for request 2modcall: leaving group preacct (returns ok) for request 2 Processing the accounting section of radiusd.confmodcall: entering group accounting for request 2radius_xlat: '/usr/local/var/log/radius/radacct/192.168.22.79/detail-20121022:18'rlm_detail: /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d:%H expands to /usr/local/var/log/radius/radacct/192.168.22.79/detail-20121022:18 modcall[accounting]: module "detail" returns ok for request 2radius_xlat: '/usr/local/var/log/radius/radutmp'radius_xlat: '290B7DY3ENSG9' rlm_radutmp: No NAS-Port seen. Cannot do anything. rlm_radumtp: WARNING: checkrad will probably not work! modcall[accounting]: module "radutmp" returns noop for request 2 modcall[accounting]: module "sql" returns ok for request 2modcall: leaving group accounting (returns ok) for request 2Sending Accounting-Response of id 38 to 192.168.22.79 port 37436 ReturnCode = 1 User-Name = "290B7DY3ENSG9"Finished request 2Going to the next request--- Walking the entire request list ---Cleaning up request 2 ID 38 with timestamp 50852447Nothing to do. Sleeping until we see a request. Regards Qasim
Hi,
I am facing this problem that radius giving me return code 1. as for as i think this is because Acct-Session-Id is missing in request...
..did you read the output, think this is the only issue?
rlm_acct_unique: WARNING: Attribute NAS-Port was not found in request, unique ID MAY be inconsistent
no NAS-Port
rlm_acct_unique: WARNING: Attribute Acct-Session-Id was not found in request, unique ID MAY be inconsistent
no Acct-Session-Id
rlm_radutmp: No NAS-Port seen. Cannot do anything. rlm_radumtp: WARNING: checkrad will probably not work!
do you need this functionality? If not, comment out the radutmp module. then ask your NAS vendor why they dont bother to read the RADIUS RFCs - get them to fix their kit alan
On 23 Oct 2012, at 05:21, QASIM RAO <qasim2490@hotmail.com> wrote:
Hi,
I am facing this problem that radius giving me return code 1. as for as i think this is because Acct-Session-Id is missing in request...
how can i solve this problem because session id is set by session counter i can not set it manually.. i hope you understand my question.
Acct-Status-Type = Start Move-ID = "4" SureTech-Attr-4 = 0x00000000 Acct-Link-Count = 1 Accounting-Type = 1 User-Name = "290B7DY3ENSG9"
Yeah unless you've truncted this, your NAS is broken. All accounting requests must containt Acct-Session-ID. -Arran
participants (3)
-
alan buxey -
Arran Cudbard-Bell -
QASIM RAO