🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #3344

Changes to INN FAQ Part 3/4: Operating Guide & Tutorial

#3344
From: Tom Limoncelli
Date: Sat, 11 Feb 1995 13:28
211 lines
9392 bytes
Posted-By: post_faq 2.10
Archive-name: usenet/software/inn-faq/diff3


*** FAQ-inn.3.lastpost	Tue Jan 31 04:14:27 1995
--- FAQ-inn.3	Sat Feb 11 08:28:26 1995
***************
*** 8,14 ****
  
  Posted-By: post_faq 2.10
  Archive-name: usenet/software/inn-faq/part3
! Last Changed: $Id: FAQ-inn.3,v 1.107 1995/01/24 09:14:01 tal Exp $
  
                    Part 3 of 4
   
--- 8,14 ----
  
  Posted-By: post_faq 2.10
  Archive-name: usenet/software/inn-faq/part3
! Last Changed: $Id: FAQ-inn.3,v 1.109 1995/02/07 09:14:01 tal Exp $
  
                    Part 3 of 4
   
***************
*** 199,205 ****
  know what "lint" is, just ignore anything it outputs.  If it bombs,
  run "make all" instead.)
  
! STEP 4: When you feel you are ready to install the new files shut the old daemon:
  
  	% ctlinnd shutdown 'upgrade in progress'
  	[ kill innwatch by hand if you need to ]
--- 199,206 ----
  know what "lint" is, just ignore anything it outputs.  If it bombs,
  run "make all" instead.)
  
! STEP 4: When you feel you are ready to install the new files shut down
! 	the old daemon:
  
  	% ctlinnd shutdown 'upgrade in progress'
  	[ kill innwatch by hand if you need to ]
***************
*** 262,268 ****
  
  Subject: How do I moderate a mailing list?
  
! As your news administrator.  If you are the news administrator, read RFC 1036.  (also, refer to "How do I configure the /usr/lib/news/moderators file?")
  
  
  ------------------------------
--- 263,271 ----
  
  Subject: How do I moderate a mailing list?
  
! Ask your news administrator.  If you are the news administrator, read
! RFC 1036.  (also, refer to "How do I configure the
! /usr/lib/news/moderators file?")
  
  
  ------------------------------
***************
*** 890,896 ****
  
  Subject:  Can I use gzip with INN?
  
! (this was written with the help of Michael Brouwer <michael@tar.wft.stack.urc.tue.nl>)
  
  There are three things that can be effected by using gzip:  Compression
  of old logs, compressing batches to send out, and decompressing batches
--- 893,900 ----
  
  Subject:  Can I use gzip with INN?
  
! [this was written with the help of Michael Brouwer
! <michael@tar.wft.stack.urc.tue.nl>]
  
  There are three things that can be effected by using gzip:  Compression
  of old logs, compressing batches to send out, and decompressing batches
***************
*** 990,1007 ****
  are included.  After that, you're done!
  
  If you ever need to run "makehistory" you should pay attention to this
! caveat in makehistory(8):
   
  	Makehistory does not handle symbolic links.  If the news
  	spool area is split across multiple partitions, the follow-
  	ing commands should probably be run before the database is
  	regenerated:
! 		cd /usr/spool/news
! 		find . -type l -print | xargs -t rm
  
  However, if /var/spool/news/comp was a symlink to the partition
  that comp is really on, you'll have to reinstall that link.  You
! have avoid this by changing the above commands to:
  		cd /usr/spool/news
  		find . -type l -print | grep '[0-9][0-9]*' | xargs -t rm
  
--- 994,1014 ----
  are included.  After that, you're done!
  
  If you ever need to run "makehistory" you should pay attention to this
! caveat in makehistory(8) (NB: This man page is called "news-recovery"
! in releases before INN 1.5):
   
  	Makehistory does not handle symbolic links.  If the news
  	spool area is split across multiple partitions, the follow-
  	ing commands should probably be run before the database is
  	regenerated:
! 		cd /var/spool/news
! 		find . -type l -name '[1-9]*' -print | xargs -t rm
  
+ NOTE: This will remove all symbolic links in your newsspool.
+ 
  However, if /var/spool/news/comp was a symlink to the partition
  that comp is really on, you'll have to reinstall that link.  You
! can avoid this by changing the above commands to:
  		cd /usr/spool/news
  		find . -type l -print | grep '[0-9][0-9]*' | xargs -t rm
  
***************
*** 1020,1026 ****
  If you are moving >50% of the spool, you might use dump instead of tar:
  	dump 0f - /var/spool/news | ( cd /mnt && restore xf - rec)
  
! Remember:  If you screw up the /etc/fstab, SunOS won't boot.
  
  
  ------------------------------
--- 1027,1034 ----
  If you are moving >50% of the spool, you might use dump instead of tar:
  	dump 0f - /var/spool/news | ( cd /mnt && restore xf - rec)
  
! Remember:  If you screw up the /etc/fstab, SunOS won't boot.  Double
! check it after you modify it.
  
  
  ------------------------------
***************
*** 1091,1108 ****
  
  Subject:  INN on one machine, UUCP modem on a different one
  
! Say you have a machine named "newsy" and "modemhead".  Newsy runs INN
! but only modemhead has any modems.
  
! Receiving batches on modemhead:  Copy /bin/rnews and
! /usr/lib/news/inn.conf to modemhead.  It will work like magic.  When
! /bin/rnews runs, it will see that it isn't running on newsy and open an
! NNTP connection to newsy and feed the batch (one article at a time) to
! newsy... newsy thinks it's just getting a regular NNTP feed.  (which
! means modemhead has to be listed in hosts.nntp).
  
  Sending batches via modemhead:  The "sendbatch" program calls $(UUX).
! Change ${UUX} to be defined like "rsh modemhead uux" instead of "uux".
  You'll have to do a little hacking on sendbatch.  For example, the part
  that checks to see if the queue is full might have to be re-written.
  Anyway... now the batches will be generated and send via modemhead's
--- 1099,1126 ----
  
  Subject:  INN on one machine, UUCP modem on a different one
  
! Say you have a machine named "newsy" and "modemhead".  "newsy" runs INN
! but only "modemhead" has any modems.
  
! A quick overview:  config.data has a variable called "RNEWSLOCALCONNECT".
! If it is set to "DO", "rnews" will expect to be running on the same
! machine as "innd".  On the other hand, if "RNEWSLOCALCONNECT" is set to
! "DONT" then "rnews" will connect to the machine listed in "inn.conf".
! Sending batches is a little more complicated.
  
+ Receiving batches on modemhead:  Make sure config.data has
+ "RNEWSLOCALCONNECT" set to "DONT", recompile, and copy /bin/rnews and
+ /usr/lib/news/inn.conf to modemhead.  The unbatching will be done on
+ modemhead, but the articles will be sent to newsy.  It will work like
+ magic.  When /bin/rnews runs, it will open an NNTP connection to newsy
+ and feed the batch (one article at a time) to newsy... newsy thinks
+ it's just getting a regular NNTP feed.  (which means modemhead has to
+ be listed in hosts.nntp).  If newsy and modemhead are different platforms
+ (i.e. Ultrix vs. SunOS) you can use the MakeRnews script (mentioned
+ in Install.ms) to generate just rnews for the modemhead machine.
+ 
  Sending batches via modemhead:  The "sendbatch" program calls $(UUX).
! Change ${UUX} to be something like "rsh modemhead uux" instead of "uux".
  You'll have to do a little hacking on sendbatch.  For example, the part
  that checks to see if the queue is full might have to be re-written.
  Anyway... now the batches will be generated and send via modemhead's
***************
*** 1118,1124 ****
  	returned bogus info as $SITE is not known to UUCP on newshost.
  	Thus I created a stupid 'uuq' that does 'echo 0 0 0 0 0 0 0'
  	to satisfy the awk script.  However, we have no way to monitor
! 	queue length (tho its of little importance to us as we only have
  	3 feeds and they are partial)
  Finally, the /etc/passwd entry for 'news' on 'uucphost' MUST list /bin/sh;
  	/bin/csh results in 'rnews: event not found' and escaping the '!'
--- 1136,1142 ----
  	returned bogus info as $SITE is not known to UUCP on newshost.
  	Thus I created a stupid 'uuq' that does 'echo 0 0 0 0 0 0 0'
  	to satisfy the awk script.  However, we have no way to monitor
! 	queue length (though its of little importance to us as we only have
  	3 feeds and they are partial)
  Finally, the /etc/passwd entry for 'news' on 'uucphost' MUST list /bin/sh;
  	/bin/csh results in 'rnews: event not found' and escaping the '!'

-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                           GRAVE ROBBING IS A CRIME.
                            BE SMART, DON'T START!
Technical Details
Message-ID: <dnn3_792509320@plts.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.answers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.sprintlink.net!uunet!newsgw.mentorg.com!sdl!plts!not-for-mail
References: <dnn2_792509320@plts.org>

Show Full Headers
Complete Article Headers
Message-ID: <dnn3_792509320@plts.org>
Subject: Changes to INN FAQ Part 3/4: Operating Guide & Tutorial
Date: Sat, 11 Feb 1995 13:28:46 +0000
From: tal@plts.org (Tom Limoncelli)
References: <dnn2_792509320@plts.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.answers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.sprintlink.net!uunet!newsgw.mentorg.com!sdl!plts!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.answers
Supersedes: <dnn3_791543657@plts.org>
Followup-To: news.software.nntp
Organization: P.L.T.S., Bridgewater Twp, New Jersey, USA
Lines: 210
Approved: news-answers-request@MIT.EDU
Reply-To: tal@plts.org (Tom Limoncelli)
NNTP-Posting-Host: plts.org
Summary: This article is part 3 of a multi-part FAQ