[MAS-tips] Re: [MAS-discuss] Failed to lock event history file
Brought to you by:
jcochrane
From: Jim C. <jt...@di...> - 2003-09-12 07:23:40
|
> Thanks to Jim for the answer about adjusting the names > of market analysers. Today's issue is, i hope, not related > to that, as i have not yet tried those tweaks. > > I run my market analysis as per normal, but mas server > now gives this error message to stdout ... > ------ > Failed to lock event history file > /home/crossley/mas/lib/crossley@localhost.history1808642937 > - results will not be saved. > ------ > > I tried removing that file, which was being happily used > on previous runs .... same error. > > I tried removing that registrant completely and adding it > back again ... same error. > > Obviously, now when i run my analysis i get the same events > delivered again. Yes, as you mentioned in your later email, mas creates a lock file to lock the *.history... file, based on its file name, but starting with a '.'. The lock file may not be removed if, for example, the server dies unexpectedly while processing, so it needs to be removed by hand. And as you mentioned, the lock file can be seen with an "ls -la" in the directory where the *.history* file resides. Thanks for pointing this out. Jim |