🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by kmself Sun, 12 Mar 2000 00:00
leafnode: not updating from all servers, not updating groups
#44998
Author: kmself
Date: Sun, 12 Mar 2000 00:00
93 lines
3760 bytes
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/

Re: leafnode: not updating from all servers, not updating groups
#45037
Author: karsten
Date: Tue, 14 Mar 2000 00:00
118 lines
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/

Re: leafnode: not updating from all servers, not updating groups
#45052
Author: Mark Brown
Date: Wed, 15 Mar 2000 00:00
21 lines
1690 bytes
<karsten@ix.netcom.com> writes:

> Sure 'nuf, permissions was ok, but ownership was root.root.  I chowned
> to news.news and it ran like a charm:

> > 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

Of course, this is almost certainly a bug in the Debian package.  It
would be very helpful if you reported bugs in Debian to Debian so that
other users can benefit from them.  If you have a fix for the problem,
even better.  I dare say the same applies to most software vendors.

/me goes off to investigate...

-- 
Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/

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