🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2049

Changes to INN FAQ Part 3/3: Tutorial on debugging and adding options

#2049
From: Tom Limoncelli
Date: Tue, 20 Jul 1993 04:00
192 lines
9300 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff3

*** FAQ-inn.3-lastposted	Mon Jul  5 00:00:46 1993
--- FAQ-inn.3	Tue Jul 20 00:00:02 1993
***************
*** 1,14 ****
! Last Changed: $Id: FAQ-inn.2,v 1.30 1993/06/25 15:54:41 tal Exp tal $
  
                        The INN CONFIGURATION FAQ
                        -------------------------
         by Tom Limoncelli, with additions by many, many others.
  
! (Copyright 1992 Tom Limoncelli, this may be redistributed in whole and
! only on electronic networks.  Otherwise, contact the author.
! Publishers and movie agents should contact me as soon as possible.  I'd
! prefer it if Tom Cruise plays me in the movie, but if he isn't
! available we can negotiate.)
  
  A special thanks goes to all the people that have helped put this
  together.  I've tried to give credit where credit is due.  Additions
--- 1,14 ----
! Last Changed: $Id: FAQ-inn.3,v 1.36 1993/07/14 22:29:33 tal Exp $
  
                        The INN CONFIGURATION FAQ
                        -------------------------
         by Tom Limoncelli, with additions by many, many others.
  
! (Copyright 1992,1993 Tom Limoncelli, this may be redistributed in whole
! and only on electronic networks.  Otherwise, contact the author.
! Publishers and movie agents should contact me directly.  I'd prefer it
! if Tom Cruise plays me in the movie, but if he isn't available we can
! negotiate.)
  
  A special thanks goes to all the people that have helped put this
  together.  I've tried to give credit where credit is due.  Additions
***************
*** 67,72 ****
--- 67,73 ----
  		what's waiting for them.
  	Directories are being created with wrong permissions.
  	Can I split my news spool across partitions?
+ 	Warnings to people that must set HAVE_UNIX_DOMAIN to DONT
  
  
  NOTE:  Read this document through from beginning to end after
***************
*** 556,563 ****
  connects to innd over a TCP socket and sends an IHAVE.) (thanks to Chris
  Jackson <cjj@sun.com> for pointing this out).  Add your news server's
  name to hosts.nntp and do "ctlinnd reload hosts.nntp".
     If it still doesn't work, look through your syslog to see the name
! of the host that INND got, and what it handed off to nnrpd.  Perhaps
  there is a DNS/NIS/hosts-file mismatch.  (suggested by Rich Salz)
  
  Other problems are usually the result of not being able to find the
--- 557,567 ----
  connects to innd over a TCP socket and sends an IHAVE.) (thanks to Chris
  Jackson <cjj@sun.com> for pointing this out).  Add your news server's
  name to hosts.nntp and do "ctlinnd reload hosts.nntp".
+ (for the reason why, read "Warnings to people that must set
+ HAVE_UNIX_DOMAIN to DONT")
+ 
     If it still doesn't work, look through your syslog to see the name
! of the host that innd got, and why it handed off to nnrpd.  Perhaps
  there is a DNS/NIS/hosts-file mismatch.  (suggested by Rich Salz)
  
  Other problems are usually the result of not being able to find the
***************
*** 599,605 ****
  "inn.conf" and recompile INN with "INEWS_PATH" set to
  "DONT".  (I don't know why Rich likes that as the default!)
  
! REMEMBER:  inn.conf is read into innd only once.  If After it is changed,
  the innd daemon must be shutdown and restarted.  (use "ctlinnd shutdown x"
  and then run rc.news as root).
  
--- 603,609 ----
  "inn.conf" and recompile INN with "INEWS_PATH" set to
  "DONT".  (I don't know why Rich likes that as the default!)
  
! REMEMBER:  inn.conf is read into innd only once.  After it is changed,
  the innd daemon must be shutdown and restarted.  (use "ctlinnd shutdown x"
  and then run rc.news as root).
  
***************
*** 935,943 ****
  		Trying to use MMAP on Ultrix
  		Some strange interaction with tind.
  
! Make sure nobody else is writing to the active file, then do
  		ctlinnd renumber ''
! To get things synchronized again.
  
  
  ======================================================================
--- 939,961 ----
  		Trying to use MMAP on Ultrix
  		Some strange interaction with tind.
  
! If you are using Ultrix, turn off MMAP.  You don't have a choice in
! this.  The Ultrix mmap() function does something completely different
! than the Sun/BSD mmap() function.
! 
! At least one person has reported problems with ICL DRS6000 SVR4 Unix
! when using MMAP.  Try turning off MMAP if you find problems.
! 
! It has been reported that tind writes to the active file and this
! confuses innd (innd assumes it is the only process writing to the
! active file).  If you are using tin, upgrade to the newest version of
! tin which can read the overview (NOV) database instead of the "tin"
! database.
! 
! To fix the active file (which may be corrupted), make sure nobody
! else is writing to the active file, then do
  		ctlinnd renumber ''
! to get things synchronized again.
  
  
  ======================================================================
***************
*** 1293,1319 ****
  
  ------------------------------
  
! Subject: Can I split my news spool across partitions?
  
! Rich $alz replies:
  
! Yes, it works fine.  Suppose you have rec on one partition and alt on
! another.  If an article is posted to rec.photo and
! alt.graphics.pixutils then INN will write the article to rec/photo/xxx
! and make alt/graphics/pixutils/yyy be a symlink to it.  In order for
! this to work, you must make sure that you have built INN with
! HAVE_SYMLINK set to DO.
  
! You must also take special care when you expire articles, and make sure
! that expire is given the -l flag (see doc/expire.8).  Suppose that
! rec.photo expires more quickly then the alt group.  If this happens,
! then you will be left with a dangling symlink.  The -l flag prevents
! this from happening.
  
! There is one other caveat:  makehistory does not handle symlinks very
! well.  If you need to rebuild your history database from scratch it is
! probably best to run a find that first removes all symlinks.  See
! doc/news-recovery.8.
  
  
  - * The End * -
--- 1311,1347 ----
  
  ------------------------------
  
! Subject: Warnings to people that must set HAVE_UNIX_DOMAIN to DONT
  
! Disclaimer:  First of all, if you have to set HAVE_UNIX_DOMAIN to DONT,
! YOU HAVE TO SET IT to DONT.  It's not a choice you can make, it's a
! description of the operating system that you purchased.  If you wrongly
! set this variable to DO your system isn't going to work *at* *all*.
  
! When you use the POST via NNTP, you are talking to nnrpd.  nnrpd cleans
! up your headers, adds the missing headers that it is allowed to add,
! checks whatever it checks, and then submits the finalized version to
! innd.  How does it talk to innd?
! If you have HAVE_UNIX_DOMAIN set to DO, nnrpd opens a Unix domain
! socket and sends the text.  At this point it is talking to innd
! somewhat like ctlinnd does.  innd can trust that the post isn't
! forged since it is coming from a program trustworthy enough to
! get to the socket (which isn't much).
! If you have HAVE_UNIX_DOMAIN set to DONT, it has no choice but to open
! a socket to port 119 and issue the "IHAVE" command, and send the text
! that way (just like a remote newsreader).  This means that innd (not
! another nnrpd) has to be at the other end of the pipe.  If it opens the
! connection and sees a "nnrpd" you're hosed and you get "441 480
! Transfer permission denied".  To get innd to not hand off the
! connection to a nnrpd process, you must have the host's name in the
! hosts.nntp file.  (don't forget to do "ctlinnd reload hosts.nntp")
  
! If you have your host's name in the hosts.nntp file, then any
! newsreader running on your nntphost must be "INN-aware" (i.e. that they
! issue the "mode reader" command) or they must read news via the file
! system instead of NNTP.
  
! There is no way around this right now.
  
  
  - * The End * -
-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Some people run 'biff' to alert them that  | Disclaimer:  I do not
they have new email.  I run '/bin/true'".   | speak for Mentor Graphics.
Technical Details
Message-ID: <inn-faq-changes-3-743140813@Warren.MENTORG.COM>
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!gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!uunet!psinntp!news.mentorg.com!sdl!not-for-mail
References: <inn-faq-changes-1-743140813@Warren.MENTORG.COM>

Show Full Headers
Complete Article Headers
Message-ID: <inn-faq-changes-3-743140813@Warren.MENTORG.COM>
Subject: Changes to INN FAQ Part 3/3: Tutorial on debugging and adding options
Date: Tue, 20 Jul 1993 04:00:16 +0000
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
References: <inn-faq-changes-1-743140813@Warren.MENTORG.COM>
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!gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!uunet!psinntp!news.mentorg.com!sdl!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.answers
Supersedes: <inn-faq-changes-3-741844824@Warren.MENTORG.COM>
Followup-To: news.software.nntp
Organization: Mentor Graphics - IC Group, Warren, NJ, USA
Lines: 191
Approved: news-answers-request@MIT.Edu
Distribution: world
Reply-To: Tom_Limoncelli@Warren.MENTORG.COM (Tom Limoncelli)
NNTP-Posting-Host: sdl.warren.mentorg.com