🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #31723

Re: Posting from Knews?

#31723
From: Stephan Zimmermann
Date: Wed, 26 Feb 1997 00:00
28 lines
1498 bytes
In article <330E0EEA.6C197DCC@xs4all.nl>,
	Jelle-Frodo Huisman <jfrodo@xs4all.nl> writes:
> I have a probelm though. Whenever I want to post something, Knews gives
> the error:
> domain name not available, posting will not be allowed!

We had this problem too on Hp-UX:

Knews gets the hostname with uname(). With this name it trys
to determin the domain.
BUT uname() on Hp-UX has problems with hostnames longer than
8 characters. On every machine with a hostname longer than
8 characters it returns 'unknown' as hostname and so the domain couldn't be
resolved.

Try to use UNIX-shell command  uname -a  and see if this works fine,
or better test systemcalls  uname()  and  gethostname().

Our solution was to replace the uname() system call by
a gethostname() call ...

hope that helps,

Bye Stephan


Technical Details
Message-ID: <5f1q58$129@sunsystem5.informatik.tu-muenchen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <330E0EEA.6C197DCC@xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <5f1q58$129@sunsystem5.informatik.tu-muenchen.de>
Subject: Re: Posting from Knews?
Date: Wed, 26 Feb 1997 00:00:00 +0000
From: zimmerms@ovid.informatik.tu-muenchen.de (Stephan Zimmermann)
References: <330E0EEA.6C197DCC@xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 221592686
Distribution: world
To: Jelle-Frodo Huisman <jfrodo@xs4all.nl>
Organization: Technische Universitaet Muenchen, Germany
Newsgroups: news.software.readers