This procedure describes how to perform a cleanup on your machine after a partial, failed installation of the package-based Application Server 9.1 distribution. You can use this procedure for preparing your machine for installing Application Server.
Remove the partly installed Application Server by running the following commands:
On Solaris:
cd /var/sadm/pkg
ls -ltr
pkgrm <Application Server packages>
On Linux:
rpm -qa|grep -i sun
rpm -e <Application Server rpm>
If you have removed packages manually, you need to delete the correspondent entries from the productregistry file or delete the productregistry file.
The location of productregistry file: /var/sadm/install directory on Solaris, /var/tmp/ directory on Linux.
Kill any running Application Server processes.
Remove the Application Server installation directory.