sp_ctrl fails with a message 'sp_cop not working or TCP/IP port not set-up' . In the event_log file, there is an entry like:
Error: Shutting down SharePlex: HostID not found from CPA/Lib/LicenseGetMachInfo [sp_cop/
As described, sp_cop and replication keeps working fine, but it's impossible to launch sp_ctrl.
Failure of sp_cop due to memory leak inside of the AIX libraries used by sp_cop to run odm and/or running out of shared memory while checking the license. This will cause issues with lauching sp_ctrl.
This is a known issue with AIX, there has been no fix from IBM as of the date of writing. Issue has been worked around in post Shareplex 5.3.3.x versions, hence there is the need to upgrade to Shareplex 5.3.4.x or higher version.
If immediate upgrade is not an option, restarting sp_cop is a temporary workaround for this issue.
To check for a memory leak you can periodically execute the command ps v <pid_for_sp_cop>, and then check the size:
$ ps v 69406
PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND
69406 pts/7 A 0:02 186 23288 23964 xx 1251 676 0.0 0.0 /splex/61
If the leak is occurring, the SIZE value will increase every 2-5 minutes.
This problem was worked-around in 5.3.4 by calling odm only at startup and when the license changes
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy