Date: Tue, 26 Jun 2001 20:18:48 -0700 (PDT) From: Manas Bhatt <bhatt_manas@yahoo.com> To: Radhika Sambamurti <radhika_narendran@yahoo.com>, Gene Harris <geneh51@swbell.net> Cc: freebsd-questions@freebsd.org Subject: Re: hostname on /etc/hosts file Message-ID: <20010627031848.94060.qmail@web10701.mail.yahoo.com> In-Reply-To: <20010626175856.73401.qmail@web9306.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <radhika_narendran@yahoo.com> 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 <geneh51@swbell.net> wrote: > > Have you entered your machine's name using > hostname? It > > needs to know who > > it is. > > > > Gene > > ----- Original Message ----- > > From: "Radhika Sambamurti" > <radhika_narendran@yahoo.com> > > To: <freebsd-questions@freebsd.org> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010627031848.94060.qmail>