RA clients and moving files

Carter Bullard carter at qosient.com
Tue May 29 11:55:54 EDT 2001


Hey Chris,
   Ra should have handled it properly, but now that I look
at the code, we do the stat() after the fopen(,"a+"), which
means that you moved the file between two system calls.
Probability < 0.0001.  So it was your lucky day ;o)

   We should do the stat before the fopen() call,
so I'll rework it for the new release.  If I come up with
a fix today, I'll send you a patch.

Carter

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York  10022

carter at qosient.com
Phone +1 212 588-9133
Fax   +1 212 588-9134
http://qosient.com  

-----Original Message-----
From: Chris Newton [mailto:newton at unb.ca] 
Sent: Tuesday, May 29, 2001 10:13 AM
To: Carter Bullard
Subject: RA clients and moving files


Hi Carter... does RA perform the same as Argus, when it comes to moving
the 
file it has been writing to?  I have ra setup to read from a remote
argii, and 
dump to a local file called argus.out.  I got this message just a while
ago:

 ra[5208]: ArgusWriteNewLogfile(/flowlogs/argus.out, 0x806b4e0) stat
error No 
such file or directory

 And, RA died...  my script that starts ra, automatically restarted ra.

  Any ideas?

Chris

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Chris Newton, Systems Analyst
Computing Services, University of New Brunswick
newton at unb.ca 506-447-3212(voice) 506-453-3590(fax)



More information about the argus mailing list