If you have installed the earlier (Beta) version of Java Enterprise System, you need to remove the SUNWldapcsdk-tools package prior to installing the released (RR) version of JES 5. This is due to the change in location of the SUNWldapcsdk-tools package in the released version. If you do not remove this package and try to start up Calendar Server or Messaging server after installing the released version, you will get the error message:
Could not find .../bin/ldapsearch utility Please install the ldapcsdk-tools package
This error message is due to the change in the location of LDAP tools.
Two workarounds exist:
If you have not installed JES, remove the SUNWldapcsdk-tools package, prior to installing the released version of JES5. To check the SUNWldapcsdk-tools version, run the command pkgparam -v SUNWldapcsdk-tools VERSION.
You must have a version that is 6.00,REV=2006.12.11.00.08 or later. Otherwise, you will get an error message that the LDAP search utility is not found.
Use the pkgrm SUNWldapcsdk-tools command, to remove the SUNWldapcsdk-tools package.
If you have already run the JES5 installer, you can manually remove the SUNWldapcsdk-tools package, and install it using the command:
cd <jes5_distro>/Solaris_sparc/Product/shared_components/Packages pkgadd -d . SUNWldapcsdk-tools