Article View: news.software.nntp
Article #41828Re: Stand alones?
From: John Dye
Date: Sat, 27 Nov 1999 00:00
Date: Sat, 27 Nov 1999 00:00
114 lines
5557 bytes
5557 bytes
Thanks! I will try all of that in the morning. Russ Allbery wrote in message ... >John Dye <quiksurf@flash.net> writes: > >> What I am trying to do, between reading man pages and cursing, is to >> setup a stand alone NNTP server to provide a dozen or less newsgroups on >> the localhost and to get a very small feed from another public news >> server (Only an additional 8 newsgroups). There won't be any other >> feeds coming or going. This will be a private news server with public >> access to some groups. Is INN the right choice for me based upon my >> hardware, load factors, and my low end requirements? Is there another >> program out there that is easy to setup as a private news server? > >INN will work; there are smaller news servers that will also work, but the >ones I'm aware of are commercial. INN is probably a reasonable choice >since it should be relatively easy to find help. > >> I know that ctlinnd is used to add groups but the man pages are like >> trying to interpret the Bible for the first time. Does anyone know f a >> FAQ, book, html or any other file that can help guide me through INN >> configuration? > >The INSTALL file that comes with INN is intended to be the introductory >guide that tells you where to start looking. > >> I have been trying to get INN working for 2 days now with little luck. >> I have been pouring over the man pages like a maniac, and the best I can >> do is get this error in my MESSAGES log: > >> Nov 26 17:05:20 constitution innd: SERVER descriptors 256 >> Nov 26 17:05:20 constitution innd: SERVER outgoing 243 >> Nov 26 17:05:20 constitution innd: SERVER cant dbzinit >> /usr/local/news/db/history > >For a first-time install, you need to initialize the history file. This >is documented in INSTALL: > >Creating the Database Files > > At this point, you need to set up the news database directory > (~news/db). This directory will hold the active file (the list of > newsgroups you carry), the active.times file (the creator and creation > time of newsgroups created since the server was initialized), the > newsgroups file (descriptions for all the newsgroups you carry), and the > history file (a record of every article the server currently has or has > seen in the past few days, used to decide whether to accept or refuse > new incoming messages). > > Before starting to work on this, make sure you're logged on as the news > user, since all of these files need to be owned by that user. This is a > good policy to always follow; if you are doing any maintenance work on > your news server, log on as the news user. Don't do maintenance work as > root. Also make sure that ~news/bin is in the default path of the news > user (and while you're at it, make sure ~news/man is in the default > MANPATH) so that you can run INN maintenance commands without having to > type the full path. > > If you already have a server set up (if you're upgrading, or setting up > a new server based on an existing server), copy active and newsgroups > from that server into ~news/db. Otherwise, you'll need to figure out > what newsgroups you want to carry and create new active and newsgroups > files for them. If you plan to carry a full feed, or something close to > that, go to ftp://ftp.isc.org/pub/usenet/CONFIG/ and download active and > newsgroups from there; that will start you off with reasonably complete > files. If you plan to only carry a small set of groups, create active > containing only the following lines: > > control 0000000000 0000000000 y > control.cancel 0000000000 0000000000 y > control.checkgroups 0000000000 0000000000 y > control.newgroup 0000000000 0000000000 y > control.rmgroup 0000000000 0000000000 y > junk 0000000000 0000000000 y > to 0000000000 0000000000 y > > and then type: > > touch ~news/db/newsgroups > > to create an empty newsgroups file (or you can add descriptions for > those groups if you want). > > Either way, type: > > touch ~news/db/active.times > > to initialize active.times. > > Next, you need to create an empty history database. To do this, type: > > cd ~news/db > makehistory -o > > When it finishes, rename the files it created to remove the `.n' in the > file names and then make sure the file permissions are correct on all > the files you've just created: > > chmod 644 * > > Your news database files are now ready to go. > >-- >Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<3EM%3.610$0p4.119935@news.flash.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<emM%3.609$0p4.119347@news.flash.net> <ylr9hctkpk.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3EM%3.610$0p4.119935@news.flash.net> Subject: Re: Stand alones? Date: Sat, 27 Nov 1999 00:00:00 +0000 From: "John Dye" <quiksurf@flash.net> References: <emM%3.609$0p4.119347@news.flash.net> <ylr9hctkpk.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 553577113 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 943691391 38.29.127.185 (Sat, 27 Nov 1999 02:29:51 CST) Organization: FlashNet Communications, http://www.flash.net NNTP-Posting-Date: Sat, 27 Nov 1999 02:29:51 CST Newsgroups: news.software.nntp