host.conf problem
Fred Grant
fdgrant at powercom.net
Tue Aug 30 23:24:55 UTC 2005
On Mon, 2005-08-29 at 18:18, Bob McClure Jr wrote:
> On Mon, Aug 29, 2005 at 06:06:20PM -0500, Fred Grant wrote:
> > On log-in, I periodically and sporadically get a message that the system
> > can't determine the host for Internet use. When I check the host.conf
> > folder it is missing the "localhost.localdomain" info.
>
> That does not compute. /etc/host.conf (a file, not a folder) normally
> contains
>
> order hosts,bind
>
> and that's all. Perhaps you're thinking of /etc/hosts, which should
> have something like (mine as an example):
>
> 127.0.0.1 localhost.localdomain localhost
> 192.168.2.2 bobcat.bobcatos.com bobcat
>
> > I can fix it by (as root) copying hosts.bak to this folder but it is
> > kind of a pain.
> >
> > Any ideas as to why this periodically drops out? I'm using FC2.
> >
> > Thanks
>
> Cheers,
You are right Bob, it's /etc/hosts that loses the localhost.localdomain
info. I wonder if I could incorporate copying of this info into the
daily cron job? Seems funny that the info periodically gets lost.
More information about the Redhat-install-list
mailing list