bug-coreutils
[Top][All Lists]
Advanced

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

Re: 00000000 hostid?


From: James Youngman
Subject: Re: 00000000 hostid?
Date: Thu, 19 Apr 2007 19:50:16 +0100

On 4/19/07, Rohit Priyadarshi <address@hidden> wrote:
Hello,

I am getting 00000000 as hostid. When I had purchased some software, it
was okay for some time, but It has recently stopped working. The hostid
is now printing as 00000000. I have been keeping my Fedora core 6
up-to-date. Please help. I don't see any documentation on this utility.

hostid returns the result of gethostid(2).  You could read the
documentation for that.   But briefly, on the system I am using here,
it consults /etc/hostid if that is present, and if it is not it uses
an IP address of the machine on which you run the command.

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]