Unable to start sp_cop and the following shows up in the event_log.
Error 2012-02-22 17:51:36.421310 1673 4135217552 Cop: queue initialization failed - exiting [module cop]
Notice 2012-02-22 17:51:38.421625 1673 4135217552 Cop: Result (22) Invalid argument calling semctl to remove semaphore (3011) [module shs]
Notice 2012-02-22 17:58:05.754181 3213 1650366864 SharePlex for Oracle RAC/OPS, "Trial Key" will expire on Midnight of Apr 19, 2012
Notice 2012-02-22 17:58:05.757277 3213 1650366864 Cop: Result (22) Invalid argument calling semget to get semaphore (3007) [module shs]
Notice 2012-02-22 17:58:05.757326 3213 1650366864 Cop: The semaphore array size (513) exceeds system limits or is greater than on existing semaphore key 0x13f56b [module shs]
Low Kernal parameter settings will cause this error.
RESOLUTION 1:
The above errors are a result of low system settings.
Log on as root.
List the current kernel parameters with the sysconfig -q ipc command at the UNIXprompt.
#/sbin/sysconfig -q ipc
#/sbin/sysconifgdb -l ip
The following kernel parameters need to be set at the minimum specified below. The first one sem_msl is not currently listed in documentation, but this parameter will be updated in our documentation:
sem_msl 128
sem_opm 64
sem_mni 70
sem_ume 255
RESOLUTION2:
Check the paramdb file from vardir/data directory and look for the value corresponding to SP_QUE_MAX_QUEUES. Default value for this is 25 and If this is set to a higher value than the Kernal parameters, reduce this and restart sp_cop.