The agent patch fails to install and the The patch_install.log in agent installs directory reports:
An IOException occured. java.io.FileNotFoundException: /path/to/SystemAgent/WA_AGENT_AD1/cybspawn.bin (Text file busy)
The patch script tries to shut down the agent before applying the patch to CA Workload Automation System Agent. It is possible that the agent may not fully shutdown and may require manual intervention.
If an error occurs, run the following command as root
lsof | grep -i cybspawn
If the command shows any open files, then use the kill command to kill the PID associated with cybspawn and cybAgent processes. Then try to re-install the agent. Restarting the system may be required if the cybspawn process does not get cleared.