[RADIATOR] Radacct.cgi doesn't display "Stopped at"

Hugh Irvine hugh at open.com.au
Fri Apr 17 00:54:40 CDT 2009


Hello Michael -

I suggest you use an AcctFileFormat specification to write whatever  
you need directly, rather than try to parse the file after the fact.

See sections 5.17.4 and 5.17.5 in the Radiator 4.4 reference manual  
("doc/ref.pdf").

If you still have questions please send me a copy of the configuration  
file and a copy of the accounting detail file together with your query.

regards

Hugh


On 17 Apr 2009, at 07:24, Michael Rodrigues wrote:

> Hello,
>
> I am having some trouble getting the radacct.cgi script to parse the  
> timestamp of an accounting packet to make the "Stopped at" field  
> display. I had my coworker (he knows more Perl than I)  take a look,  
> but neither of us could figure it out. It seems like the script is  
> not reading the logfile until the line after the packet dump.  
> Basically I need accounting for users so that I can match a specific  
> time with an IP address and a user. If anyone has come up with a  
> better/simpler way to do just that, I have no problem ditching the  
> radacct script altogether. If I haven't provided enough information  
> for assistance, please alert me to it so I can provide the necessary  
> info.
>
> Thanks!
>
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.




More information about the radiator mailing list