🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Lyndon VanWagner Fri, 02 Aug 1996 00:00
'ME can't gethostbyname' on some feeds to my site
#9836
Author: Lyndon VanWagner
Date: Fri, 02 Aug 1996 00:00
44 lines
2440 bytes

Fellow news administrators;

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

I recently upgraded from Inn1.4unoff1 on SunOS4.x to Inn1.4unoff4 on
Solaris2.5, with a new GNU development suite.  May there have been
something I missed in the Sparc specific sections?   I think that I
never caught this problem during testing, because I was being fed by a
single site, and that still seems to be working fine.

Does anyone have have an idea what might be going on?

Thanks in advance.

--Lyndon VanWagner




================================================================
Lyndon C. VanWagner                 Senior Systems Administrator
Lawyers Cooperative Publishing      phone:  716.546.5530 x3523
50 Broad Street                     fax:    716.327.2633
Rochester, NY 14694                 email:  lvanwagn@lcp.com
================================================================
Excuse me, but why does God need a starship?
================================================================


Re: 'ME can't gethostbyname' on some feeds to my site
#9874
Author: Fabien TASSIN
Date: Mon, 05 Aug 1996 00:00
53 lines
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


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