Issue Details (XML | Word | Printable)

Key: GLASSFISH-10330
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: scatari
Reporter: leonfan
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.

Re-install into same direction failed

Created: 15/Oct/09 11:30 PM   Updated: 06/Mar/12 09:59 PM
Component/s: installation
Affects Version/s: v2.1.1
Fix Version/s: not determined

Time Tracking:
Not Specified


Operating System: Solaris
Platform: Sun

Issuezilla Id: 10,330
Status Whiteboard:


Tags: 3_1-exclude future-exclude
Participants: easarina, leonfan, scatari and Tom Mueller

 Description  « Hide

I install b31f ee on solaris 10 sparc. Everything work well. Then I uninstall it
and delete SUNWappserver as well. I try to install it again to same directory,
installer will remind me one version already there, and installation will fail
if I continue.

scatari added a comment - 19/Oct/09 12:18 PM

Looks like the uninstallation process was not successful for some reasons. Also Could u please remove
the file /var/sadm/install/productregistry if the installation was run as root OR $HOME/productregistry if
the installation was run as non-root user before re-running it again.

If you are able to successfully uninstall after deleting this file, then it is a problem with partial uninstall. I
would advice to go through the install and uninstall sequence once again and looking at the log file during
uninstall process to see if there are errors or warnings reported.

leonfan added a comment - 20/Oct/09 12:27 AM

I confirmed there is no exception in uninstallation log file. It seemed cause
by registration data as you mentioned. Do uninstaller remove those data

easarina added a comment - 23/Oct/09 03:01 PM

I've tried GF 2.1.1 EE build 31g on Solaris and Linux machines.

GF 2.1.1 EE uninstaller doesn't remove correspondent entries from
productregistry file ( /usr/tmp/productregistry on Linux and
in /var/sadm/install/productregistry on Solaris)

With GF 2.1.1 entries in productregistry file, the attempt to install GF 2.1.1
EE or Sailfin at the same location, will create an installer message. This
message will tell that at this location was detected a previous installation
and your installation may have issues if you will do the installation in that
location. It happened, for example, if such directory doesn't exist at all.

I believe the uninstaller have to remove correpondent entries from
productregistry. Or at least this issue has to be documented

easarina added a comment - 27/Oct/09 03:24 PM

This problem exists on Linux and Solaris machines, but doesn't exist on Windows,
because for Windows installations the productregistry file would not be created
at all.

The work around for Solaris or Linux installations:

Remove the productregistry file: /usr/tmp/productregistry on Linux and
/var/sadm/install/productregistry on Solaris. Or remove correspondent GF
entries from the productregistry file.

scatari added a comment - 04/Oct/10 04:57 PM

Does not apply to 3.1.

kenaiadmin made changes - 26/Nov/10 12:08 AM
Field Original Value New Value
issue.field.bugzillaimportkey 10330 41934
Tom Mueller added a comment - 06/Mar/12 09:59 PM

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Tom Mueller made changes - 06/Mar/12 09:59 PM
Fix Version/s not determined [ 11149 ]
Fix Version/s V3 [ 10981 ]