Thread View: news.software.nntp
5 messages
5 total messages
Started by Terrance Richard Boyes
Sat, 20 Jan 2001 18:25
INN: active out of sync
Author: Terrance Richard Boyes
Date: Sat, 20 Jan 2001 18:25
Date: Sat, 20 Jan 2001 18:25
33 lines
2592 bytes
2592 bytes
I, carelessly, managed to power down the news server whilst it was still running, and have got a couple of problems. I'm using INN2.3.0, tradspool for everything. New articles can't be posted, eg Jan 20 17:47:38 alpha1 innd: tradspool: could not open /usr/local/news/spool/articles/news/software/nntp/994 File exists Jan 20 17:47:38 alpha1 innd: SERVER cant store article: File exists And some articles can't be retrieved group news.software.nntp 211 543 432 992 news.software.nntp head 994 423 Bad article number Though when I check the directory that file, and a number of others with later timestamps do exist. They also have overview entries and can be retrieved by message-id (or by grephistory/sm). The problem appears to be in the active file news.software.nntp 0000000992 0000000432 y I've tried ctlinnd renumber, and reload, but can't get the newer article numbers into the active file. -- <URL:http://www.pierrot.co.uk/faq/dtm.faq> Team AMIGA There is no place like this place, anywhere near this place, so this must be the place.
Re: INN: active out of sync
Author: Paul Tomblin
Date: Sat, 20 Jan 2001 18:37
Date: Sat, 20 Jan 2001 18:37
41 lines
2185 bytes
2185 bytes
In a previous article, tez@pierrot.co.uk (Terrance Richard Boyes) said:
>The problem appears to be in the active file
>
>news.software.nntp 0000000992 0000000432 y
>
>I've tried ctlinnd renumber, and reload, but can't get the newer
>article numbers into the active file.
Try rebuilding the history file.
This is the script I use. Obviously you'll have to change the paths.
#!/bin/sh
. /home/news/lib/innshellvars
ctlinnd throttle "Rebuilding history file"
cd /home/news/db/
echo "making history"
if makehistory -n -f history.n ; then
:
else
echo Error creating history file!
exit 1
fi
echo "checking for mistakes"
# The following line can be used to retain expired history
# It is not necessary for the history file to be sorted.
awk 'NF==2 { print; }' <history >>history.n
# View history file for mistakes.
if makehistory -r -s `wc -l <history` -f history.n; then
mv history.n history
mv history.n.dir history.dir
mv history.n.pag history.pag
fi
echo "done"
ctlinnd go ''
--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
USER, n.:
The word computer professionals use when they mean "idiot".
Re: INN: active out of sync
Author: Terrance Richard Boyes
Date: Sun, 21 Jan 2001 18:02
Date: Sun, 21 Jan 2001 18:02
22 lines
2319 bytes
2319 bytes
Paul Tomblin <ptomblin@xcski.com> wrote: > In a previous article, tez@pierrot.co.uk (Terrance Richard Boyes) said: >>The problem appears to be in the active file >> >>news.software.nntp 0000000992 0000000432 y >> >>I've tried ctlinnd renumber, and reload, but can't get the newer >>article numbers into the active file. > Try rebuilding the history file. Just finished, makehistory, makedbz, and then tried a renumber, still no change. I've also tried manually updating the himark, it gets changed back by the renumber. Any other ideas, before I try rebuilding the overview as well. -- <URL:http://www.pierrot.co.uk/> Team AMIGA When in doubt, take all the defaults.
Re: INN: active out of sync
Author: Katsuhiro Kondou
Date: Sun, 21 Jan 2001 23:26
Date: Sun, 21 Jan 2001 23:26
10 lines
1528 bytes
1528 bytes
In article <20010121.180252.9E9801DE.XCaa@pierrot.co.uk>, tez@pierrot.co.uk (Terrance Richard Boyes) wrote; } Any other ideas, before I try rebuilding the overview as well. Drop whole overview stuff from spool before recreating overview data. -- Katsuhiro Kondou
Re: INN: active out of sync
Author: Miquel van Smoorenburg
Date: Mon, 22 Jan 2001 09:47
Date: Mon, 22 Jan 2001 09:47
20 lines
1814 bytes
1814 bytes
In article <94fr7l$ldb$1@bgsv5905.tk.mesh.ad.jp>, Katsuhiro Kondou <kondou@isc.org> wrote: >In article <20010121.180252.9E9801DE.XCaa@pierrot.co.uk>, > tez@pierrot.co.uk (Terrance Richard Boyes) wrote; > >} Any other ideas, before I try rebuilding the overview as well. > >Drop whole overview stuff from spool before recreating >overview data. And stop INN (don't pause or throttle it - stop it) when you're rebuilding the overview. Last week I throttled INN, removed the overview, rebuilt it, and did a ctlinnd go - INN hadn't closed the overview files it had open, so it updated the deleted ones instead of the new ones. Had to rebuild overview once more ... Mike.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads