Thread View: news.software.nntp
4 messages
4 total messages
Started by Mr Gumboot
Thu, 15 Jan 2004 01:19
Articles Disappearing After expireover (INN 2.4.1)
Author: Mr Gumboot
Date: Thu, 15 Jan 2004 01:19
Date: Thu, 15 Jan 2004 01:19
54 lines
2935 bytes
2935 bytes
Hi all, Earlier this week I migrated an INN 2.3.4 installation from one machine to an INN 2.4.1 installation on another. All articles were sent via innxmit and appeared in the list on the new server. The expiry settings in both inn.conf and expire.ctl on the new server are identical to those on the old. The migration process : **************** (on new server) configure, compile, install cd ~news/db touch history makedbz -i -f history create blank active file (ie containing all groups from old server, set to "0000000000 0000000001") bring up server with xrefslave true (on old server) perl -ne 'chomp; ($a,$b,$_) = split " "; print "$_\n" if $_' ~news/db/history | tr . / > ~/spool/outgoing/list (taken from INN FAQ) innxmit with -d - all articles being accepted (back on new server) restart server with xrefslave false *************** Immediately after this was done, our bespoke expire.ctl was overwritten by the default from the "samples" directory, so we lost everything over 10 days old the first time expiry was scheduled. This was rectified by throttling the server, untarring the old tree over the new one (we're using tradspool BTW), "makehistory -O -F -x", and ctlinnd go. However, whenever the overnight expiry has been run subsequently, all articles over 10 days old are again being removed from the overview (the article files are still present) - despite the fact there are no rules in expire.ctl to say so. An strace on expire and expireover show that they are definitely reading the same expire.ctl as I've edited. Can anyone provide any pointers as to where I've gone wrong here? And/or how I can stop these articles from being expired in future? Many thanks in advance to anyone who can just about save my sanity :-) G -- To reply, get the chuff out of there
Re: Articles Disappearing After expireover (INN 2.4.1)
Author: Mr Gumboot
Date: Thu, 15 Jan 2004 02:13
Date: Thu, 15 Jan 2004 02:13
12 lines
1506 bytes
1506 bytes
I should also add (as I've just spotted this) - the results of "expire -v1" are around 4500 articles processed, but there are something like 26000 articles on our system. I guess that means the history database is screwed? Hopefully not beyond repair? Cheers, G -- To reply, get the chuff out of there
Re: Articles Disappearing After expireover (INN 2.4.1)
Author: Russ Allbery
Date: Thu, 15 Jan 2004 02:21
Date: Thu, 15 Jan 2004 02:21
19 lines
1915 bytes
1915 bytes
Gumboot <gumboot@mrthechuffgumboot.co.uk> writes:
> I should also add (as I've just spotted this) - the results of "expire
> -v1" are around 4500 articles processed, but there are something like
> 26000 articles on our system.
The overview entries are being removed because they're not in history.
> I guess that means the history database is screwed? Hopefully not beyond
> repair?
Did you move the new history database over after you ran makehistory?
makehistory generates the new history database as history.n.*.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Articles Disappearing After expireover (INN 2.4.1)
Author: Mr Gumboot
Date: Thu, 15 Jan 2004 02:47
Date: Thu, 15 Jan 2004 02:47
13 lines
1657 bytes
1657 bytes
The great philosopher Russ Allbery once wrote : > Did you move the new history database over after you ran makehistory? > makehistory generates the new history database as history.n.*. I think I'm sorted now - as the "-x" flag to makehistory suppresses writing of history entries, the history file wasn't being touched at all :-( G -- To reply, get the chuff out of there
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