utadm -A will not work

I installed SunRay with no problems. Ran utconfig. Now when I try to add the subnet my clients are on I get an error message:

### Configuring Service information for Sun Ray

Error: unable to add vendor options to dhcp:

DHCP options configuration already exists.

Everything I tried was usless. I would really appreciate it if someone could help me.

[378 byte] By [kuchev] at [2007-11-26 9:27:51]
# 1

If this system has been a Sun Ray server in the past or if you copied DHCP configuration data from some other Sun Ray server than you might have a partial set of Sun Ray DHCP macros that is confusing 'utadm'. Try running 'utadm -r' to remove any existing Sun Ray DHCP configuration, then run 'utadm -A' again.

If that doesn't work then it would help if you gave more information about your system. What release of Sun Ray are you using, on what operating system?

ottomeister at 2007-7-7 0:08:16 > top of Java-index,Desktop,Sun Ray Software - General Discussion...
# 2
I have tried -r before. But thank you anyway. I figured it out. There was a file: /var/dhcp/SUNWbinfiles1_dhcptab. Once I moved it out it worked just fine. I guess it saves dhcp options.
kuchev at 2007-7-7 0:08:17 > top of Java-index,Desktop,Sun Ray Software - General Discussion...
# 3

I have another problem with utadm. When i try to configure it with ./utadm -A 192.168.0.0 i get:

error: host ip address must be set

Set host ip address and try again

I did define the host ip in dhcpd.conf file and the sunray 2 device is receiving the ip address correctly from the dhcp server.

rgallardocu at 2007-7-7 0:08:17 > top of Java-index,Desktop,Sun Ray Software - General Discussion...
# 4

'utadm' is trying to find the external IP that corresponds to this machine's hostname, but it's unable to find it. The most common reasons are that either the machine's hostname in /etc/hosts is mapped to the 127.0.0.1 loopback address, or that there is no IP address at all that matches the machine's hostname.

Do 'getent hosts `hostname`'. If it says 127.0.0.1 then edit your /etc/hosts and remove the hostname from the 127.0.0.1 line. Then make sure that the file contains an entry that provides an appropriate external IP address for this machine's hostname. (Run the 'getent' again after editing the file to check that it's now finding the external IP.) You can restore the 127.0.0.1 line after running 'utadm' if you wish.

If the 'getent' says nothing then edit /etc/hosts and create an entry that defines an external IP address for this machine's name. You might have to create a brand new entry, or you might just have to extend an existing entry in order to get around a mismatch between the naked machine name and a qualified domain name in the /etc/hosts entry.

ottomeister at 2007-7-7 0:08:17 > top of Java-index,Desktop,Sun Ray Software - General Discussion...