<div>Hi Alan,</div><div><br></div><div>>> <span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">If your program can't wait that long to access the data, use a </span><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">database.</span></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I think that will solve my problem.</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><div>Thank you for the helpful answers.</div>
<div>Alex</div><div><br></div><div class="gmail_quote">On Fri, Sep 17, 2010 at 10:50 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>kabilius smith wrote:<br>
> I have configured the FreeRadius server to write to a file c:\test.log,<br>
> and one of our programs reads contents from c:\ test.log as well.<br>
><br>
> When our program is reading c:\ test.log, we open it with “deny write”<br>
> permission, so the I saw the error message “Error: rlm_detail: Couldn't<br>
> open file c:/test.log: Device or resource busy” in Radius.log.<br>
<br>
</div>  So... don't do that.  Your program is *wrong*.  It is breaking the<br>
RADIUS server.<br>
<div><br>
> Can FreeRadius be configured to “delay write”? meaning, if it is unable<br>
> to access c:\test.log, could it queue the message, and write to the file<br>
> at a later time?<br>
<br>
</div>  No.  It the responsibility of *your* program to ensure that it doesn't<br>
break the RADIUS server.<br>
<br>
  The "detail" module can be configured to write new detail files every<br>
hour.  If your program can't wait that long to access the data, use a<br>
database.<br>
<br>
> My 2^nd question:<br>
<div>><br>
> When FreeRadius receive a radius message, can it redirect the message to<br>
> another TCP or UDP link?  If it is possible, then we will just setup a<br>
> TCP or UDP link to listen for the message from the FreeRadius server.<br>
<br>
</div>  In some unspecified format.. ?<br>
<br>
  The answer is no.<br>
<font color="#888888"><br>
  Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></blockquote></div><br></div>