rlm_perl and accounting

Justin Church jcc at unc.edu
Tue Sep 26 00:18:08 CEST 2006


The server created an entry in my detail file.  Is that not considered 
logging?  If not, where should I look to see why the server isn't logging?



rad_recv: Accounting-Request packet from host 152.2.199.26 port 32839, 
id=139, length=80
         User-Name = "jcc"
         NAS-Port = 5060
         Sip-Src-IP = 152.2.199.26
         Sip-Transport-Proto = TLS
         Acct-Session-Id = "accounting-session-1-id"
   Processing the preacct section of radiusd.conf
modcall:  entering group preacct for request 3
rlm_acct_unique: WARNING: Attribute Client-IP-Address was not found in 
request, unique ID MAY be inconsistent
rlm_acct_unique: Hashing 'NAS-Port = 5060,,NAS-IP-Address = 
152.2.199.26,Acct-Session-Id = "accounting-session-1-id",User-Name = "jcc"'
rlm_acct_unique: Acct-Unique-Session-ID = "7910d35136b9eb7a".
     rlm_realm: No '@' in User-Name = "jcc", looking up realm NULL
     rlm_realm: No such realm "NULL"
modcall: group preacct returns noop for request 3
   Processing the accounting section of radiusd.conf
modcall:  entering group accounting for request 3
radius_xlat: 
'/usr/local/var/log/radius/radacct/152.2.199.26/detail-20060925'
rlm_detail: 
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d 
expands to /usr/local/var/log/radius/radacct/152.2.199.26/detail-20060925
radius_xlat:  'Mon Sep 25 18:15:08 2006'
radius_xlat:  '/usr/local/var/log/radius/radacct/radrelay-detail'
rlm_detail: /usr/local/var/log/radius/radacct/radrelay-detail expands to 
/usr/local/var/log/radius/radacct/radrelay-detail
rlm_detail: Acquired filelock, tried 1 time(s)
radius_xlat:  'Mon Sep 25 18:15:08 2006'
rlm_detail: Released filelock
rlm_unix: no Accounting-Status-Type attribute in request.
rlm_radutmp: No Accounting-Status-Type record.
modcall: group accounting returns noop for request 3
Finished request 3
Going to the next request
--- Walking the entire request list ---
Cleaning up request 3 ID 139 with timestamp 451854ec
Nothing to do.  Sleeping until we see a request.


radrelay-detail:

Mon Sep 25 18:15:08 2006
         User-Name = "jcc"
         NAS-Port = 5060
         Sip-Src-IP = 152.2.199.26
         Sip-Transport-Proto = TLS
         Acct-Session-Id = "accounting-session-1-id"
         NAS-IP-Address = 152.2.199.26
         Acct-Unique-Session-Id = "7910d35136b9eb7a"
         Timestamp = 1159222508


Thanks.

-jc


Alan DeKok wrote:
> Justin Church <jcc at unc.edu> wrote:
>> Anything in this debug indicate why the server doesn't send 
>> Accounting-Response?
> 
>   The server didn't log the accounting information anywhere, therefore
> it's not safe to tell the NAS that the accoutning information was
> stored on the server.
> 
>   Alan DeKok.
> --
>   http://deployingradius.com       - The web site of the book
>   http://deployingradius.com/blog/ - The blog
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list