Article View: news.software.nntp
Article #83790Re: docheckgroups et al
From: John F. Morse
Date: Tue, 04 Jan 2011 23:49
Date: Tue, 04 Jan 2011 23:49
134 lines
6529 bytes
6529 bytes
Hi Julien, >>>> 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 >>> >>> Seems to work. >>> What do you have on your news server when you run mod-active? >> >> "What" meaning what? ;-) > > What is the complete output of your actsync command? > > I still do not understand why mod-active would do nothing with it. > Does it contain βctlinndβ lines? > I don't have the original command output. New groups have been added to all servers since I had the problem. This actsync command, run against an ISC download of 45959 groups on 20101223, produces 13534 lines of output, so I won't post it all here. ;-) But I'll include a few lines from the beginning. Also consider that this has the -o c format and the -v4 options, which will result in something different. news@optima11:/var/lib/news$ time actsync -o c -z 0 -m -v 4 -p 0 /var/lib/news/active ./active-ISC_20101223-45959 > actsync.out actsync: STATUS: obtaining active file from /var/lib/news/active actsync: STATUS: read 32968 groups, will merge 32968 groups from /var/lib/news/active actsync: STATUS: found 0 line errors from /var/lib/news/active actsync: STATUS: obtaining active file from ./active-ISC_20101223-45959 actsync: STATUS: read 45959 groups, will merge 45959 groups from ./active-ISC_20101223-45959 actsync: STATUS: found 0 line errors from ./active-ISC_20101223-45959 actsync: STATUS: sorting groups actsync: STATUS: host2 has 0 =type groups actsync: STATUS: merging groups actsync: STATUS: host1 has 0 =type groups actsync: STATUS: sort-merge passed thru 45959 groups actsync: STATUS: sort-merge marked 0 groups for removal actsync: STATUS: marked 0 =type error groups from host1 actsync: STATUS: marked 0 =type error groups from host2 actsync: STATUS: marked 0 error groups for removal actsync: STATUS: same=32962 add=13528, change=6, remove=0 actsync: STATUS: ignore=0, work=13534, err=0 actsync: STATUS: same+work+err=46496, host1_same=70.89% ... ctlinnd newgroup alt.0a.fred-hall y actsync ctlinnd newgroup alt.0a.fred-hall-is-a-bowl-of-piss y actsync ctlinnd newgroup alt.0a.fred-hall.animals y actsync ctlinnd newgroup alt.0a.fred-hall.beer y actsync ctlinnd newgroup alt.0a.fred-hall.bites-the-dust y actsync ctlinnd newgroup alt.0a.fred-hall.cats y actsync ctlinnd newgroup alt.0a.fred-hall.dogs y actsync ctlinnd newgroup alt.0a.fred-hall.e-cards y actsync ctlinnd newgroup alt.0a.fred-hall.froth y actsync ctlinnd newgroup alt.0a.fred-hall.god y actsync ... ctlinnd newgroup alt.zx.dp y actsync ctlinnd newgroup alt.zzyzx y actsync ctlinnd newgroup alt.zzz.cypher y actsync ctlinnd newgroup alt.zzzz.fred-hall-is-a-piece-of-shit y actsync ctlinnd changegroup control y ctlinnd changegroup control.cancel y ctlinnd changegroup control.checkgroups y ctlinnd changegroup control.newgroup y ctlinnd changegroup control.rmgroup y ctlinnd newgroup de.alt.etc.koerperpflege y actsync ctlinnd newgroup de.alt.fan.prince y actsync ctlinnd newgroup de.alt.rec.ascii-art y actsync ctlinnd newgroup de.alt.rec.fantasy y actsync ctlinnd newgroup de.alt.soc.aufmerksamkeitsdefizit y actsync ctlinnd newgroup de.alt.tv.mash y actsync ctlinnd newgroup ffm.admin m actsync ctlinnd changegroup junk y ... actsync: STATUS: 46496 group(s) actsync: STATUS: 13528 group(s) to be added actsync: STATUS: 0 group(s) to be removed actsync: STATUS: 6 group(s) to be changed actsync: STATUS: 32962 group(s) are the same actsync: STATUS: 70.89% of lines unchanged actsync: STATUS: 0 group(s) ignored real 0m2.630s user 0m2.232s sys 0m0.328s news@optima11:/var/lib/news$ news@optima11:/var/lib/news$ wc -l actsync.out 13534 actsync.out news@optima11:/var/lib/news$ All of the newgroup commands seem to be valid, and are for only groups which I did not want to add to the servers earlier. This likely would work if the changegroup commands were not created, or if that change is not important since these groups are already hidden in readers.conf. They are all "y" in the ISC list, but on all of my servers they are all "n" for some reason: news@optima11:/var/lib/news$ cat active | grep n$ control 0000000214 0000000161 n control.cancel 0000347431 0000343432 n control.checkgroups 0000000178 0000000168 n control.newgroup 0000000092 0000000092 n control.rmgroup 0000000307 0000000307 n junk 0000000006 0000000007 n Were they "n" in the INN2 package from Debian, and in the source I compiled for one server? I don't remember changing them, but I probably simply copied an active file, modified with awk, from a working server to each new one I created. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID:
<ig0bmq$43g$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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news-out.octanews.net!indigo.octanews.net!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!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> <8oeq22Fa6fU1@mid.individual.net> <ifvghc$qvr$1@n102.xanadu-bbs.net> <8oh75fFb0bU2@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <ig0bmq$43g$1@n102.xanadu-bbs.net> Subject: Re: docheckgroups et al Date: Tue, 04 Jan 2011 17:49:46 -0600 From: "John F. Morse" <john@example.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> <8oeq22Fa6fU1@mid.individual.net> <ifvghc$qvr$1@n102.xanadu-bbs.net> <8oh75fFb0bU2@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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news-out.octanews.net!indigo.octanews.net!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 134 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: n102.xanadu-bbs.net 1294184986 4208 192.168.89.210 (4 Jan 2011 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Tue, 4 Jan 2011 23:49:46 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (X11/20101027) In-Reply-To: <8oh75fFb0bU2@mid.individual.net> X-Enigmail-Version: 0.96.0 X-Original-Bytes: 6241