Bill Moseley wrote:
On 24 Feb 2003, Cron Daemon wrote:
err: Couldn't open the property file "index.swish-e.prop.temp": No
such file or directory .
I wonder why this is reported every once in a while. Swish is reopening
that .prop file in read mode for faster access on the last pass of
indexing.
You should know better ;)
But, that error should abort the indexing, yet the index looks like it was
created.
-rw-rw-r-- 1 perlwww perl 1441405 Feb 24 06:43 index.swish-e.prop
-rw-rw-r-- 1 perlwww perl 4777362 Feb 24 06:43 index.swish-e
The cron runs several times a day, so may be it was successful on the next
build.
When swish indexes it writes to .temp files, then at the very end renames
the files removing the .temp suffix.
void DB_Reopen_PropertiesForRead_Native(void *db)
{
struct Handle_DBNative *DB = (struct Handle_DBNative *) db;
int no_rename = 0;
char *s = estrdup(DB->cur_prop_file);
/* Close property file */
DB_Close_File_Native(&DB->prop, &DB->cur_prop_file, &no_rename);
if (!(DB->prop = openIndexFILEForRead(s)))
progerrno("Couldn't open the property file \"%s\": ", s);
DB->cur_prop_file = s;
}
progerrno() calls exit.
so, why the error?
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]