Article View: news.software.nntp
Article #9874Re: 'ME can't gethostbyname' on some feeds to my site
From: Fabien TASSIN
Date: Mon, 05 Aug 1996 00:00
Date: Mon, 05 Aug 1996 00:00
53 lines
2326 bytes
2326 bytes
Lyndon VanWagner wrote:
>
> I've just noticed this problem... I'm getting the following message in
> my syslog summary of the daily report:
> >Unknown entries from news log file:
> >Jul 31 05:55:02 tlpnews innd: ME cant gethostbyname newsfeed2.nf0.internetmci.com
Resource temporarily unavailable
> >Jul 31 05:55:02 tlpnews innd: ME cant gethostbyname newsfeed2.nf1.internetmci.com
Resource temporarily unavailable
> >Jul 31 05:55:02 tlpnews innd: ME bad_hosts 2 in /usr/local/news/hosts.nntp
>
> These messages appear to be coming from my daily load of hosts.nntp,
> however, this file appears to be fine and inncheck doesn't report a
> problem with the file.
No.. the last line (bad_hosts) cames from the first two :
in the INN src :
innd/rc.c
/* Host specified as a text name? */
if ((hp = gethostbyname(buff)) == NULL) {
syslog(L_ERROR, "%s cant gethostbyname %s %m", LogName, buff);
errors++;
continue;
}
/* you can't gethostbyname so, errors++ */
/* ... */
if (errors)
syslog(L_ERROR, "%s bad_hosts %d in %s", LogName, errors, filename);
that's why you got the bad_hosts line in your log. (No problem with hosts.nntp)
It is/was probably a (temporarily) DNS problem.
> I've also noticed that articles used to be
> sent (in an earlier configuration) from 2 news feed sources, but now
> I'm down to one. Actually, this is what caught my attention in the
> first place.
Is there anything else (about this) in your log files ?
--
Fabien TASSIN - EERIE Nimes - CRI Rennes
tassin@eerie.fr - Fabien.Tassin@univ-rennes1.fr
Technical Details
Message-ID:
<320248C3.6BA1@eerie.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mailReferences:
<3200b4b0.7578346@news.tlp.com>Show Full Headers
Complete Article Headers
Message-ID: <320248C3.6BA1@eerie.fr> Subject: Re: 'ME can't gethostbyname' on some feeds to my site Date: Mon, 05 Aug 1996 00:00:00 +0000 From: tassin@eerie.fr (Fabien TASSIN) References: <3200b4b0.7578346@news.tlp.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail X-Deja-AN: 172306441 Distribution: world Sender: zorch@ftp.UU.NET Organization: EERIE - Nimes (France) Newsgroups: news.software.nntp,news.admin.technical