The problem seems to be resolved, but the reason for it is still a mystery.

As an experiment, I installed htdig3.2b3-20010128 exactly where it wants to
be by default, verified that it worked, then progressively added options
from the "real" conf file (confirming every step of the way that it still
worked).

Finally, I backed up the original /www/htnew directory to /www/htnew-0204
for safekeeping, then had the new copy that was installed in /opt/www index
from scratch with the same options (using /www/htnew/db/cni/resumes as the
database_dir) that earlier caused the problem.

It worked perfectly.

After verifying that the copy installed in /opt/www was working, I deleted
the database files and indexed everything again -- this time using the copy
of htdig3.2b3-20010204 that was installed last Friday & caused the grief. I
expected it to crash and burn.

It worked fine.

Here's where it gets REALLY weird...

if I set the conf file to use /www/htnew-0204/db/cni/resumes as the database
dir, the problem comes right back (surprise, surprise)... but wait... it
gets better...

The files in /www/htnew-0204/db/cni/resumes are the same size as the files
in /www/htnew/db/cni/resumes. I don't know whether they're byte-for-byte
identical, but they're definitely the same size. There IS one difference,
but it shouldn't matter (and if it does, it should be added to the FAQ): in
the /www/htnew-0204 directory, there's an extra file: 1db.words.db_weakcmpr.
For comparison, here are listings of the two directories (/www/htnew-0204 is
the bad one, /www/htnew is the good one):

$ ls/www/htnew-0204/db/cni/resumes -l
-rw-r--r--   1 nobody   nobody     172032 Feb  9 17:10 1db.docdb
-rw-r--r--   1 nobody   nobody     172032 Feb  9 17:10 1db.docdb.work
-rw-r--r--   1 nobody   nobody      81920 Feb  9 17:10 1db.docs.index
-rw-r--r--   1 nobody   nobody      81920 Feb  9 17:10 1db.docs.index.work
-rw-r--r--   1 nobody   nobody    4423680 Feb  9 17:10 1db.excerpts
-rw-r--r--   1 nobody   nobody    4423680 Feb  9 17:10 1db.excerpts.work
-rw-r--r--   1 nobody   nobody    1389568 Feb  9 17:10 1db.words.db
-rw-r--r--   1 nobody   nobody    1389568 Feb  9 17:10 1db.words.db.work
-rw-r--r--   1 nobody   nobody      16384 Feb  9 16:46
1db.words.db.work_weakcmpr

$ls /www/htnew/db/cni/resumes -l
total 11616
-rw-r--r--   1 nobody   nobody     172032 Feb 12 16:48 1db.docdb
-rw-r--r--   1 nobody   nobody     172032 Feb 12 16:47 1db.docdb.work
-rw-r--r--   1 nobody   nobody      81920 Feb 12 16:48 1db.docs.index
-rw-r--r--   1 nobody   nobody      81920 Feb 12 16:47 1db.docs.index.work
-rw-r--r--   1 nobody   nobody    4423680 Feb 12 16:48 1db.excerpts
-rw-r--r--   1 nobody   nobody    4423680 Feb 12 16:47 1db.excerpts.work
-rw-r--r--   1 nobody   nobody    1389568 Feb 12 16:48 1db.words.db
-rw-r--r--   1 nobody   nobody    1389568 Feb 12 16:47 1db.words.db.work
-rw-r--r--   1 nobody   nobody      16384 Feb 12 16:43
1db.words.db.work_weakcmpr
-rw-r--r--   1 nobody   nobody      16384 Feb 12 16:40 1db.words.db_weakcmpr

It looks like my particular problem is solved (for now, hopefully
permanently), but I'll keep a copy of the good and bad database files around
for a few days in case you want a copy to look at and try to figure out what
went wrong. Thanks for all of your help!

-- Jeff


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
Information: http://lists.sourceforge.net/lists/listinfo/htdig-general
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to