Article View: news.software.nntp
Article #31417Re: problems with inn 2.1
From: Robert Collier
Date: Wed, 16 Sep 1998 00:00
Date: Wed, 16 Sep 1998 00:00
63 lines
2751 bytes
2751 bytes
jm@nwn.de (Joerg Moellenkamp) writes:
> >Maybe you're using storage API and your overview data
> I use the storage API, the spool are serveral CNFS-Cycbuffs
> >got corrupted somehow? Try reconstructing the overview
> >records like described with the ``-I'' option in the
> >makehistory(8) manpage.
> Hmm, i delete all overview-files a few days ago, but the
> problem occured again.
> Futhermore i tested newsreading with outlook express today, the
> problem gets really weird, while free agent show at least, some
> articles (but with wrong subjects in the articlelist) outlookexpress
> shows absolutely nothing . only that there are new articles.
I get simmilar problems if the server ever has a systemcrash that
results in an unclean shutdown. This manifests itself as a corrupt
overview database.
I now run the following script after every system crash.
Users with outlook/agent will need to unsubscribe from the group to
clear the corrupt overview information from their machines btw.
--8<--8<--
#! /bin/sh
. /news/lib/innshellvars
echo "Rebuilding essential news databases"
rm -f $PATHTMP/newindex
rm -f $PATHTMP/newindex.sorted
echo "Scanning spool"
rm -f $PATHTMP/newindex
$PATHBIN/makehistory -I $PATHTMP/newindex -O -n
echo -n "Counting history entries: "
COUNT=`wc -l $PATHDB/history | awk '{ print $1 }'`
echo $COUNT
echo "Rebuilding history index"
$PATHBIN/makehistory -o -r -s $COUNT
echo "Sorting overindex input file"
sort -t' ' +1 -2 $PATHTMP/newindex > $PATHTMP/newindex.sorted
echo "Rebuilding overindex"
expireindex -a -o -z < $PATHTMP/newindex.sorted
echo "Rebuild completed"
--8<--8<--
--
Robert Collier - Network Operations - Frontier Internet
----------------------------------------------------------------
Disclaimer: The views contained herein may not reflect the views
of my employer and reliance should not be placed thereon.
Technical Details
Message-ID:
<87n280l18i.fsf@rune.tech.ftech.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<35ff7c42.579595273@news.nordwest.net> <87sohsqt77.fsf@smart.ruhr.de> <35ff8d07.583888807@news.nordwest.net>Show Full Headers
Complete Article Headers
Message-ID: <87n280l18i.fsf@rune.tech.ftech.net> Subject: Re: problems with inn 2.1 Date: Wed, 16 Sep 1998 00:00:00 +0000 From: Robert Collier <rune@ftech.net> References: <35ff7c42.579595273@news.nordwest.net> <87sohsqt77.fsf@smart.ruhr.de> <35ff8d07.583888807@news.nordwest.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 391667357 X-Complaints-To: abuse@ftech.net X-Trace: ayers.ftech.net 905943077 6416 212.32.16.7 (16 Sep 1998 10:51:17 GMT) Organization: Frontier Internet Services Limited NNTP-Posting-Date: 16 Sep 1998 10:51:17 GMT Newsgroups: news.software.nntp