I  have installed the "radacct.cgi" in apache server successfully. I do authentication, accounting by SQL (use default tables SUBSCRIBERS, ACCOUNTING, RADONLINE, RADLOG). I have some problems as following:

1. When I run "radacct.cgi" program (http://myserver/cgi-bin/radacct.cgi), every fields ("User-Name", "Acct-Session-Time", "In-Octets", "Out-Octets") show normally except the fields "In-Packets" and "Out-Packets" show a question mark "?"

2. If I click for some user (http://myserver/cgi-bin/radacct.cgi?type=user&user=legende&filename=), I still can not see the content of  fields- "In-Octets", "Out-Octets" (a question mark "?")

3. If I want to show detail information for a session-id (http://myserver/cgi-bin/radacct.cgi?type=session_id&user=legende&session_id=Xyplex), I can not see anything.

I am sure all information for radius accounting stored in database ( I can execute sql command to retrieve the data). I found my Session-Id is in a pattern like "Xyplex Terminal Server:  2b00009196" , Whether it can not be processed by program "rdacct.cgi". How do I to fix it ?

ps: I have modified the field type of "ACCTSESSIONID" to varhar(50)

Authur
 
 

Reply via email to