From owner-freebsd-questions Tue Jun 26 20:18:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web10701.mail.yahoo.com (web10701.mail.yahoo.com [216.136.130.209]) by hub.freebsd.org (Postfix) with SMTP id 7D1BB37B401 for ; Tue, 26 Jun 2001 20:18:48 -0700 (PDT) (envelope-from bhatt_manas@yahoo.com) Message-ID: <20010627031848.94060.qmail@web10701.mail.yahoo.com> Received: from [203.200.52.16] by web10701.mail.yahoo.com; Tue, 26 Jun 2001 20:18:48 PDT Date: Tue, 26 Jun 2001 20:18:48 -0700 (PDT) From: Manas Bhatt Subject: Re: hostname on /etc/hosts file To: Radhika Sambamurti , Gene Harris Cc: freebsd-questions@freebsd.org In-Reply-To: <20010626175856.73401.qmail@web9306.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG thoug i am expert on this but as far as i know, while trying to resolve your hostname, it looks into the /etc/hosts file and find the corresponding entry missing and the hence host not found error. if you can add your hostname as well as the corresponding ip in the /etc/hosts file, the error should go away. --manas --- Radhika Sambamurti wrote: > Of course I entered my specific "hostname" in the > file. > My question is why does it not understand that my > hostname > is also the localhost? > > --- Gene Harris wrote: > > Have you entered your machine's name using > hostname? It > > needs to know who > > it is. > > > > Gene > > ----- Original Message ----- > > From: "Radhika Sambamurti" > > > To: > > Sent: Monday, June 25, 2001 7:41 PM > > Subject: hostname on /etc/hosts file > > > > > > > My etc/host file has only the first line as > "localhost" > > > without my hostname on the line. Every time I > startx, > > Gnome > > > tells me that my hostname could not be found and > that I > > > should put it in etc/hosts file. > > > > > > When I put it in the file, I kept getting > mail...saying > > > "hostname" not found . > > > > > > Any idea of what I might try here or what is > going on. > > > > > > Thanks > > > Radhika > > > > > > ===== > > > It's all a matter of perspective. You can choose > your > > view by choosing > > where to stand. > > > --Larry Wall > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Get personalized email addresses from Yahoo! > Mail > > > http://personal.mail.yahoo.com/ > > > > > > To Unsubscribe: send mail to > majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body > of the > > message > > > > > > > ===== > It's all a matter of perspective. You can choose > your view by choosing where to stand. > --Larry Wall > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of > the message __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message