🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73839

Re: Adding new groups using mod-active

#73839
From: r.rimmer
Date: Tue, 11 Jul 2006 13:13
86 lines
4850 bytes
r.rimmer@gmx.net wrote:
> John F. Morse wrote:
> > Russ Allbery wrote:
> >
> > >John F Morse <xanadu.bbs@invalid.net> writes:
> > >
> > >>I know of no other routine that can use these lists to create the active
> > >>file, or to create a textfile which could be appended to the active
> > >>file.
> > >>
> > >
> > >This is exactly what actsync tries to do, and it can use the lists on
> > >ftp.isc.org.
> > >
> >
> >
> > I found and have tried to use mod-active(8) to update the active file.
> > It appears to be working, and news.notice shows the activity, but after
> > it finishes, the active file is not updated.
> >
> B> Sample news.notice:
> >
> > Jul 11 06:07:53 localhost innd: SERVER paused batch active update, ok
> > Jul 11 06:07:53 localhost innd: controlchan! closed
> > Jul 11 06:07:53 localhost innd: innfeed! closed
> > Jul 11 06:07:53 localhost innd: controlchan! spawned
> > controlchan!:12:proc:16778
> > Jul 11 06:07:53 localhost innd: innfeed! spawned innfeed!:16:proc:16779
> > Jul 11 06:07:53 localhost innd: SERVER reload active updated from
> > checkgroups
> >
> > I've tried this with the input file of 28 new groups listed
> > one-per-line. Then with a similar file with "ctlinnd newgroup " (space
> > at the end and without quotes) preceding each group name. Then with
> > "newgroup " alone preceding each group name.
> >
> > Nothing is changed in the active file, and the man page for mod-active
> > gives no example of the input file.
> >
> > Sample bash session follows:
> >
> > news@news7:~$ mod-active newgroupsfile
> > reading list of groups to update
> > ctlinnd pause batch active update, ok
> > rewriting active file
> > ctlinnd reload active 'updated from checkgroups'
> > ctlinnd go batch active update, ok
> > updating /var/lib/news/active.times
> > news@news7:~$
> >
> > Permissions for active:
> >
> > -rw-r--r--   1 news news    1674 2006-07-11 06:10 active
> >
> > There were no errors:
> >
> > news@news7:/var/log/news$ ls -al
> > total 81
> > drwxr-sr-x   4 news news   456 2006-07-11 00:00 .
> > drwxr-xr-x  11 root root  3000 2006-07-11 06:27 ..
> > -rw-r--r--   1 news news     0 2006-07-11 00:00 errlog
> > -rw-rw-r--   1 news news   744 2006-07-11 00:00 expire.lastlowmark
> > -rw-rw-r--   1 news news  5222 2006-07-11 00:00 expire.list
> > -rw-rw-r--   1 news news   721 2006-07-11 00:01 expire.log
> > -rw-rw-r--   1 news news     0 2006-06-18 20:10 innfeed.log
> > -rw-rw-r--   1 news news  2839 2006-07-11 06:15 innfeed.status
> > -rw-r--r--   1 news news 14892 2006-07-11 06:28 news
> > -rw-r--r--   1 news news     0 2006-07-11 00:00 news.crit
> > -rw-r--r--   1 news news     0 2006-07-11 00:00 news.err
> > -rw-r--r--   1 news news 31083 2006-07-11 06:21 news.notice
> > drwxrwxr-x   2 news news   904 2006-07-11 00:00 OLD
> > drwxrwxr-x   2 news news    48 2005-05-14 08:16 path
> > -rw-r--r--   1 root news   106 2006-06-26 17:20 rc.news
> > -rw-rw----   1 news news   242 2006-07-11 00:00 unwanted.log
> >
> >
> > Any ideas on how to use mod-active with a textfile, and how the file
> > should actually be formatted?
> >
> > --
> > John
> 
>thanks  John for your reply to my post

robert
Technical Details
Message-ID: <1152623603.816280.250400@35g2000cwc.googlegroups.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!35g2000cwc.googlegroups.com!not-for-mail
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net> <87wtamww8p.fsf@windlord.stanford.edu> <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net> <1152618444.541985.179660@p79g2000cwp.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <1152623603.816280.250400@35g2000cwc.googlegroups.com>
Subject: Re: Adding new groups using mod-active
Date: Tue, 11 Jul 2006 13:13:23 +0000
From: r.rimmer@gmx.net
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net> <87wtamww8p.fsf@windlord.stanford.edu> <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net> <1152618444.541985.179660@p79g2000cwp.googlegroups.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!35g2000cwc.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 86
NNTP-Posting-Host: 88.96.109.78
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1152623607 20576 127.0.0.1 (11 Jul 2006 13:13:27
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Jul 2006 13:13:27 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US;
 Firefox/1.5.0.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: 35g2000cwc.googlegroups.com; posting-host=88.96.109.78;
 posting-account=gyTLVg0AAABIfpFuS2H6z1rVhzADDTx0