When upgrading Shareplex, you run into the following error
suntrain6 # ./SharePlex-6.1.1-b10-oracle100-sun-8-sparc.tpm
Unpacking ..................................................................
..........................................................................
..........................................................................
..........................................................................
............
SharePlex for Oracle installation program:
SharePlex Version: 6.1.1
Supported Oracle Version: 10gR2
Build platform: sun-8-sparc
Target platform: sun-8-sparc
Please enter the name of the user that will be the SharePlex Admin? [splex] oracle
Please specify the product directory location (select a number):
1. [/u02/splex/534/10/prod is version 5.3 (Oracle 10g) for user "myuser"]
2. /u01/prod is version 6.1.0 (Oracle 10g)
3. <New installation ...>
? 2
WARNING: Process running - /u01/prod/.app-modules/sp_sync_launcher
...Installation failed...
Installation log saved to: /u03/oracle/.shareplex/INSTALL-SharePlex-6.1.1-08112g
ERROR: tpm: spo-check-running: The product is running, please stop it and try again
When you check for any Shareplex processes running for this instance of Shareplex, you find that there is indeed a sync launcher running on target:
suntrain6 # ps -ef|grep sp_
oracle 11917 1 0 Nov 11 ? 1:24 /u01/prod/.app-modules/sp_sync_launcher file=/u01/var/temp/launcher
The process sp_sync_launcher is running for this instance of Shareplex and is interfering with the upgrade.
The sp_sync_launcher is a process that is associated with the command "copy table" used to sync target table and it runs on target Shareplex. When you shutdown Shareplex instance prior to upgrade, all the child processes of Shareplex also exit. However, the sp_sync_launcher process does not go away and interferes with the upgrade as shown in the para above. The workaround is to kill the process as root as below:
kill -9 11917
One should be able to upgrade Shareplex after this.
A preventive measure would be to stop launcher prior to shutdown by sp_ctrl command "stop launcher" and then proceed with upgrade.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center