[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: Suppressing "no servers found" error message



Chris Davies schrieb:

> I now have another installation of Leafnode 2.0.0.alpha20070602a-2, as 
> shipped via Debian "experimental", which I want to use just as an NNTP 
> interface to a number of mailing lists. Consequently I have no need for 
> the servers= line in the /etc/news/leafnode/config configuration file.
> 
> Unfortunately, each hour I get an error message emailed to me saying, 
> "fetchnews: no servers found in configuration file."
> 
> Is there any way of disabling this message in the configuration? (I can 
> tweak the /etc/news/leafnode/do-fetch-news cron script to hide the 
> error, but I'd prefer for it not to be issued in the first place.)
> 
> If not, can it go on the wish-list, please?

Hi Chris,

while I don't know how Debian/experimental is packaged, it should actually 
be even simpler than that: don't run fetchnews if you're only serving local 
groups (such as gatewayed mailing lists) without connection to upstream 
groups. So tweak the script to not run fetchnews at all - this might be a 
wishlist item for the package so as to be able, from /etc/defaults/leafnode 
or something similar, to disable components that are becoming optional 
(such as fetchnews) with leafnode-2's local serving capability.

HTH
Matthias

-- 
Matthias Andree
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/