buggered localhost

Kurt Wall kwall
Mon May 17 11:48:09 PDT 2004


An unnamed Administration source, Joel Hammer, wrote:
> Make sure /etc/hosts wasn't changed during the configuration of your modem.
> 
> Joel
> 
> On Fri, Jun 06, 2003 at 04:30:57PM -0700, Robert L. Hemus wrote:
> > All of my helpful comrades I need help, again.
> > I've got 2 partitions, a "using one" and a "learning one".  The
> > "learning" one was working fine until I tried to use KDE's Network
> > Configuration to set up the modem instead of the Kppp internet dial up
> > tool.  After I tried the Network thing I (I think that's how it
> > happened) when I try to print I get this Message Get_local_host:
> > hostname 'localhost' bad.  But at the beginning of a line it is this;
> > [bobhemus at localhost bobhemus]$
> > 
> > Anybody know what I might have done or how to fix it.  I can connect to
> > my server, that's how I'm sending this.
> > 
> > I'm running RH7.3.  Thank you for your help.
> > Bob

I guess I?d just hack at /etc/hosts and add the right entry to
/etc/hosts. Here, I have

127.0.0.1	localhost

However, Red Hat stores this information somewhere under /etc/sysconfig,
so you?ll have to edit the appropriate file to fix it permanently.

Kurt
-- 
Baker's First Law of Federal Geometry:
	A block grant is a solid mass of money surrounded on all sides
by governors.


More information about the Linux-users mailing list