Jobs are getting Stuck in READY/ACTIVE state and not working even after restarting system agent
CA Workload Automation Agent Unix Environments
Version R11.x, R12
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 if you want to access spool folder then you must have search access 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