Article View: news.software.nntp
Article #3698Help! Cnews and NNTP under Linux
From: Bill Wolf
Date: Fri, 07 Jul 1995 00:00
Date: Fri, 07 Jul 1995 00:00
124 lines
5560 bytes
5560 bytes
Hi! I'm hoping that someone might be able to help shed some light on these problems I'm having. All the software (Cnews, NNTP, etc), where part of my Linux Slackware PRO distribution v2.1, then kernel version 1.1.59. I have since upgraded the kernel to version 1.2.9, but nothing else. As I said earlier, all software was in binary form, installed during the initial installation of Linux. I have NNTP up and running, allowing newsreaders to read/post, and xfer news into my system. I also have setup a NNTP feed with my mail feed system, and for testing purposes we just have misc.test running. Any messages that he sends over end up in my /var/spool/news/in.coming. I run the newsrun program, and it properly creates the directories and subdirectories in /var/spool/news for each newsgroups. I looked into some of those directories, and see 1, 2 , 3, etc.. each being a message. If I where to run rtin here on my system (NNTPSERVER set to matrix.uti.com), it properly reads the active, newsgroups, etc files. If I subscribe to misc.test it shows there aren't any new messages at all. Yet if I view the directory it properly shows the messages in there. This happens with any other NNTP based newsreader. Now if I use tin (for local reading). It gives me a error message of it running out of memory, during the initial reading of my active file. Don't understand that one. Could this be attributed to the error messages I will list below? (however if I run tin -q there aren't any problems) If post a message using rtin, or any other nntp reader, the message does show up in my /var/spool/news/in.coming directory. And again when I run newsrun, it goes into it's proper subdirectory. Since my news feed is NNTP based, what exactly should my sys lines look like? For sending any new local messages back ou to my news feed. This is the one that I've got configured now: ME:all/all:: xnet/flood.xnet.com:all:nL: bbs/bbs.uti.com:comp.os.linux.help:f: Xnet is my newsfeed. BBS is a uucp for my bbs. Neither one seem to be working. Basically I want to send all outgoing messages created locally here on my system (via here, or uucp accounts), to go back to flood.xnet.com via nntp. Also, I had this message in my 'news' user's email. (I didn't setup any aliases yet) Perhaps this error message will help, and be the main reason nothing is getting sent out. /usr/lib/newsbin/batch/sendbatches: batching togo.1 for `xnet' failed defhdrs.awk: no Subject: header! defhdrs.awk: no Newsgroups: header! /usr/lib/newsbin/inject/injnews: /dev/null/dead.article: Not a directory /usr/lib/newsbin/batch/sendbatches: aborting A Few questions at this point: - If a message is posted, and newsrun is ran, at this point is it suppose to send the message via nntp over to xnet right away? If not, and it sends it out on batches, or sits there waiting for his machine to pick it up, where is it stored in the mean time? (i'm using the binaries from the Slackware disc. Part of the 1.1.59 version of Linux - didn't do any compiling.). - Where should the messages for BBS end up? In the /var/spool/uucp/bbs subdirectory along with the BBS email? - Should there be any enteries in batchparms for Xnet? BBS? This is what I have currently: # site size queue builder muncher sender # ---- ---- ----- ------- ------- ------ /default/ 100000 20 batcher compcun viauux #flood 300000 20 batcher nocomp viainews bbs 300000 20 batcher comp viauux Now, finally I've noticed these error messages popping up in my syslog file. I'm thinking that perhaps this might be of some 'trouble' as well. Jul 2 04:47:54 matrix nntpd[4408]: gethistent: histfile: No such file or direct ory Jul 2 05:02:56 matrix nntpd[4436]: gethistent: histfile: No such file or direct ory Jul 2 05:47:54 matrix nntpd[4561]: gethistent: histfile: No such file or direct ory Jul 2 10:02:54 matrix nntpd[4728]: gethistent: histfile: No such file or direct ory Jul 2 10:02:56 matrix nntpd[4728]: gethistent: histfile: No such file or direct ory Jul 2 11:22:53 matrix nntpd[4838]: newgroups: fopen /usr/lib/news/nntp/groupdat es: No such file or directory Jul 2 11:24:50 matrix nntpd[4838]: newgroups: fopen /usr/lib/news/nntp/groupdat es: No such file or directory Jul 2 11:38:28 matrix nntpd[5042]: gethistent: histfile: No such file or direct ory Hope I included enought information for you. I know I just must be missing something simple here. (Isn't that always the case?!) Are there any good examples for using Cnews with a NNTP feed? I've searched sunsite and didn't see anything other than the news-how.to file. Please reply here, or in email. I'm going nuts! :-) Takecare, bwolf@matrix.uti.com
Technical Details
Message-ID:
<3thugp$4m5@flood.xnet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <3thugp$4m5@flood.xnet.com> Subject: Help! Cnews and NNTP under Linux Date: Fri, 07 Jul 1995 00:00:00 +0000 From: bwolf@matrix.uti.com (Bill Wolf) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.mbox.zip!not-for-mail X-Deja-AN: 105722943 Distribution: inet Content-type: Text/Plain; charset=ISO-8859-1 Organization: UTI Systems Mime-version: 1.0 Newsgroups: news.software.nntp,comp.os.linux,misc.test