Article View: news.software.nn
Article #1713NN/NNTP questions...
From: Jim Burwell
Date: Sat, 25 May 1991 06:51
Date: Sat, 25 May 1991 06:51
54 lines
3553 bytes
3553 bytes
Hi... I just finished installing NN/NNTP on our network. For a long while we were just running nn on the machine which gets the newsfeed (feed is via UUCP). People would just remote login to the server to read news. This was OK, since our net was pretty small... Only a few hosts. But then I decided that it was time to allow users to read news on their local machines, since the server was getting a little bogged down by news-reading users. Anyway, I got the idea of sharing the news spool directory structure on all the hosts using NFS mounts. I would simply install nn on each host, which would read the news files and nn database files over NFS mounted partitions. This worked fine for reading news, but posting of course failed miserably. I then started looking through the nn documention to figure out how "client machine posting" worked, and was slightly let down. I had expected to find a simple solution, perhaps involving "rsh" or whatever, which would allow these "remote posts". But the docs pointed me to another software package, NNTP. I got NNTP, and figured out how everything worked, and installed it with NNTP versions of nn running on the client and server. I chose to share the master's database database via NFS, since I thought it would be ridiculous to have a copy of nnmaster and it's databases on EVERY host (of course, I had to re-init the database so it would use "network order" data). After a few tweaks, I finally got nn reading and posting news from a news "client" machine. Now, my question is: Is there a way to make "nn" simply read the news articles from the NFS mounted spool directories ? If so, is it advisable to do so, or is "NNTP" more effiecient than NFS ? I would think it IS more efficient, since NFS is such a pig :-). Also, I found that NN/NNTP (Version 1.5.11...I didn't use the version of mini-inews which comes with nn) does NOT work when the NNTP_MINI_INEWS_HEADER macro is defined in config.h. When this macro is defined, inews on the news server barfs with an "bogus host" type error message. When the macro commented out, things work fine. This may have to do with the fact that we don't run DNS (yet :-) since we're not on the Internet (yet 2 :-). We just run NIS (YP). The way things work now is the way I WANT them to work, since I don't want client-hosts to "advertise" themselves in the paths of news articles, which tends to make mail replies barf. Everything simply points back to our news/mail host, which takes care of our local mail/news issues. Oh yeah, I should probably tell you that our net consists of Sun 3s and Sparcs running SunOS 4.0.3 and 4.1.1 respectively. C'ya, Jim PS: This article is coming from an NNTP client, so it is kinda a test :-) -- +--------------------------+ _ |INET: jimb@faatcrl.uucp | | \ |UUCP: ..!rutgers!faatcrl!| _| \______________________________________ | jimb | - ______ ________________ \_`,
Technical Details
Message-ID:
<1368@faatcrl.UUCP>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!stanford.edu!rutgers!faatcrl!jimbShow Full Headers
Complete Article Headers
Message-ID: <1368@faatcrl.UUCP> Subject: NN/NNTP questions... Date: Sat, 25 May 1991 06:51:50 +0000 From: jimb@faatcrl (Jim Burwell) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!stanford.edu!rutgers!faatcrl!jimb Newsgroups: news.software.nn Sender: news@faatcrl.UUCP Lines: 54 Nntp-Posting-Host: faatc3