Case

On some OS platform for example AIX, saposcol does not start during starting sap system or following error occurs if you try to restar it manually:

Illegal instruction (core dumped)

in addition to message “Shared Memory not attached. Collector not running” in st06

Solution

May be because of applying or updatig some operating system executables, system patches or something another newly changed

Your operating system need tha last version of saposcol

Download the last, version of Kernel 7.20 EXT matching your operatig system

kill saposcol:
/usr/sap/SID/SYS/exe/run/saposcol -k

delete its shared memory:
/usr/sap/SID/SYS/exe/run/saposcol -c

Extract new saposcol under /usr/sap/SID/SYS/exe/run nad  change its file owner and permissions for example on unix/linux as follows

# chown root:sapsys /usr/sap/SID/SYS/exe/run/saposcol
# chmod 4755 /usr/sap/SID/SYS/exe/run/saposcol

start it:
/usr/sap/SID/SYS/exe/run/saposcol -l

Check in transaction st06 if some OS values appear