Thread View: news.software.nntp
4 messages
4 total messages
Started by Tom Limoncelli
Mon, 20 Jun 1994 04:00
Changes to INN FAQ Part 1/4: General Information
Author: Tom Limoncelli
Date: Mon, 20 Jun 1994 04:00
Date: Mon, 20 Jun 1994 04:00
79 lines
4934 bytes
4934 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff1
*** FAQ-inn.1-lastposted Sun Jun 5 00:00:29 1994
--- FAQ-inn.1 Mon Jun 20 00:00:02 1994
***************
*** 1,4 ****
! Last Changed: $Id: FAQ-inn.1,v 1.72 1994/06/03 18:47:12 tal Exp $
Part 1 of 4
--- 1,4 ----
! Last Changed: $Id: FAQ-inn.1,v 1.74 1994/06/10 19:03:11 tal Exp $
Part 1 of 4
***************
*** 644,661 ****
Under all Solaris 2.* versions there is a problem with innwatch.ctl.
It expects to use "df -i" to find out how many inodes are free on your
! disk. /usr/{sbin,5bin,bin}/df doesn't support the "-i" option. You
! have to use "/usr/ucb/df -i" instead, since this version of df includes
! the "-i" option.
/usr/ucb/df is part of the BSD Compatibility stuff. If you loaded
! Solaris 2.x without that, you have no way to check the number of
! inodes.
Don't run the "lint" step if you use Solaris. In fact, nobody needs to
execute this step except Rich, when he's writing new code. If you have
a Solaris machine without "lint", just make "lint" a symblink to
"/bin/echo".
------------------------------
--- 644,679 ----
Under all Solaris 2.* versions there is a problem with innwatch.ctl.
It expects to use "df -i" to find out how many inodes are free on your
! disk. /usr/{sbin,5bin,bin}/df doesn't support the "-i" option, it has
! a "-e" option that outputs the info you want, but in a different
! format. You should use "/usr/ucb/df -i" instead, since this version of
! df includes the "-i" option.
/usr/ucb/df is part of the BSD Compatibility stuff. If you loaded
! Solaris 2.x without that, you can replace innwatch.ctl's disk checks
! with these lines:
+ ## If load is OK, check space (and inodes) on various filesystems
+ ## =()<!!! /usr/bin/df -k . | awk 'NR == 2 { print $4 }' ! lt ! @<INNWATCH_SPOOLSPACE>@ ! throttle ! No space (spool)>()=
+ !!! /usr/bin/df -k . | awk 'NR == 2 { print $4 }' ! lt ! 8000 ! throttle ! No space (spool)
+ ## =()<!!! /usr/bin/df -k @<_PATH_BATCHDIR>@ | awk 'NR == 2 { print $4 }' ! lt ! @<INNWATCH_BATCHSPACE>@ ! throttle ! No space (newsq)>()=
+ !!! /usr/bin/df -k /news2/spool/out.going | awk 'NR == 2 { print $4 }' ! lt ! 800 ! throttle ! No space (newsq)
+ ## =()<!!! /usr/bin/df -k @<_PATH_NEWSLIB>@ | awk 'NR == 2 { print $4 }' ! lt ! @<INNWATCH_LIBSPACE>@ ! throttle ! No space (newslib)>()=
+ !!! /usr/bin/df -k /news2/privcontrol | awk 'NR == 2 { print $4 }' ! lt ! 40000 ! throttle ! No space (newslib)
+ ## =()<!!! /usr/bin/df -k @<_PATH_OVERVIEWDIR>@ | awk 'NR == 2 { print $4 }' ! lt ! @<INNWATCH_OVERVIEWSPACE>@ ! throttle ! No space (overview)>()=
+ !!! /usr/bin/df -k /news3/overview | awk 'NR == 2 { print $4 }' ! lt ! 6000 ! throttle ! No space (overview)
+ ## =()<!!! /usr/bin/df -e . | awk 'NR == 2 { print $2 }' ! lt ! @<INNWATCH_SPOOLNODES>@ ! throttle ! No space (spool inodes)>()=
+ !!! /usr/bin/df -e . | awk 'NR == 2 { print $2 }' ! lt ! 200 ! throttle ! No space (spool inodes)
+
Don't run the "lint" step if you use Solaris. In fact, nobody needs to
execute this step except Rich, when he's writing new code. If you have
a Solaris machine without "lint", just make "lint" a symblink to
"/bin/echo".
+
+ People running Solaris 2.3 have built INN with HAVE_UNIX_DOMAIN set to
+ TRUE and everything seems to be ok. I guess Sun has fixed enough
+ bugs in 2.3 to make it usable. I recommend the latest "recommended
+ patches" if you run any version of Solaris 2.x.
------------------------------
--
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.
Changes to INN FAQ Part 2/4: Debugging Guide & Tutorial
Author: Tom Limoncelli
Date: Mon, 20 Jun 1994 04:00
Date: Mon, 20 Jun 1994 04:00
119 lines
5975 bytes
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.
Changes to INN FAQ Part 3/4: Operational and Misc. Questions
Author: Tom Limoncelli
Date: Mon, 20 Jun 1994 04:00
Date: Mon, 20 Jun 1994 04:00
154 lines
6540 bytes
6540 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff3
*** FAQ-inn.3-lastposted Sun Jun 5 00:00:29 1994
--- FAQ-inn.3 Mon Jun 20 00:00:03 1994
***************
*** 1,4 ****
! Last Changed: $Id: FAQ-inn.3,v 1.67 1994/06/03 18:47:12 tal Exp $
Part 3 of 4
--- 1,4 ----
! Last Changed: $Id: FAQ-inn.3,v 1.72 1994/06/17 20:53:38 tal Exp $
Part 3 of 4
***************
*** 8,13 ****
--- 8,14 ----
Day-to-day operational questions
INN is running, but i have this small problem...
How do i... (Big changes you can make to the system)
+ Bugs in INN 1.5:
Bugs in INN 1.4:
Bugs in INN 1.3:
Bugs in INN 1.2:
***************
*** 54,59 ****
--- 55,61 ----
Can I use gzip with INN?
What do I do if /var/spool/news is set up over many partitions?
Archiving expired articles
+ INN on one machine, UUCP modem on a different one
BUGS IN 1.4:
Security Patch
Looping Select Patch
***************
*** 346,354 ****
Here is a sample crontab entry to use: (news should run this)
! 55 7,12,17,22 * * * /usr/local/newsbin/ctlinnd reload hosts.nntp crontab | grep -v '^Ok$'
------------------------------
Subject: I'm getting groups sent to me that I don't want.
--- 348,364 ----
Here is a sample crontab entry to use: (news should run this)
! 55 7,12,17,22 * * * /usr/local/newsbin/ctlinnd -s reload hosts.nntp crontab
+ I hope people vary the time this runs. If a huge number of INN hosts,
+ many running NTP so their clocks are within a few ms., all kick off DNS
+ lookups at exactly the same time, the internet traffic could get
+ "interesting". Try setting the minutes value to the time you added
+ this entry to crontab rather than everyone using "55". In fact, if
+ everyone used their birthday plus 1 if they are born on an odd month,
+ that would spread it out just fine.
+
------------------------------
Subject: I'm getting groups sent to me that I don't want.
***************
*** 812,817 ****
--- 822,851 ----
------------------------------
+ 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
+ UUCP system.
+
+ Pretty neat, eh?
+
+
+ ------------------------------
+
Subject: How do I set up inpaths with INN?
inpaths should work just fine with INN as it ships. However, you can
***************
*** 827,832 ****
--- 861,907 ----
awk '(NF > 2){print $3}' < ${HISTORY} | tr . / | sort | \
inpaths `innconfval pathhost` | \
${MAILCMD} pathsurvey@decwrl.dec.com
+
+ If the inpaths people would include this information in the
+ README, I could delete it from this FAQ.
+
+
+ =====================================================================
+ INFO ABOUT 1.5
+ =====================================================================
+
+ INN 1.5 hasn't been released yet. However, people constantly mis-type
+ "INN 1.5" when they mean "INN 1.4". The bug is in the human posting
+ the message, not the software.
+
+ Release date for 1.5: Unknown by even the author.
+
+ New features in 1.5:
+
+ 1) Fix memory leaks in makehistory, thereby speeding it up.
+
+ 2) Posting always allowed, even when server is throttled.
+
+ 3) Operating systems that require HAVE_UNIX_DOMAIN set to DONT won't
+ be so, uh, handicaped.
+
+ 4) A global killfile controlled by a function you write in TCL.
+ (Start learning TCL now if you want to stay totally hip.)
+
+ 5) More interesting ways to control access to nnrpd.
+
+ 6) More support for systems that don't have symbolic links.
+
+ 7) Free beer.
+
+ 8) Just kidding about #6.
+
+ None of these features prevent you from having a happy,
+ healthy and producting live with INN.
+
+ NO NOT ASK RICH ABOUT 1.5. IT WILL BE RELEASED WHEN IT IS DONE, NOT
+ WHEN SUFFICIENT NUMBERS OF PEOPLE HAVE ASKED WHEN IT WILL BE FINISHED.
+ Post to news.software.nntp if you have questions about featues.
=====================================================================
--
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.
Changes to INN FAQ Part 4/4: Appendix A: Norman's install guide
Author: Tom Limoncelli
Date: Mon, 20 Jun 1994 04:00
Date: Mon, 20 Jun 1994 04:00
10 lines
1481 bytes
1481 bytes
Posted-By: auto-faq 2.4 Archive-name: inn-faq/diff4 No changes since last posting. -- 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.
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