The utadm command is not able to parse the default
/etc/hosts
file when trying to configure the Sun Ray network. The
following error may occur when using the utadm -a or utadm
-A commands on an Oracle Linux-based Sun Ray server:
Error: host IP address must be set. Set host IP address and try again
On Oracle Linux systems, you must make sure that the system's host name specified during the
Oracle Linux installation is configured properly in the /etc/hosts
file. The
system's host name must be on a separate line in the /etc/hosts
file with
an IP address matching the host's primary IP address.
Here is an example of an etc/hosts
file that contains the system's
host name, srshost
, on the same line as localhost
:
127.0.0.1 srshost localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
The srshost
host name must be on its own line
for the utadm command to work:
127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.1.1 srshost