mharc-users

Re: Errors from read-mail

2004-08-18 11:11:36
--- Morgan Fletcher wrote:

I've got a couple messages which haven't been indexed in a long time. I see
this in the log for mharc:

[2003-01-07 13:05:19] [4517] logcmd: Command: [4518]
/data1/mharc/bin/read-mail
[2003-01-07 13:05:19] [4518] read-mail: ASSERTION ERROR!: NMZ.r (71086) and
NMZ.t (71087) are not consistent! at /usr/pkg/share/namazu/pl/util.pl line
257.
   [snip]

Rebuild the search index.  The easiest way is to remove all the NMZ.*
files of the problematic archive and use the mk-search-index.  Example:

  <mharc-root>/bin/mk-search-index <archive-name>

Do the above if you only want to rebuild the search index and leave
everything else alone.  You can also do:

  make rebuild LISTS="<archive-name>"

from <mharc-root> to rebuild a single archive, including the HTML files
and the search index.

[2003-01-07 13:05:33] [4518] read-mail: Can't find string terminator "'"
anywhere before EOF at /data1/mharc/html/3FE/2003-01/.mhonarc.db line 2101.
[2003-01-07 13:05:33] [4518] read-mail: Compilation failed in require at

This looks like the mhonarc database file has been corrupted. You can
run:

  perl -c /data1/mharc/html/3FE/2003-01/.mhonarc.db

and if you get errors, the file is messed up.

You may need to rebuild the archive to fix this problem.

Since it appears that multiple archives are a problem, you may need
to rebuild everything.  You may want to check if there are system
problems that could be causing these problems: out of disk, bad disk, etc.
Also, check what version of perl you are using.

As long as the raw mbox archives are okay, you can recreate the HTML
archives and search indexes.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>