The following errors are observed when invoking sp_ctrl from app-modules directory (the sample output is from a particular version of Shareplex though other versions may also have similar output, though not identical):
[spadmin@NAME]/plexvar/7.0/prod/.app-modules
> sp_ctrl
/usr/lib/hpux64/dld.so: Unable to find library
'libsp-7.0.2-shareplex.so.2'.
Killed
OR
./sp_ctrl
ld.so.1: ./sp_ctrl: fatal: libspshareplex.so.7.5.2.1: open failed: No such file or directory
Killed
The command needs to be invoked using the launcher . It gets the invalid library error as the envirnoment is not set up.
Syntax to invoke the command from app-modules directory:
./launcher sp_ctrl
This sets up the envirnoment for sp_ctrl to be launched using the approriate libraries.
The command can be invoked from bin directory under the product directory of Shareplex .
[spadmin@NAME]/plexvar/7.0/prod/bin
> sp_ctrl
This is applicable to Shareplex versions 6.0 and up.
Additional Information:
The following are the sample screen shots of the various binaries and soft links in app-modules and bin directories respectively:
# cd .app-modules
-i # ls -al
total 70284
drwxrwxr-x 2 oracle spadmin 1024 Jan 13 16:31 .
drwxrwxr-x 12 oracle spadmin 512 Jul 2 2010 ..
-rwsr-sr-x 1 oracle spadmin 16510 Jan 13 16:31 adminize
-rw-rw-r-- 1 oracle spadmin 1490 Jan 13 16:31 cleanup.sql
-rwxrwxr-x 1 oracle spadmin 2132 Jan 13 16:31 clean_vardir.sh
-rwxrwxr-x 1 oracle spadmin 338115 Jan 13 16:31 clear_reclaim
-rwxrwxr-x 1 oracle spadmin 386576 Jan 13 16:31 diff-cache
-rwxrwxr-x 1 oracle spadmin 517255 Jan 13 16:31 dumpfile
-rwxrwxr-x 1 oracle spadmin 358840 Jan 13 16:31 dumpque
-rwxrwxr-x 1 oracle spadmin 107544 Jan 13 16:31 iwgrep
-rwxrwxr-x 1 oracle spadmin 111068 Jan 13 16:31 iwsnmptrap
-rwxrwxr-x 1 oracle spadmin 4117 Jan 13 16:31 launcher
-rwxrwxr-x 1 oracle spadmin 400661 Jan 13 16:31 ora_chpwd
-rwxrwxr-x 1 oracle spadmin 1441 Jan 13 16:31 ora_cleansp
-rwxrwxr-x 1 oracle spadmin 423850 Jan 13 16:31 ora_setup
-rwxrwxr-x 1 oracle spadmin 6458 Jan 13 16:31 perf_mon.sh
-rwxrwxr-x 1 oracle spadmin 386166 Jan 13 16:31 print-cache
-rwxrwxr-x 1 oracle spadmin 1087442 Jan 13 16:31 provision
-rwxrwxr-x 1 oracle spadmin 549033 Jan 13 16:31 qview
-rwxrwxr-x 1 oracle spadmin 1843700 Jan 13 16:31 sa_ocap
-rwxrwxr-x 1 oracle spadmin 71188 Jan 13 16:31 socket_test
-rwxrwxr-x 1 oracle spadmin 2446 Jan 13 16:31 sp-bininfo
-rwxrwxr-x 1 oracle spadmin 5859 Jan 13 16:31 sp_bundle
-rwxrwxr-x 1 oracle spadmin 1897388 Jan 13 16:31 sp_cnc
-rwxrwxr-x 1 oracle spadmin 459640 Jan 13 16:31 sp_cop
-rwxrwxr-x 1 oracle spadmin 2766688 Jan 13 16:31 sp_ctrl
-rwxrwxr-x 1 oracle spadmin 1410410 Jan 13 16:31 sp_declt
-rwxrwxr-x 1 oracle spadmin 1456818 Jan 13 16:31 sp_desvr
-rwxrwxr-x 1 oracle spadmin 336982 Jan 13 16:31 splex_add_key
-rwxrwxr-x 1 oracle spadmin 330647 Jan 13 16:31 splex_get_key
-rwxrwxr-x 1 oracle spadmin 351070 Jan 13 16:31 splexkeys
-rwxrwxr-x 1 oracle spadmin 361750 Jan 13 16:31 splexrpt
-rwxrwxr-x 1 oracle spadmin 339119 Jan 13 16:31 splex_uname
-rwxrwxr-x 1 oracle spadmin 344842 Jan 13 16:31 sp_mport
-rwxrwxr-x 1 oracle spadmin 2019727 Jan 13 16:31 sp_ocap
-rwxrwxr-x 1 oracle spadmin 3269114 Jan 13 16:31 sp_opst_mt
-rwxrwxr-x 1 oracle spadmin 987125 Jan 13 16:31 sp_ordr
-rwxrwxr-x 1 oracle spadmin 630061 Jan 13 16:31 sp_oreconcile
-rwxrwxr-x 1 oracle spadmin 3937762 Jan 13 16:31 sp_sync_clt
-rwxrwxr-x 1 oracle spadmin 1910839 Jan 13 16:31 sp_sync_launcher
-rwxrwxr-x 1 oracle spadmin 5043283 Jan 13 16:31 sp_sync_svr
-rwxrwxr-x 1 oracle spadmin 720782 Jan 13 16:31 sp_tconf
-rwxrwxr-x 1 oracle spadmin 371870 Jan 13 16:31 sp_xport
lrwxrwxrwx 1 oracle spadmin 18 Jan 13 16:31 vardirs.log -> ../bin/varg…………….
# cd bin
# ls -al
total 36
drwxrwxr-x 2 oracle spadmin 512 Jan 13 16:31 .
drwxrwxr-x 12 oracle spadmin 512 Jul 2 2010 ..
lrwxrwxrwx 1 oracle spadmin 27 Jan 13 16:31 cleanup.sql -> ../.app-modules/cleanup.sql
lrwxrwxrwx 1 oracle spadmin 31 Jan 13 16:31 clean_vardir.sh -> ../.app-modules/clean_vardir.sh
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 dumpfile -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 dumpque -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 ora_chpwd -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 ora_cleansp -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 ora_setup -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 qview -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_cop -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_ctrl -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_declt -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_desvr -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_sync_clt -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_sync_launcher -> ../.app-modules/launcher
lrwxrwxrwx 1 oracle spadmin 24 Jan 13 16:31 sp_sync_svr -> ../.app-modules/launcher
-rw-rw-r-- 1 oracle spadmin 24 Jan 13 16:31 vardirs.log
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center