🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2673

Changes to INN FAQ Part 2/4: Debugging Guide & Tutorial

#2673
From: Tom Limoncelli
Date: Mon, 20 Jun 1994 04:00
119 lines
5975 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff2

*** FAQ-inn.2-lastposted	Sun Jun  5 00:00:29 1994
--- FAQ-inn.2	Mon Jun 20 00:00:02 1994
***************
*** 1,4 ****
! Last Changed: $Id: FAQ-inn.2,v 1.31 1994/06/03 18:47:12 tal Exp $
  
                    Part 2 of 4
  
--- 1,4 ----
! Last Changed: $Id: FAQ-inn.2,v 1.34 1994/06/13 19:28:51 tal Exp $
  
                    Part 2 of 4
  
***************
*** 92,97 ****
--- 92,126 ----
  
  ------------------------------
  
+ Subject:  syslog message: inndstart: inndstart cant bind Address already in use
+ 
+ >I try to start INN but got this error in my syslog file:
+ >       inndstart: inndstart cant bind Address already in use
+ >Can anyone give me a hint on how to fix it ?
+ 
+ Something else is already using port 119.  Comment out the line in
+ /etc/inetd.conf for port 119 and "kill -HUP" the inetd program (which
+ makes it re-read the configuration file).
+ 
+ Remember, there are two ways for programs to take control over an
+ incoming port.  (1) the program runs and grabs the port (which has to
+ be done as root) and then handles all incoming connections, or (2) the
+ program is listed in /etc/inetd.conf and inetd monitors the ports and
+ starts one process for every incoming connection.
+ 
+ If you do (1) and (2) at the same time, the inetd will grab the port
+ and then anyone else that grabs the port will get an "Address already
+ in use" error.
+ 
+ INN's "innd" program is type (2).  C News+NNTP uses something that is
+ type (1).
+ 
+ Most people that get this error ran C News+NNTP a long time ago and
+ forgot to remove the line from their /etc/inetd.conf file.
+ 
+ 
+ ------------------------------
+ 
  Subject:  syslog message: ME internal no to group
  
  Nelson Minar <nelson@reed.edu> discovered the hard way that:
***************
*** 519,525 ****
  thinks its name is "client.do.main" or even "137.202.177.3".  It
  doesn't matter what *you* call "client", permissions in the nnrp.access
  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.
--- 548,554 ----
  thinks its name is "client.do.main" or even "137.202.177.3".  It
  doesn't matter what *you* call "client", permissions in the nnrp.access
  file have to be specified based on what "nntphost" calls "client".
! Technically, nnrpd 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.
***************
*** 1197,1207 ****
  > What am I doing wrong?
  
  This means that you are using a $INN/lib/dbz.c file that hasn't been
! patched with the $INN/lib/dbz.pch patch.  Apply that patch file to
! dbz.c and rebuild libinn.a et al. and things should be copacetic.  See
! section "5.2 The DBZ package" of the Install.ms document.  This might
! have happened if you don't have the "patch" program (available from any
! FSF/GNU archive).
  
  
  ------------------------------
--- 1226,1253 ----
  > What am I doing wrong?
  
  This means that you are using a $INN/lib/dbz.c file that hasn't been
! patched with the $INN/lib/dbz.pch patch.
! 
! The patching is automatic.  Running "make" should do the patch without
! you even noticing.  To force the code to be re-patched (i.e. copy the
! original to dbz.c and apply the patch to it), simply delete
! $INN/lib/dbz.c and run the usual "make".  The Makefile does everything
! for you.
! 
! Why might the patch fail and leave you with an unpatched dbz.c?
! 
! 1)  You don't have Larry Wall's (or the FSF's) "patch" program
! installed.
! 
! 2)  Most C++ compilers based on USL's cfront come with a program called
! "patch" that does something completely different than Larry Wall's (or
! the FSF's) "patch" program.  If your path is configured so that this
! program is found before Larry Wall's (or the FSF's) "patch" program,
! you will get an unpatched dbz.c.  To fix this, delete $INN/lib/dbz.c,
! change your path, and do the usual "make".  If this file is deleted the
! Makefile will do everything for you.
! 
! See also section "5.2 The DBZ package" of the Install.ms document.
  
  
  ------------------------------
-- 
S ******************* I do not speak for Mentor Graphics Corp ********
W    Anonymous FTP: vector.casti.com /pub/QRD/events/stonewall25
2  WWW/Mosaic/Lynx: http://vector.casti.com/QRD/Stonewall25.html
5           gopher: vector.casti.com select 10, 1, 22, 29.
Technical Details
Message-ID: <inn-faq-changes-2-772084819@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!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!uunet!newsgw.mentorg.com!sdl!not-for-mail
References: <inn-faq-changes-1-772084819@Warren.MENTORG.COM>

Show Full Headers
Complete Article Headers
Message-ID: <inn-faq-changes-2-772084819@Warren.MENTORG.COM>
Subject: Changes to INN FAQ Part 2/4: Debugging Guide & Tutorial
Date: Mon, 20 Jun 1994 04:00:20 +0000
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
References: <inn-faq-changes-1-772084819@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!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!uunet!newsgw.mentorg.com!sdl!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.answers
Supersedes: <inn-faq-changes-2-770788815@Warren.MENTORG.COM>
Followup-To: news.software.nntp
Organization: Mentor Graphics - IC Group, Warren, NJ, USA
Lines: 118
Sender: tal@Warren.MENTORG.COM
Approved: news-answers-request@MIT.Edu
Distribution: world
Reply-To: Tom_Limoncelli@Warren.MENTORG.COM (Tom Limoncelli)
NNTP-Posting-Host: sdl.warren.mentorg.com