🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49507

Re: Bug in the INN-2.2.2-3 Package from Red Hat Linux 6.2 Serverinstallation?

#49507
From: Russ Allbery
Date: Sun, 24 Dec 2000 12:24
46 lines
2612 bytes
Christian Schrattenthaler <hotline@softwareagentur.com> writes:

> I have a Red Hat Linux 6.2 Serverinstallation (STANDARD), and I want to
> use the INND-Service (only for lokal Newsgroups!). All other services
> (Apache, WU-FTPD, Sendmail, Majordomo usw.) works fine!

> The file "/etc/rc.d/init.d/innd" doesn't work! I had to Remark the following
> lines:
> ---
> # Check that networking is up.
> if [ ${NETWORKING} = "no" ]
> then
>  exit 0
> fi
> ---

> and I had to change the line "[ -d /usr/lib/news ] || exit 0" into "[ -d
> /var/lib/news ] || exit 0".

> Now the INND can start on bootup! But, this was a standard installation,
> what is wrong? Is it an error from me, or from Red Hat?

Sounds like a packaging error; INN doesn't come with an rc script, so Red
Hat supplied that one.  If you haven't already, Red Hat are the folks to
whom you should report this bug.

> NEWS.NOTICE:
> Nov 16 09:59:06 linuxserver actived[658]: make_udp_sockaddr: gethostbyname
> p�^R@p�^R@^P
> Nov 16 09:59:06 linuxserver actived[658]: cant createudpsocket No such file
> or directory

There's something weird about your system's hostname in /etc/hosts, I
think.  That's usually the cause of those sorts of errors.

> Nov 16 09:59:06 linuxserver innd: SERVER cant gethostbyname localhost No
> such file or directory

It also sounds like innd doesn't know the name of the local host.  In
general, you want to give your computer a real name and make sure that the
real name is first in the relevant line in /etc/hosts (after the IP
address).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylr92yqa62.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <bFNQ5.6$FU3.403@psinet-eu-nl>

Show Full Headers
Complete Article Headers
Message-ID: <ylr92yqa62.fsf@windlord.stanford.edu>
Subject: Re: Bug in the INN-2.2.2-3 Package from Red Hat Linux 6.2 Serverinstallation?
Date: Sun, 24 Dec 2000 12:24:37 +0000
From: Russ Allbery <rra@stanford.edu>
References: <bFNQ5.6$FU3.403@psinet-eu-nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 45
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)