🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Tom Limoncelli Mon, 05 Jul 1993 04:00
Changes to FAQ: INN General Information (and compiling) (Part 1 of 3)
#2026
Author: Tom Limoncelli
Date: Mon, 05 Jul 1993 04:00
89 lines
5131 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff1

*** FAQ-inn.1-lastposted	Sat Jun  5 00:00:02 1993
--- FAQ-inn.1	Mon Jul  5 00:00:16 1993
***************
*** 1,4 ****
! Last Changed: $Id: FAQ-inn.1,v 1.24 1993/06/01 14:08:54 tal Exp $
  
                            Table Of Contents:
                            ------------------
--- 1,4 ----
! Last Changed: $Id: FAQ-inn.1,v 1.27 1993/06/28 20:19:32 tal Exp $
  
                            Table Of Contents:
                            ------------------
***************
*** 158,164 ****
  Subject:  Does INN implement trn's XTHREADS, tin's commands, etc?
  
  The XTHREAD command has code but it is not supported; look at
! $inn/nnrpd/nnrpd.h.  This code will probably vanish after 1.3.  Tin
  commands are not supported.  Instead, INN supports Geoff Collyer's news
  overview database, nov (world.std.com, src/news/nov.dist.tar.Z).  It does
  not include the client package; it just updates and maintains the overview
--- 158,164 ----
  Subject:  Does INN implement trn's XTHREADS, tin's commands, etc?
  
  The XTHREAD command has code but it is not supported; look at
! $inn/nnrpd/nnrpd.h.  This code will probably vanish after 1.4.  Tin
  commands are not supported.  Instead, INN supports Geoff Collyer's news
  overview database, nov (world.std.com, src/news/nov.dist.tar.Z).  It does
  not include the client package; it just updates and maintains the overview
***************
*** 236,251 ****
  The INN server puts its name in the Path line of every article that it
  receives.  Obviously, it has to do this.  The default configuration has
  inews put the local host in the Path header.  If nobody posts on the
! server and you use fully-qualified domain names on your workstations, then
! everything works the right way.  (If `hostname` doesn't give an FQDN on
! your machine, you can work-around this by setting the "domain" value in
! inn.conf).  Many people don't want the client machines to put their name
! in the Path header.  To do this, set INEWS_PATH to DONT.  Finally, let me
! say that it is probably a mistake to have a "pathhost" line on any machine
! other than your server if you set INEWS_PATH to DO.  If you doubt this,
! please trace the article flow for yourself.  If you are curious about the
! effect of INEWS_PATH, read the nroff source -- not the formatted output --
! of doc/inews.1
  
  
  ------------------------------
--- 236,253 ----
  The INN server puts its name in the Path line of every article that it
  receives.  Obviously, it has to do this.  The default configuration has
  inews put the local host in the Path header.  If nobody posts on the
! server and you use fully-qualified domain names on your workstations,
! then everything works the right way.  (If `hostname` doesn't give an
! FQDN on your machine, you can work-around this by setting the "domain"
! value in inn.conf; remember that innd never re-reads inn.conf.  You
! must "ctlinnd shutdown x" and then re-start the server).  Many people
! don't want the client machines to put their name in the Path header.
! To do this, set INEWS_PATH to DONT.  Finally, let me say that it is
! probably a mistake to have a "pathhost" line on any machine other than
! your server if you set INEWS_PATH to DO.  If you doubt this, please
! trace the article flow for yourself.  If you are curious about the
! effect of INEWS_PATH, read the nroff source -- not the formatted
! output -- of doc/inews.1
  
  
  ------------------------------
***************
*** 371,376 ****
--- 373,383 ----
  
  Don't be fooled.  Just because it compiles doesn't mean it's going to
  work.
+ 
+ Under Solaris 2.x (SunOS 5.x) you must add the following at the
+ beginning of each file using gethostbyname():
+ 
+ #define gethostbyname __switch_gethostbyname
  
  
  ======================================================================
-- 
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.
Changes to FAQ: The INN Tutorial (plus Debugging FAQ) (Part 2 of 3)
#2027
Author: Tom Limoncelli
Date: Mon, 05 Jul 1993 04:00
189 lines
9405 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff2

*** FAQ-inn.2-lastposted	Sat Jun  5 00:00:03 1993
--- FAQ-inn.2	Mon Jul  5 00:00:17 1993
***************
*** 1,4 ****
! Last Changed: $Id: FAQ-inn.2,v 1.27 1993/04/30 19:17:23 tal Exp $
  
                        The INN CONFIGURATION FAQ
                        -------------------------
--- 1,4 ----
! Last Changed: $Id: FAQ-inn.2,v 1.30 1993/06/25 15:54:41 tal Exp tal $
  
                        The INN CONFIGURATION FAQ
                        -------------------------
***************
*** 44,49 ****
--- 44,50 ----
  	syslog message: ME internal no control and/or junk group
  	syslog message: ME bad_newsfeeds no feeding sites
  	Why do all these "readclose" messages show up in my syslog?
+ 	"File exists writing symlinking article file -- throttling"
  MISC QUESTIONS
  	Can I edit my configuration files where they are, or do I have
  		to edit them in $INN/site ?
***************
*** 395,416 ****
  file have to be specified based on what "nntphost" calls "client".
  Technically, nntpd uses gethostbyaddr() to reverse-lookup the name.
  gethostbyaddr() uses DNS or, if you are on a brain-dead Sun running
! Sun's brain-dead NIS/DNS hack, it uses NIS, or DNS, or whatever the
! hell Sun was thinking when they created that cruft.
  
  To find out what "nntphost" thinks your machine is called, do the
! following:  log into "client".  From "client" telnet to "nntphost" and
! log in.  On "nntphost" give the "finger" command with no arguments.
! The last column is what "nntphost" thinks your machine is called.  If
! you don't have an account on both machines things are more difficult,
! consult your NIS or DNS expert to tell you what the answer should be.
  
! So, with this knowledge and a copy of the man page, edit nnrp.access
! and add "nntphost"'s name for "client" to the file.  Only nnrp.access
! can have wildcards (for example, "*.sjc.mentorg.com").  You'll want to
! include wildcards for all the domains that should be allowed to
! read/post.
  
  Here are some decent examples from my nnrp.access file:
  
  -------------------------------------- Tom's nnrp.access file START
--- 396,424 ----
  file have to be specified based on what "nntphost" calls "client".
  Technically, nntpd uses gethostbyaddr() to reverse-lookup the name.
  gethostbyaddr() uses DNS or, if you are on a brain-dead Sun running
! Sun's NIS/DNS hack, it uses NIS, or DNS, or whatever the hell Sun was
! thinking when they created that cruft.
  
  To find out what "nntphost" thinks your machine is called, do the
! following:  Telnet from "client" to "nntphost" and execute the "finger"
! command (just "finger" alone on the command line).  The last column is
! what "nntphost" thinks your machine is called.
  
! If you don't have an account on both machines things are more
! difficult, consult your NIS or DNS expert to tell you what the answer
! would be.
  
+ There is one exception to this technique.  If you are using SunOS and
+ braindead NIS you get just the machine name (like "milk") instead of
+ the FQDN (like "milk.warren.mentorg.com") then you must tack on a
+ period then the domain of the machine.
+ 
+ So, with this knowledge (what your nntphost think's client's name is)
+ and a copy of the man page, edit nnrp.access and add "nntphost"'s name
+ for "client" to the file.  Only nnrp.access can have wildcards (for
+ example, "*.sjc.mentorg.com").  You'll want to include wildcards for
+ all the domains that should be allowed to read/post.
+ 
  Here are some decent examples from my nnrp.access file:
  
  -------------------------------------- Tom's nnrp.access file START
***************
*** 419,426 ****
  *.mentorg.com:Read:::*
  *.mentor.com:Read:::*
  *.warren.mentorg.com:Read Post:::*
- # local (NIS) machines should match this:
- *[^.]*:Read Post:::*
  -------------------------------------- Tom's nnrp.access file END
  
  The second field of "nnrp.access" is case sensitive.  "read post" does
--- 427,432 ----
***************
*** 427,439 ****
  not mean the same as "Read Post".  If you know this already it's
  because you read the man page.
  
! It is difficult to write a wildcard for "all machine in your NIS/YP
! domain" since they aren't FQDN's.  A wildmat expression for "all
! clients without FQDN's" is "*[^.]*".  In other words, "all hosts
! without periods in their name."  (See above example.)  If you are using
! DNS without NIS, a hacked libresolv, resolv+ or other tricks then you
! might not need this line.  Or, those tricks might be the reason why you
! need this line.  Isn't networking fun?
  
  After you change "nnrp.access" you don't have do "ctlinnd reload" since
  the file is read by each nnrpd as they start up.
--- 433,444 ----
  not mean the same as "Read Post".  If you know this already it's
  because you read the man page.
  
! Note:  nnrpd will append the domain to a name that is not a FQDN.
! There is no need to try to find a wildcard that will match non-FQDN
! names (i.e. machines in your local NIS cluster).  Previously this FAQ
! had reported that "*[^.]*" would match these names but that was wrong
! (the wildcard matches everything, oi!).  nnrpd turns non-FQDN's into
! FQDNs.
  
  After you change "nnrp.access" you don't have do "ctlinnd reload" since
  the file is read by each nnrpd as they start up.
***************
*** 543,548 ****
--- 548,565 ----
  get this error.  Look at your PATH_TEMPACTIVE and see if it makes
  sense; i.e., if it is a valid /tmp directory.
  
+ "inews -h" sometimes reports:
+ 	Can't send article to the server:
+ 	441 480 Transfer permission denied
+ This means that you set HAVE_UNIX_DOMAIN to DONT and you don't have
+ your news server in its own hosts.nntp file.  (nnrpd gets a POST,
+ 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
  "inn.conf" file (copy it to the client or make it available via NFS) or
  you are using Sun's brain-dead NIS/DNS stuff which doesn't do reverse
***************
*** 582,587 ****
--- 599,608 ----
  "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).
+ 
  If "inews -h" posts a message, smile because most of the battle is over.
  
  
***************
*** 895,900 ****
--- 916,943 ----
  Solution:  ask your feed to fix its nntplink-setup.  Let me repeat
  that:  If you are using "nntplink" your -e value must be higher than
  your -C value.
+ 
+ 
+ ------------------------------
+ 
+ Subject:  "File exists writing symlinking article file -- throttling"
+ 
+ QUESTION: I'm running INN 1.4, and the server throttles itself, saying
+ "File exists writing symlinking article file -- throttling".  Why?  I
+ have no clue, other than to note that the message is being emitted
+ while innd/art.c tries to link a crossposted group.
+ 
+ ANSWER:  Innd wrote the article to comp/foo/123 and then tried to
+ symlink it to alt/bar/128 and found that the symlink failed with errno
+ == EEXIST.  This generally only happens when your active file does not
+ match your file/directory use.  The two most common cases of that are:
+ 
+ 		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.
  
  
  ======================================================================
-- 
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.
Changes to FAQ: FAQ: Norman's INN quick-start guide (Part 3 of 3)
#2028
Author: Tom Limoncelli
Date: Mon, 05 Jul 1993 04:00
40 lines
2513 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff3

*** FAQ-inn.3-lastposted	Sat Jun  5 00:00:03 1993
--- FAQ-inn.3	Mon Jul  5 00:00:17 1993
***************
*** 1,5 ****
  
! Last Changed: $Id: FAQ-inn.3,v 1.6 1993/04/13 19:21:00 tal Exp tal $
  
  This is a separate guide to installing INN.  It is written for INN 1.4,
  but should work on INN 1.4.  It is written and maintained by Norman J.
--- 1,5 ----
  
! Last Changed: $Id: FAQ-inn.3,v 1.7 1993/06/07 19:07:09 tal Exp $
  
  This is a separate guide to installing INN.  It is written for INN 1.4,
  but should work on INN 1.4.  It is written and maintained by Norman J.
***************
*** 34,40 ****
  
     Compile and install these programs starting with make and gcc.
  
! 4. Get perl-4.0.36.tar.Z from ftp.uu.net - directory: /archive/systems/gnu.
     Compile and install in /usr/bin.
  
  5. As root, create directories:	/usr/local/inn (this is your $INN directory)
--- 34,40 ----
  
     Compile and install these programs starting with make and gcc.
  
! 4. Get perl-4.0.36.tar.gz from ftp.uu.net - directory: /archive/systems/gnu.
     Compile and install in /usr/bin.
  
  5. As root, create directories:	/usr/local/inn (this is your $INN directory)
-- 
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads