[6304] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Trying dip gives "hostname lookup failure"

daemon@ATHENA.MIT.EDU (Mike Stanczyk)
Tue Nov 26 16:57:34 1996

Date: Tue, 26 Nov 1996 14:48:57 -0700 (MST)
From: Mike Stanczyk <stanczyk@spot.Colorado.EDU>
To: RedHat Server <redhat-list@redhat.com>
In-Reply-To: <Pine.LNX.3.95.961126214257.471A-100000@kennis>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Tue, 26 Nov 1996, Julien Michielsen wrote:
> Thanks for your help. However, re-installing my old /etc/resolv.conf
> and /etc/hosts did not make any difference. Running /usr/sbin/dip
> is enough to get the error-msg "kennis: Hostname lookup failure",
> with "kennis" being my hostname.
> 
> ---
> Julien Michielsen                                     +31-10-4765.771
> 
Silly question time: What are the permissions on dip?  I had the problem
that unless dip is run as root, you will get odd messages including hostname
lookup failure.  

You could use sudo, login as root, or setuid dip to root.  Personally, and I
know it's dangerous, I set dip suid root.  

Oh, if you have any problems with dip not able to create a lock file, check
that each directory to the lock file, like /var/lock, is group writeable, 
and maybe set dip groupid.

It's a mess but mine works.

Mike Stanczyk
stanczyk@spot.colorado.edu



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post