🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by SmarttNet Technical Support Mon, 21 Dec 1998 00:00
inn 2.1
#33982
Author: SmarttNet Technical Support
Date: Mon, 21 Dec 1998 00:00
20 lines
1297 bytes
Is this another bug with INN 2.1?

Every so often you see a message saying that domain must be set in
inn.conf

It is set....

I also went to add the innwatch from 2.2b2 but inn wasn't exactly
impressed with me adding it so I went back to the original innwatch.
And yes I did add the appropriate lines to inn.conf for the new
innwatch...  Guess I'll pull my hair out some more until 2.2 is
final... 

Any ideas about why I see the message about domain is missing in the
inn.conf file?  I've found this mesage on the console, in
nntpsend.log, and ctlinnd invokes this error in syslog.

Thanx

Re: inn 2.1
#33998
Author: Fluffy
Date: Tue, 22 Dec 1998 00:00
24 lines
1616 bytes
SmarttNet Technical Support <tech@smartt.com> wrote:

> I'm running Linux kernel 2.0.36.  I'll try just the machine name
> because since installation the /etc/HOSTNAME is the FQDN without the
> trailing period.

Ah, you've got an FQDN in there.  Then you've probably got to use the
same sort of workaround I needed.

On my system (originally built around a couple-years-old Slackware),
this is in /etc/rc.d/rc.M; you may have to grep around a bit to find
where your distribution is doing this.

The original will look something like this:

	/bin/hostname `cat /etc/HOSTNAME | cut -f1 -d .`

To make INN happy, change it to:

	/bin/hostname `cat /etc/HOSTNAME`

(No, `hostname -d' or `domainname' won't work here.  YMMV.)

Re: inn 2.1
#33999
Author: Fluffy
Date: Tue, 22 Dec 1998 00:00
28 lines
1914 bytes
SmarttNet Technical Support <tech@smartt.com> wrote:
> Is this another bug with INN 2.1?
> 
> Every so often you see a message saying that domain must be set in
> inn.conf
> 
> It is set....

Yeah, it's a bug.  Or the error message is misleading.  Pick one.

In the INN library is a routine that tries a few different methods to
determine your hostname.  If all those methods fail, it pulls the value
out of inn.conf.

What's happening here is that one of those calls is succeeding, but
returning a value that INN doesn't like (specifically, it's finding a
hostname without any dots in it.) So, you get that error message even
though the value in inn.conf hasn't been tried.

For example:  My toy here doesn't have a permanent hostname any more,
so it just uses whatever text I put into /etc/HOSTNAME.  I had
initially set that to "meowhost" and INN persisted in giving the above
message.  I changed it to "meowhost.meow.invalid" and all was well.

What works for you may vary, since I don't know what OS you're running.


Re: inn 2.1
#34000
Author: SmarttNet Technical Support
Date: Tue, 22 Dec 1998 00:00
35 lines
2089 bytes
On 22 Dec 1998 00:10:33 GMT, meowing@banet.net (Fluffy) wrote:

>SmarttNet Technical Support <tech@smartt.com> wrote:
>> Is this another bug with INN 2.1?
>> 
>> Every so often you see a message saying that domain must be set in
>> inn.conf
>> 
>> It is set....
>
>Yeah, it's a bug.  Or the error message is misleading.  Pick one.
>
>In the INN library is a routine that tries a few different methods to
>determine your hostname.  If all those methods fail, it pulls the value
>out of inn.conf.
>
>What's happening here is that one of those calls is succeeding, but
>returning a value that INN doesn't like (specifically, it's finding a
>hostname without any dots in it.) So, you get that error message even
>though the value in inn.conf hasn't been tried.
>
>For example:  My toy here doesn't have a permanent hostname any more,
>so it just uses whatever text I put into /etc/HOSTNAME.  I had
>initially set that to "meowhost" and INN persisted in giving the above
>message.  I changed it to "meowhost.meow.invalid" and all was well.
>
>What works for you may vary, since I don't know what OS you're running.
>
I'm running Linux kernel 2.0.36.  I'll try just the machine name
because since installation the /etc/HOSTNAME is the FQDN without the
trailing period.

Thanx

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