Article View: news.software.nntp
Article #82962Re: Posting to an xrefslave server
From: John F. Morse
Date: Thu, 08 Apr 2010 10:29
Date: Thu, 08 Apr 2010 10:29
128 lines
5832 bytes
5832 bytes
Julien ΓLIE wrote:
> Hi John,
>
>> You been on vacation?
>
> Yes, and I am still on vacation in Perpignan (South of France, near
> Spain).
That is interesting: http://en.wikipedia.org/wiki/Perpignan
I have read a lot about great cave exploring in the Pyrenees Mountains.
http://upload.wikimedia.org/wikipedia/commons/4/49/Pyrenees_topographic_map-fr.svg
But I hope you are relaxing and building energy for returning to the
grindstone. ;-)
>> I physically moved the computer ... which means it was shut down then
>> rebooted in the new location.
>> Then four posts were properly received and posted.
>
> So it seems to work well.
So far, basically yes. I did do a lot to get it going (research,
compiling, configuring, etc.). It seems to be running fine except I only
need to be able to accept posting with xrefslave:true, plus I need to
add Cleanfeed. (Update below.)
If I can get posting to work, then I can start moving the users over to
port 563, and then a few days later do a "flash cut" by rerouting port
119 in the router to the new computer's IP.
Later, I may want to throttle both of the reader servers and flip-flop
the xrefslave and nnrpdposthost so the old server becomes the slave.
Just to cover any unforeseen major problems requiring a backtrack to the
old server. Hence the need for Xref synchronization. ;-)
>> wireformat: false
>
> You can set it to true if you want.
OK, changed it. Most of my spool is CNFS, with the tradspool having only
old historical local groups.
>> start () {
>> if [ ! -d /var/run/news ]; then
>> mkdir -p /var/run/news
>> chown news:news /var/run/news
>> chmod 775 /var/run/news
>> fi
>> su news -c /usr/lib/news/bin/rc.news > /var/log/news/rc.news 2>&1
>> su news -c '/usr/lib/news/bin/nnrpd -D -p 563 -S'
>> }
>
> And for stop(), you have to run "rc.news stop" and one of the two
> commands:
>
> start-stop-daemon --stop --name nnrpd --quiet --oknodo
> su news -c 'killall nnrpd'
Oh, I have:
stop () {
su news -c '/usr/lib/news/bin/rc.news stop' >> /var/log/news/rc.news
2>&1
# start-stop-daemon --stop --name nnrpd-ssl --quiet --oknodo
}
So I will uncomment that and see if the extra processes cease....
:-)
Yes, I think it is working good now. I successfully posted to port 563
with SSL from both Thunderbird and Claws Mail (from Ubuntu 8.04 on
n100), and via rdesktop using Icedove on an Etch box in the basement. I
also successfully posted to port 119 without SSL/TLS using Pan.
I guess the glut of extra nnrpd sessions was the problem?
All the INN processes that are running now are:
news 1315 0.0 1.3 110852 13532 ? Ss 04:07 0:00
/usr/lib/news/bin/innd -C
news 1316 0.0 0.0 4156 760 ? S 04:07 0:00
/bin/bash /usr/lib/news/bin/rc.news
news 1317 0.0 0.0 4156 760 ? S 04:07 0:00
/bin/bash /usr/lib/news/bin/rc.news
news 1325 0.0 0.0 7500 772 ? Ss 04:07 0:00 -
nnrpd: accepting connections S
news 1330 0.0 0.7 10192 7508 ? SN 04:07 0:00
/usr/bin/perl -w /usr/lib/news/bin/controlchan
news 1331 0.0 0.3 6260 3540 ? SN 04:07 0:00
/usr/bin/perl -w /usr/lib/news/bin/perl-nocem
news 1332 0.0 0.1 4836 1436 ? SN 04:07 0:00
/usr/lib/news/bin/innfeed -y
news 1333 0.0 0.0 1932 688 ? SN 04:07 0:00
/usr/lib/news/bin/ninpaths -p -d /var/log/news/path/inpaths.%d
news 1428 0.0 0.6 9312 6584 ? S 04:08 0:00
/usr/bin/perl -w /usr/lib/news/bin/cnfsstat -s -l 3600 -P
news 1429 0.0 0.1 4160 1500 ? S 04:08 0:00
/bin/bash /usr/lib/news/bin/innwatch
news 1657 0.0 0.4 12380 4144 ? SN 04:11 0:00 -
nnrpd: n100.my.net POST S
news 1662 0.0 0.2 10708 3028 ? SN 04:12 0:00 -
nnrpd: n100.my.net ARTIC S
news 1664 0.0 0.2 10676 2104 ? SN 04:12 0:00 -
nnrpd: connected S
I notice there is additional space between the References: header items
now. Better RFC compliance I presume.
Thanks Julien. Enjoy your vacation!
--
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:
<hpkb6p$k22$1@optima5.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.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mailReferences:
<hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net> <87bpdxp730.fsf@windlord.stanford.edu> <hphptq$srq$1@optima5.xanadu-bbs.net> <hpi339$bl6$1@news.trigofacile.com> <hpj7u2$ai5$1@optima5.xanadu-bbs.net> <hpk3q7$l44$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <hpkb6p$k22$1@optima5.xanadu-bbs.net> Subject: Re: Posting to an xrefslave server Date: Thu, 08 Apr 2010 05:29:45 -0500 From: "John F. Morse" <john@example.invalid> References: <hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net> <87bpdxp730.fsf@windlord.stanford.edu> <hphptq$srq$1@optima5.xanadu-bbs.net> <hpi339$bl6$1@news.trigofacile.com> <hpj7u2$ai5$1@optima5.xanadu-bbs.net> <hpk3q7$l44$1@news.trigofacile.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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 128 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: optima5.xanadu-bbs.net 1270722585 20546 192.168.89.210 (8 Apr 2010 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Thu, 8 Apr 2010 10:29:45 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <hpk3q7$l44$1@news.trigofacile.com> X-Enigmail-Version: 0.96.0