🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36007

Re: innd 2.2 questions...

#36007
From: Russ Allbery
Date: Thu, 18 Mar 1999 00:00
67 lines
3583 bytes
[ Posted and mailed. ]

Note crosspost.  news.software.nntp is the place to ask questions about
running INN servers.

Daniel Suen <ttdsuen@ln.edu.hk> writes:

> 1. How do I gracefully terminate the innd? I know that "rc.news" starts
>    up the server, but it does not take "stop" argument to kill the innd
>    process.

        ctlinnd pause meow
        ctlinnd throttle meow
        ctlinnd shutdown meow

with some pauses between each one.  (The last argument is whatever
"reason" you want to use; it gets dumped into syslog.)  The full sequence
may not be necessary, but I do it out of paranoia to let the server have a
chance to clear pending incoming messages.

> 2. When expiring articles in both traditional way of storing news
>    articles and cnfs, when considering threads of related articles, if
>    one of the article in a thread expires, will all other articles in
>    the same thread expire as well? I guess they won't, but then what
>    would happen for the one that has expired, both in traditional store
>    method and cnfs?

No, whole threads aren't expired.  Expiry is entirely based on individual
articles.  In tradspool, the article will be deleted by the fastrm process
run by expire; in a CNFS buffer, the space used by the article is
overwritten with new articles when the buffer wraps around to it again.

The nightly news.daily run doesn't expire articles with CNFS; only the
buffer wrapover does that (articles are "expired" when they're
overwritten).

> 3. I've been trying to synchronize two servers, one running 1.4unoff4,
>    the other is running 2.2, and I made the 2.2 version as the slave and
>    have the master(1.4unoff4 with -x option to innd) feeding the slave
>    two hierachies of articles. Now, I can't post to 2.2 server.

You may have to tell your 2.2 server to use a remote server to post
through if you're running in slave mode.  See the inn.conf man page (I'd
give more detail, but I've not set this up myself).

>    Is this normal?  Also, later, I shall upgrade the 1.4unoff4 to
>    2.2(freshly install a new server), and how do I synchronize the two
>    servers with roles swapped this time? There is no "-x" option for
>    innd-2.2 anymore. What I want is to minimize the impact on news
>    clients, who might need to reconfigure their software in order to
>    access the new news server.

I'm not sure how to do slaving with a 1.4unoff4 server; maybe someone else
here will know.

> 4. I don't seem to be getting any nnrp log files, and please advise if
>    there is any stats/reporting tools on nnrp accesses. So far, I know
>    innreport does incoming/outgoing traffic/articles reporting, but no
>    nnrp access information.

They're logged via syslog with priority notice and class news.  You may
need to reconfigure your syslog.conf to make sure that goes somewhere.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yld827uohh.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.admin.misc.mbox.zip!not-for-mail
References: <7cqf4f$rq4@uranus.ln.edu.hk>

Show Full Headers
Complete Article Headers
Message-ID: <yld827uohh.fsf@windlord.stanford.edu>
Subject: Re: innd 2.2 questions...
Date: Thu, 18 Mar 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7cqf4f$rq4@uranus.ln.edu.hk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail
X-Deja-AN: 456056231
To: ttdsuen@ln.edu.hk (Daniel Suen)
Organization: The Eyrie
Newsgroups: news.admin.misc,news.software.nntp