I figured out what the issue was. I had 2 nics, one with static ip and
other DHCP.
The /etc/hosts file has the following entries:
10.1.1.1 sunny1.ezhome.com sunny1
10.1.1.2 sunny2.ezhome.com sunny2
192.168.2.4 sunny1.ezhome.com sunny1
192.168.2.3 sunny2.ezhome.com sunny2
The DHCP is supposed to assign 192.168.2.4 to sunny1 but instead, it
allocated 192.168.2.3 and setup the hostname to be sunny2. It happened
on both my nodes and hence this issue. But now i have made the ips to
be static instead of DHCP.
Many Thanks to all members who tried to help me on this issue.
On Sat, May 23, 2009 at 3:18 PM, sundar mahadevan
To add one more detail on this issue, the uname -a shows the same value as the command "hostname" on the shell prompt.
On Sat, May 23, 2009 at 3:12 PM, sundar mahadevan
wrote: Hi members,
The subject says it all. When i enter hostname on the shell prompt, it gives me "sunny1" as the hostname while the hostname in hostname/DNS tab under network settings in YAST says "sunny2". I have 2 boxes and its the same case in both. On the other box, the names are vice versa. Both boxes are on opensuse 11.1
1) I recently removed the localhost entry in /etc/hosts file Does it have any impact on this issue. 2) And btw, where does hostname on shell prompt retrieve its value from?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org