*BSD News Article 22775


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!ee.und.ac.za!hippo.ru.ac.za!kudu!g89r4222
From: g89r4222@kudu.ru.ac.za (Geoff Rehmet)
Subject: Re: Problem with getsockname (FreeBSD 1.0 EPS)
Message-ID: <g89r4222.751316470@kudu>
Sender: news@hippo.ru.ac.za (Usenet News Admin)
Organization: Rhodes University, Grahamstown, South Africa
References: <CF9Brx.7LK@puffin.uucp>
Date: Fri, 22 Oct 1993 19:01:10 GMT
Lines: 25

In <CF9Brx.7LK@puffin.uucp> pete@puffin.uucp (Pete Carah) writes:

>I've got a problem with inetd starting; if I disable the rpc entries
>in inetd.conf everything is fine.  If not, it hangs on getsockname(),
>apparently because I'm not running named and also am not connected to
>a machine that is.  I took bind out of /etc/host.conf and rebooted, to
>no avail.  There is no resolv.conf, and I don't want to figure out a
>viable named configuration yet.

This may be due to a problem in your /etc/rc.  (Then again I may
be flinging a wild guess.)
In order to get things working properly with RPC you must have a
portmapper running - which the default rc file starts if you are
running an NFS server.  (It doesn't start it if you aren't
running an NFS server.)  Inetd does fall over if you are not
running a port mapper.

Maybe this might solve your problem.

Geoff.
--
===========================csgr@alpha.ru.ac.za================================
 Geoff Rehmet, Parallel Processing Group, |  ____   _ o         /\
 Computer Science Department,             | ___  _-\_<,        /\/\/\
 Rhodes University, RSA.                  |     (*)/'(*)    /\/\/\/\/\