[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Hostname



At 03:31 PM 5/30/2003 -0500, you wrote:

On Friday, May 30, 2003, at 03:18  PM, Ryan Howe wrote:

Our raq 2 has no hostname after a crash.  I can not start up httpd because
that fails with  [alert] mod_unique_id: unable to gethostbyname("(none)").
When I do hostname i get (none). Any advise?  Thanks. How do I set the
hostname by the commandline?

Check /etc/hosts to see if it's in there. If not add it.

11.11.11.11 <tab> hostname

You should also check /etc/sysconfig/network

and /etc/sysconfig/network-scripts/ifcfg-eth0

Cheers,
Glenn