hostid gives identical values on all FC machines

Andrew Mather mathera at gmail.com
Wed Dec 15 01:08:31 UTC 2004


Hi,


On Tue, 14 Dec 2004 17:01:35 -0600, aaron hirsch <aaronh at uptime.net> wrote:
> Verify you have actually change the hostname of the machines in
> questions.../etc/sysconfig/network & /etc/hosts...the value you show is
> returned when localhost.localdomain is in /etc/sysconfig/network...i saw
> the same issue, change the values in the files and issue the hostname
> <realhostname> command and try again.


Thanks for that.  It was the /etc/hosts file.  The others all had the
correct hostname, but /etc/hosts had it as 127.0.0.1 (along with
localhost)

Edited /etc/hosts and problem solved...no more identical triplets !  ;-)

Something must have changed in the way the hosts file is generated at
install time, because I don't recall ever having to do that before,
but OTOH, maybe that just means my memory is shot ;-)

Thanks again,
Andrew

> -----Original Message-----
> From: Andrew Mather [mailto:mathera at gmail.com]
> Sent: Tuesday, December 14, 2004 4:40 PM
> To: fedora-list at redhat.com
> Subject: hostid gives identical values on all FC machines
> 
> Hi list,
> 
> I've got to install a piece of software which uses the value returned
> by 'hostid' to generate a license key.   I've previously done this on
> various flavours of RedHat, from about 5.2 onwards.
> 
> I've recently acquired 2 dual-opteron nodes and have installed FC2 for
> AMD and run all the updates.
> 
> This morning, someone went to get the hostids and found both machines
> return identical values (7f0100).  I also tried on an FC3 machine
> running on an i686 box and got the same return.
> 
> I've googled around, but haven't been able to find anything useful.
> 
> Anyone else found this and has something changed and can anyone help me
> to get a unique value ?
> 
> Thanks,
> Andrew
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list