DHCP Server (dhcpmgr) problem on Solaris 10

I am new to Solaris and Unix.

I have Solaris 10 running on a SunFire V240. A DHCP server was configured and used in the past on this workstation with no problems.

I have recently changed the IP address of the workstation by making the appropriate changes in the following files:

/etc/hosts

/etc/netmasks

/etc/defaultrouter

/etc/inet/ipnodes

Now, when I try to run the DHCP manager (GUI) using the following command:

/usr/sadm/admin/bin/dhcpmgr &

I get the following response:

/usr/sadm/admin/bin/dhcpmgr: /usr/java/bin/java: cannot execute

Any help would be appreciated.

Thanks

[660 byte] By [dkilinda] at [2007-11-26 22:21:07]
# 1
Hello,As sun dhcpmgr package is needed for that ,i suggest you to install the required pkg...or check by using the tool ./dhcpmgr and ./dhcpagent.these are the pkg helps to move a little forward to configure the dhcp mgr.
nn06a at 2007-7-10 11:18:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Seems like you are lacking a java release. .7/M.
mAbrantea at 2007-7-10 11:18:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

mAbrante:

Thanks for the tip. The "dhcpmgr" script was executing an incorrect "java" file from a wrong directory.Once this was fixed to point to the "java" file in the correct directory, the dhcp manager GUI came up.

The question remains open as to why this was not an issue before, but I won't complain as long as it works now.

dkilinda at 2007-7-10 11:18:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...