Thread View: news.software.nntp
1 messages
1 total messages
Started by Arjan de Vet
Wed, 11 Aug 1993 20:10
Finally! INN 1.4 working out of the box on Linux
Author: Arjan de Vet
Date: Wed, 11 Aug 1993 20:10
Date: Wed, 11 Aug 1993 20:10
69 lines
3367 bytes
3367 bytes
Some time ago I made a patch kit with sample configuration files for INN 1.4 for Linux available as ftp.win.tue.nl:/pub/linux/ports/inn-1.4-linux.tar.gz These patches made it possible to use UNIX domain sockets although their implementation on Linux is not complete and bugfree. These patches were based on INN 1.3 patches by Dave Gymer. At that time I had tried several times to get INN 1.4 working without Dave's patches. INN 1.4 compiles out of the box on Linux but did not work. I noticed a recent addition to the INN FAQ concerning these UNIX domain sockets. This evening I tried INN 1.4 again without UNIX domain sockets and I finally have it working the way it should, thanks to the excellent FAQ by Tom Limoncelli. What I did (as user `news'): 1. I did a reversed patch with the patch file from inn-1.4-linux.tar.gz. This gave me the original INN 1.4 sources although with my config.data and site/* files intact. 2. In config/config.data I changed DO to DONT for HAVE_UNIX_DOMAIN: ## Do you have Unix-domain sockets? Pick DO or DONT. #### =()<HAVE_UNIX_DOMAIN @<HAVE_UNIX_DOMAIN>@>()= HAVE_UNIX_DOMAIN DONT 3. I added my local hostname to hosts.nntp (see INN FAQ part 3 why this is necessary). It should be the host where innd will be running. ## $Revision: 1.4 $ ## hosts.nntp - names and addresses that feed us news ## Format ## <host>: ## <host>:<password> ## <host> can be a name or IP address; no wildcards. Any hosts not ## listed here are handed off to nnrpd. adv.win.tue.nl 4. make all 5. I shut down the running innd: ctlinnd shutdown "" 6. make install 7. be sure that you do NOT have a line for nntp in /etc/inetd.conf: innd controls the NNTP port and knows when to fork off the nnrpd daemon. I think this is one of the main reasons why earlier attempts to get INN 1.4 working without UNIX domain sockets didn't work for me :-( 8. as root(!): /usr/lib/news/etc/rc.news NOTE: after this change NNTP news reading from the host where innd is running is not possible anymore, unless the news reader knows the `mode reader' command. See the INN FAQ part 3 for more information. If there is interest I can make a new version of inn-1.4-linux.tar.gz (which then also contains some small diffs for bugs in bash-1.12 which cause news.daily to hang). Arjan -- Arjan de Vet <Arjan.de.Vet@adv.win.tue.nl> (home) Eindhoven University of Technology, the Netherlands <devet@win.tue.nl> (work)
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