Article View: news.software.nntp
Article #25811INN & Linux
From: Michael Hall
Date: Wed, 04 Feb 1998 00:00
Date: Wed, 04 Feb 1998 00:00
45 lines
2975 bytes
2975 bytes
Help, I'm confused and can't make sense of a couple of things !! I've been ruuning INN (1.4-1.7.2.insync) on my Linux (2.0.33) box at home for a personal feed (via uucp over tcp/ip) and as a test bed for two other ISP's news servers I administer. Anyway, enough of the background, I just recently grabbed the 1.8 stuff (CVS from isc.org) and 'subst' in my old config.data, everything went fine compiling until it hit the innfeed directory where it bombed out. I don't remember the exact message but it had something to do with "NBIO". I then went back through the config.data and changed the NBIO_STYLE from IOCTL to FCNTL and recompiled, this time everything compiled fine. I guess my question is what should the value of NBIO_STYLE be ? Also there seems to be a discrepancy over LOCK_STYLE and CLX_STYLE. I've gone through the FAQ's (#2, #9), config.data-linux-2.0.18 and the new Managing Usenet (O'Reilly) book. The sample config.data for Linux appears to be totally off the wall (it's almost identical to config.dist for BSD/OS except for LOCK_STYLE and a couple of paths) while the FAQ's, book, etc. all seem to have similar recommendations. In general they all recommend LOCK_STYLE = FLOCK, CLX_STYLE = FCNTL and NBIO_STYLE = IOCTL, while the sample config for Linux reccommends LOCK_STYLE = FCNTL, CLX_STYLE = IOCTL and NBIO_STYLE = FCNTL. I've also looked through the innfeed 0.10.1.7 files which I also have compiled and in the sysconfig.h under the Linux section there is a "#define NBIO_FCNTL 1" line, this line is not in the sysconfig.h in the INN 1.8 which probably explains why it didn't compile until I changed the config.data NBIO_STYLE from IOCTL to FCNTL. While INN seems to work set either way, innfeed doesn't. I'm just trying to avoid any possible problems and get it set correctly. I'd appreciate any input on LOCK_STYLE, CLX_STYLE and NBIO_STYLE settings anybody can give as well as the why's. I can plug in values all day long but I have an inquiring mind and like to know why :-) Thanks !! -- Mike Hall <mhall@rockisland.com> *nix, Perl, CGI hacker... P.O. Box 1065 Certified OS/2 Specialist Friday Harbor, WA 98250 Sorry, no Win* :-) ***---***---***---***---***---***---***---***---***---*** To get my PGP key send email with Subject: Request PGP key
Technical Details
Message-ID:
<Pine.LNX.3.96.980204213235.21426A-100000@ukiah.riverside.org>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-mailShow Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.980204213235.21426A-100000@ukiah.riverside.org> Subject: INN & Linux Date: Wed, 04 Feb 1998 00:00:00 +0000 From: Michael Hall <mike@ukiah.riverside.org> 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: 322235487 Mime-Version: 1.0 Reply-To: mhall@rockisland.com Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Riverside BBS Newsgroups: news.software.nntp