🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jeff Holloway Fri, 12 Jun 1998 00:00
Inn 2.0 config problem revisited...
#29103
Author: Jeff Holloway
Date: Fri, 12 Jun 1998 00:00
22 lines
1678 bytes

I posted this problem earlier this week, with no responses, so here it is
again. Linux system running kernel 2.1.6, inn 2.0 compiled, installed, and
config files edited for my setup. Whenever I try to run any command that
reads inn.conf, it says 'Must set 'domain' in inn.conf'. The problem is, I
*have* set the domain variable. If I rename the inn.conf file, programs
(like makeactive, makehistory) complain they can't find the file, so I know
my paths are set correctly.
I'm further confused by the fact that GetFQDN() appears to be returning NULL
on my system. gethostname() tests out correctly, though I believe that
several tests of gethostbyname() are puking because I don't have -lsocket or
-lnsl. But I'm no programmer. I just can't figure out why the 'domain'
variable in inn.conf is not being read. Any ideas? Anyone?

Jeff

-- 
Jeff Holloway     |  Quidquid latine dictum sit, altum viditur 
jeffh@tech7.com   |  The year 2000 is STILL the 20th century

Re: Inn 2.0 config problem revisited...
#29134
Author: Bert Hyman
Date: Fri, 12 Jun 1998 00:00
27 lines
1800 bytes
In article <6lrbnv$lhf$1@sysadmin.tech7.com>, Jeff Holloway <jeffh@tech7.com.> wrote:

>I'm further confused by the fact that GetFQDN() appears to be returning NULL
>on my system. gethostname() tests out correctly, though I believe that
>several tests of gethostbyname() are puking because I don't have -lsocket or
>-lnsl ...

I'm not running 2.0 yet because I'm just naturally conservative (read lazy), 
but I have done a few test builds of various snapshots.

I found that on my system (running Unisys UNIX, an SVR4.0 variant), the 
configure script failed to find either "gethostbyname" or "socket" because the 
test programs linked with just -lnsl or -lsocket respectively; our libraries 
are arranged such that BOTH libraries be used when either of these routines 
is called.

Of course, without "-lnsl -lsocket" added to $LIBS, the INN programs won't 
link at all, so something else must be going on in your case. 

--
The opinions expressed in this message are my own and are not the opinions of
anyone who does not hold those opinions.
Bert Hyman | Unisys - Roseville MN
bert@rsvl.unisys.com | (612) 635-7791 | net2: 524-7791

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