🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Christian Schrattenthaler Thu, 16 Nov 2000 00:00
Bug in the INN-2.2.2-3 Package from Red Hat Linux 6.2 Serverinstallation?
#49077
Author: Christian Schrattenthaler
Date: Thu, 16 Nov 2000 00:00
69 lines
3262 bytes
Hi!

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? How can I correct
the Script, to work complete correctly?

Now I get some error-messages in the news-log-files, I can't find this
messages in the INN-F.A.Q. or on the old HOWTO-files. Ther is no 100%
working Information about the INND of Red Hat 6.2 - WHY?

After the bootup I get the following error.log's:

NEWS.NOTICE:
Nov 16 09:59:06 linuxserver innd: SERVER descriptors 1024
Nov 16 09:59:06 linuxserver innd: SERVER outgoing 1011
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
Nov 16 09:59:06 linuxserver innd: SERVER ccsetup control:13
Nov 16 09:59:06 linuxserver innd: SERVER lcsetup localconn:15
Nov 16 09:59:06 linuxserver innd: SERVER rcsetup remconn:4
Nov 16 09:59:06 linuxserver innd: SERVER cant gethostbyname localhost No
such file or directory
Nov 16 09:59:06 linuxserver innd: SERVER bad_newsfeeds no feeding sites
Nov 16 09:59:09 linuxserver innd: SERVER perl filtering enabled
Nov 16 09:59:09 linuxserver innd: SERVER starting

and NEWS.ERR:
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
Nov 16 09:59:06 linuxserver innd: SERVER cant gethostbyname localhost No
such file or directory
Nov 16 09:59:06 linuxserver innd: SERVER bad_newsfeeds no feeding sites

Please tell me, what is wrong on my system, so that i can correct the
problem with innd.

Information: My server is permanently connected to the internet (cable). It
also works as router for the computers in my internal network. I have a
static IP and a Domain-Name registered for this IP.

Thanks!

Greetings
Christian



Re: Bug in the INN-2.2.2-3 Package from Red Hat Linux 6.2 Serverinstallation?
#49507
Author: 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/>
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