Article View: news.software.nntp
Article #45037Re: leafnode: not updating from all servers, not updating groups
From: karsten
Date: Tue, 14 Mar 2000 00:00
Date: Tue, 14 Mar 2000 00:00
118 lines
4750 bytes
4750 bytes
Followup to Self:
Damned if Leafnode ain't real particular about file permissions. And
helpfully terse in its error output.
I finally diagnosed the problem by running strace on my fetchnews
process. Noticed errors in trying to access and/or create files.
Though to myself, "Self, what are the permissions for /var/spool/news".
Sure 'nuf, permissions was ok, but ownership was root.root. I chowned
to news.news and it ran like a charm:
drwxr-xr-x 19 news news 4096 Mar 14 03:13 /var/spool/news
And, I mean, hey, with strace, who needs error messages <g>
kmself@ix.netcom.com wrote:
> I'm trying to set up a standalone newsserver on a Debian/woody system
> using leafnode and tin as my primary newsreader. I've had a number of
> problems with this setup, several of which seem to have magically
> disappeared, am wondering if there are known Debian bugs with tin or
> leafnode (ok, I'll check the buglist....).
> My current problem is that 'fetchnews' doesn't appear to be hitting all
> servers -- I've got two 'supplement' servers defined, but I only appear
> to be grabbing groups from my primary news feed.
> leafnode also does not appear to be grabbing messages from groups I've
> read recently, specifically to force an update of the groups. These may
> be groups with only the leafnode placeholder article in them, or with
> old(er) articles.
> Each time I run fetchnews it gives the message "Removing stale
> lockfile":
> [root@navel:/root]$ fetchnews -vvv -f
> Removing stale lockfile.
> 1.9.11: verbosity level is 3
> Trying to connect to nntp.ix.netcom.com ... connected.
> .
> .
> .
> comp.lang.scheme.c: no new articles
> lists.debian-devel: no new articles
> test not found in groupinfo file
> [root@navel:/root]$
> ...the secondary newsservers are never hit. Wierd.
> Connection is a pppd dialup at 56k, largely persistant. I cron a set of
> 'fetchnews' jobs over the course of the day, have also been running it
> manually from the command line attempting to debug the problem. I don't
> see another fetchnews process running dong a 'ps aux'.
> Assistance or a clue as to where to turn for more info would be helpful.
> /etc/news/leaf.node/config (partial):
> <begin>
> debug=1
> ## This is the NNTP server leafnode fetches its news from.
> ## You need read and post access to it. Mandatory.
> server = nntp.ix.netcom.com
> ## Unread discussion threads will be deleted after this many days if
> ## you don't define special expire times. Mandatory.
> expire = 20
> ##
> ## All the following parameters are optional
> ##
> ## I have free access to my news server. If you don't have, comment out
> ## the following two lines and change them accordingly.
> # username = kmself
> # password = xxxxxx
> ## KMSelf
> ## Added per manpage -- filterfile can filter input headers for
> ## arbitrary regular expressions. Format is one regexp per line.
> ## If a regular expression matches, the submission is rejected.
> filterfile=/etc/news/leafnode/filters
> ## Standard news servers run on port 119. If your newsserver doesn't,
> comment
> ## out the following line and change it accordingly.
> # port = 8000
> ## This is another news server which stores some groups that are not
> ## available on the first one. You can define username, password and
> port
> ## for each server separately.
> # supplement = sex.and.warez.com
> # username = xenu
> # password = secret
> supplement = forum.linuxworld.com
> supplement = news.vmware.com
> <end>
> --
> Karsten M. Self (kmself@ix.netcom.com)
> What part of "Gestalt" don't you understand?
> Scope out Scoop: http://scoop.kuro5hin.org/
> Nothin' rusty about Kuro5hin: http://www.kuro5hin.org/
--
Karsten M. Self (kmself@ix.netcom.com)
What part of "Gestalt" don't you understand?
Scope out Scoop: http://scoop.kuro5hin.org/
Nothin' rusty about Kuro5hin: http://www.kuro5hin.org/
Technical Details
Message-ID:
<a98la8.epv.ln@127.0.0.1>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:
<38CC09D0.6FED3B0D@ix.netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <a98la8.epv.ln@127.0.0.1>
Subject: Re: leafnode: not updating from all servers, not updating groups
Date: Tue, 14 Mar 2000 00:00:00 +0000
From: <karsten@ix.netcom.com>
References: <38CC09D0.6FED3B0D@ix.netcom.com>
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: 597431096
Distribution: inet
X-Server-Date: 14 Mar 2000 18:06:11 GMT
Organization: Gestalt Institute
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14 (i686))
Newsgroups: news.software.nntp