running the tpm file as the current owner of a shareplex installation and it asks for the proddir and vardir where shareplex is currently installed then complains that the directory is not empty. When upgrading if you need to hit any key other than the [enter key] after typing the name of the tpm file then something is wrong and you are running a fresh install and not an upgrade.
# ./SharePlex-7.5.2-b34-oracle100-sun-8-sparc.tpm
Unpacking ..................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
...............
SharePlex for Oracle installation program:
SharePlex Version: 7.5.2
Supported Oracle Version: 10gR2
Build platform: sun-8-sparc
Target platform: sun-10-sparc
Please enter the name of the user that will be the SharePlex Admin? [splex] spxadmin Please enter the product directory location? /shareplex/spx75/ Please enter the variable data directory location? /shareplex/vardata1/ ...Installation failed...
Installation log saved to: /export/home/spxadmin/.shareplex/INSTALL-SharePlex-7.5.2-1108111325.log
ERROR: tpm: spo-check-locations: Location "/shareplex/spx75" must be empty for new installation (see log for the content)
The user that is upgrading shareplex doesn't know about the current installation. check the users home directory .shareplex for a file called install.conf also check that the user has read and write permission to this directory.
test that the user can create a file in the home directory /.shareplex by touching a file "touch foo" in that directory. If the file install.conf is in the directory and has the format of
[korcl@eol32_source .shareplex]$ cat install.conf
---
instances:
"100":
/splex/proddir: 7.5.2.34
this file holds the information for upgrading a previous installed version. If this file doesn't show the current vardir then the installer will only do a fresh install and not an upgrade, hence the can't install if directory is not empty.
Additional Information:
this is the text of an upgrade
[korcl@eol32_source ~]$ id
uid=500(korcl) gid=501(dba) groups=501(dba)
[korcl@eol32_source ~]$ ./SharePlex-7.5.2-b34-oracle100-rh-30-x86.tpm
Unpacking ..................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........