Error received when running Sp_ctrl:
" Note: <host> - Lost connection - 'sp_cnc' is no longer running
sp_ctrl (<host>)> Command was called with an invalid argument
Attempted to connect to sp_cop on port <port>"
When running multiple sp_cops, they may access the same shared memory address.
Event_log logs the following:
"Checking destination host state: <host> is connected
Error: Could not read shared memory location file [sp_cnc(que)/<pid>]
Notice: cannot initialize [sp_cnc/<pid>]
Error: Could not read shared memory location file [sp_cnc(que)/<pid>]
Notice: cannot initialize [sp_cnc/<pid>]Allocate a unique shared memory key to each sp_cop"
RESOLUTION:
1). Shutdown all five sp_cops.
2). Make sure that all five vardir/data/paramdb files contain the following entries respectively. If the entries do yet exist, please add them to the paramdb and save the file.
VARDIR_cop1/data/paramdb
SP_QUE_IPCKEY A
SP_SHS_IPCKEY a
VARDIR_cop2/data/paramdb
SP_QUE_IPCKEY B
SP_SHS_IPCKEY b
VARDIR_cop3/data/paramdb
SP_QUE_IPCKEY C
SP_SHS_IPCKEY c
VARDIR_cop4/data/paramdb
SP_QUE_IPCKEY D
SP_SHS_IPCKEY d
VARDIR_cop5/data/paramdb
SP_QUE_IPCKEY E
SP_SHS_IPCKEY e
3). Go to each VARDIR/rim directories and remove the following files, this files get recreated when you start sp_cop:
shstinfo.ipc
shmaddr.loc
4). Start each sp_cop.