Article View: news.software.nntp
Article #83772Re: docheckgroups et al
From: Julien ÉLIE
Date: Mon, 03 Jan 2011 20:32
Date: Mon, 03 Jan 2011 20:32
70 lines
3535 bytes
3535 bytes
Hi John,
> However if I would have discovered earlier that any verbosity above
> -v0 would cause the unneeded text, we wouldn't be having this
> discussion.
>
> IOW, this causes the output to contain more than mod-active would
> swallow:
>
> actsync -o c -z 0 -m -v 4 -p 0 /var/lib/news/active ./active-new
I still do not understand.
The lines added by -v 4 do not contain the word “ctlinnd” and are
therefore ignored.
while (<>) {
if (/^\s*\S*ctlinnd newgroup (\S+) (\S+)/) {
$toadd{$1} = $2;
$changes++;
} elsif (/^\s*\S*ctlinnd rmgroup (\S+)/) {
$eval .= " next if \$group eq '$1';\n";
$changes++;
} elsif (/^\s*\S*ctlinnd changegroup (\S+) (\S+)/) {
$eval .= " s/ \\S+\$/ $2/ if \$group eq '$1';\n";
$changes++;
}
}
I see lines like:
actsync: STATUS: using default server: localhost
actsync: STATUS: obtaining active file from localhost
actsync: STATUS: read 608 groups, will merge 606 groups from localhost
actsync: STATUS: found 2 line errors from localhost
actsync: STATUS: obtaining active file from news.lacave.net
actsync: STATUS: read 1645 groups, will merge 1645 groups from news.
Nothing with “ctlinnd”.
Besides, just tested:
% actsync news.lacave.net -p 1 -o c -v 4 | grep comp.ai.shells | mod-active
reading list of groups to update
1 change(s) to do
ctlinnd pause batch active update, ok
rewriting active file
ctlinnd reload active 'updated from checkgroups'
--- /home/news/db/active.old 2011-01-03 21:29:53.000000000 +0100
+++ /home/news/db/active 2011-01-03 21:30:18.000000000 +0100
@@ -609,0 +610 @@
+comp.ai.shells 0000000000 0000000001 y
ctlinnd go batch active update, ok
updating /home/news/db/active.times
chmoding active files
Seems to work.
What do you have on your news server when you run mod-active?
--
Julien ÉLIE
« La libertad, Sancho, es uno de los más preciosos dones que a los
hombres dieron los cielos; con ella no pueden igualarse los tesoros
que encierran la tierra y el mar: por la libertad, asĂ como por la
honra, se puede y debe aventurar la vida. » (Miguel de Cervantes
Saavedra)
Technical Details
Message-ID:
<8oeq22Fa6fU1@mid.individual.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8739p9c0d4.fsf@windlord.stanford.edu> <ifta98$77o$1@n102.xanadu-bbs.net>Show Full Headers
Complete Article Headers
Message-ID: <8oeq22Fa6fU1@mid.individual.net> Subject: Re: docheckgroups et al Date: Mon, 03 Jan 2011 21:32:01 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8739p9c0d4.fsf@windlord.stanford.edu> <ifta98$77o$1@n102.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 70 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 1bEJyZFTaWw7Y1c8ewz0bAyj21tFUIMXHOx4X1Wm1hWxDfyZU= Cancel-Lock: sha1:JG5hw2KSn0Cw0yKGy0vwDRnAKzc= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; In-Reply-To: <ifta98$77o$1@n102.xanadu-bbs.net> X-Original-Bytes: 3325