Jobs get stuck in READY/ACTIVE state and do not start properly even after restarting system agent
Workload Automation Agent Unix
The spool file contained the following error
cybspawn: unable to obtain the message queue ID. errno:13 Reason: The file access permissions do not allow the specified action.
The problem was due to the fact that the /opt/CA did not have valid permissions for the world
drwxr-x--- 6 root system 256 Apr 12 18:12 /opt/CA
The ‘/opt/CA’ is a folder and it needs execute permission to be browsable. x bit for directory is also called as search bit. Actually, it enables you to access the inodes of the files listed inside the folder. So, to access spool folder, then parse (execute) access is needed on every parent folder.
Grant execute permission for folder /opt/CA to avoid any execute restriction
chmod 755 /opt/CA
Please refer the following link for additional information on file and folder permissions