Thread View: news.software.nntp
3 messages
3 total messages
Started by Paul King
Thu, 19 Aug 1999 00:00
Leafnode/suck in Linux
Author: Paul King
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
27 lines
2041 bytes
2041 bytes
Please can someone point me to some GOOD documentation on the use of leafnode as an NNTP server? I am not happy with the documentation that comes with the software. I am trying to get nn-tk to not have to re-read "active" every time I log on. That is very annoying. I read in one of the newsgroups that leafnode is supposed to greatly improve the performance of nn-tk and for that matter nn. What is leafnode *supposed* to do? Is it supposed to pull the news from my ISP on to my local /var/spool/news? That is, when I log on, what should I expect? Should I run it like a command, or should I nuke my copy of /etc/rc.d/init.d/innd and replace it with something that runs leafnode instead so that it runs when I boot? I take it that I shouldn't have two news servers running - innd and leafnode at the same time. Also, I have had only partial success with "suck". It reads the news (God knows where - not to the spool, which is where I want it) and begins to spew error messages until I kill it. And what is suck exactly? I hesitate to call it a server, and it appears that you don't need to be root to run it. I could show you the error messages, but right now I am posting from the only trusty news application I have at the moment: Agent 1.5 in Windows 98. As for leafnode, there were no error messages written to /var/log/news/errorlog or /var/log/news.errlog. Paul King
Re: Leafnode/suck in Linux
Author: Andre Boogaards
Date: Sun, 22 Aug 1999 00:00
Date: Sun, 22 Aug 1999 00:00
13 lines
1217 bytes
1217 bytes
Paul King wrote: > > Please can someone point me to some GOOD documentation on the use of leafnode as > an NNTP server? I am not happy with the documentation that comes with the > software. I am trying to get nn-tk to not have to re-read "active" every time Check out the News-Leafsite mini-HOWTO. (it might be in /usr/doc if you've installed it, else check www.linux.org) Cheers, Andre
Re: Leafnode/suck in Linux
Author: Mark Brown
Date: Mon, 23 Aug 1999 00:00
Date: Mon, 23 Aug 1999 00:00
77 lines
4701 bytes
4701 bytes
pking@idirect.com (Paul King) writes:
> Please can someone point me to some GOOD documentation on the use of leafnode as
> an NNTP server? I am not happy with the documentation that comes with the
There is a Linux HOWTO or mini-HOWTO on the subject, but other than
that I can't think of anything except what's in the tarball and on the
website. If you have any suggestions for what you'd like to see I'd
suggest forwarding them to the author and/or the mailing list.
> software. I am trying to get nn-tk to not have to re-read "active" every time I
> log on. That is very annoying. I read in one of the newsgroups that leafnode is
> supposed to greatly improve the performance of nn-tk and for that matter nn.
I think that rereading the active file on startup is pretty much
standard for NNTP based clients, but I've been wrong before. The
performance improvement would come from having a local copy of
the news.
> What is leafnode *supposed* to do? Is it supposed to pull the news from my ISP
> on to my local /var/spool/news? That is, when I log on, what should I expect?
That's it - leafnode is designed to download the news to your system
and then serve it up to your client. When you connect to it with your
newsreader you should expect it to act like any other news server.
> Should I run it like a command, or should I nuke my copy of
> /etc/rc.d/init.d/innd and replace it with something that runs leafnode instead
> so that it runs when I boot? I take it that I shouldn't have two news servers
> running - innd and leafnode at the same time.
You don't want both inn and leafnode running - if you use leafnode,
you should probably deinstall inn. All you should need to do for
leafnode is what's documented in the INSTALL file in the distribution
($LIBDIR is defined in the Makefile and defaults to /etc/leafnode).
Leafnode operates in a somewhat different manner to inn, and doesn't
need anything in init.d. Instead of having a constantly running
program processing incoming and outgoing news and handling connections
from news clients there are two programs which do these jobs, which
are started as and when needed.
The transport is done by a program called fetchnews (fetch in older
versions). This can be started whenever you like - I run it whenever
a PPP link is brought up, some people start it regularly with cron -
and will get new news and post any new postings.
The server part which your clients speak to is a run from inetd (try
"man inetd" for further information). Clients connect to it like they
would to any other NNTP server and it allows them to read the stored
articles and post. If a group hasn't been read recently it will mark
it for download next time fetchnews is run.
Expiry is handled similarly to inn - you run a program called texpire
every so often (usually daily) which deletes old articles.
> Also, I have had only partial success with "suck". It reads the news (God knows
> where - not to the spool, which is where I want it) and begins to spew error
> messages until I kill it. And what is suck exactly? I hesitate to call it a
> server, and it appears that you don't need to be root to run it.
The idea with suck is that it downloads the messages and then throws
them at a standard news server like inn - it's a piece of glue that
turns a reader connection into a feed for inn. It sounds like it's
doing the download part OK, but is not managing to communicate with
inn. Try checking that you can post normally using the method suck is
trying to use to communicate with your local inn.
If people here can't help you, there is a mailing list for suck
mentioned in the documentation.
--
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