On Tue, 2008-06-10 at 12:40 +0200, Erling Ringen Elvsrud wrote:
> Hello list,
>
> Installation of the CA-unicenter agents used to monitor my servers fails if
> HOSTNAME is set to FQDN in /etc/sysconfig/network.
Then this is a bug in CA-Unicenter, in my opinion.
> Do you know if the RH practice of storing the fqdn in HOSTNAME is
> common practice and sensible? or is it better to use only the hostname
> in HOSTNAME and add the fqdn to /etc/hosts?
If you don't use FQDN in the HOSTNAME variable, then the following
commands will not work as intended:
hostname
hostname -s (supposed to return short hostname)
hostname -f (supposed to return FQDN)
If $HOSTNAME is set to the short hostname, hostname -f will not return
FQDN.
/Brian/
--
Brian Long | |
. | | | . | | | .
' '
C I S C O
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list