Results 1 to 2 of 2
Hi,
I have made appropriate entries in /etc/hosts and /etc/sysconfig/network. When i check it using the
#hostname i get my hostname which i have set for the server but
#hostname ...
- 02-09-2009 #1Just Joined!
- Join Date
- Feb 2009
- Location
- India
- Posts
- 2
Issue in using hostname -s
Hi,
I have made appropriate entries in /etc/hosts and /etc/sysconfig/network. When i check it using the
#hostname i get my hostname which i have set for the server but
#hostname -s results in hostname: unknown host
Could somebody help me to resolve this issue. what should be the cause of this error?
Thanks n Regards,
- 03-12-2009 #2
The hosts file needs to have the FQDN then the alias name(computername)
example me.you.com me
Cheers!
T


Reply With Quote