🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73835

Adding new groups using mod-active

#73835
From: John F. Morse
Date: Tue, 11 Jul 2006 11:40
79 lines
4292 bytes
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.

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
Technical Details
Message-ID: <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!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>

Show Full Headers
Complete Article Headers
Message-ID: <n6Msg.117945$mF2.5310@bgtnsc04-news.ops.worldnet.att.net>
Subject: Adding new groups using mod-active
Date: Tue, 11 Jul 2006 11:40:03 GMT
From: "John F. Morse" <xanadu.bbs@invalid.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>
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!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20060423)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <87wtamww8p.fsf@windlord.stanford.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 79
NNTP-Posting-Host: d207caa3958718aac954e5f59e126972
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1152618003
NNTP-Posting-Date: Tue, 11 Jul 2006 11:40:03 GMT