After installing the Workload Automation System Agent, we're seeing the following error in our spool log after trying to run a simple command:
<agent_install_dir>/spool/<scheduler_instance>/MAIN/<WAAE_DIR>/<temp_jobid>_wrapper.sh: line 3: /etc/auto.profile: No such file or directory
CA Workload Automation System Agent: 12.1 sp1
This file (/etc/auto.profile and /etc/profile.CA) typically gets laid down during the agent installation. This step of the agent installation will fail (with a permission denied) when installing the agent as a user other than root (or sudo).
There are two options for resolving this problem.
Example of error seen in agent install log (ex: WA_Agent_12.1.01.00_Install_<date_time>.log):
Custom Action: cybermation.iainstaller.library.UpdateProfileFile
Status: FATAL ERROR
Additional Notes: FATAL ERROR - class cybermation.iainstaller.library.UpdateProfileFile FatalInstallException: /etc/profile.CA (Permission denied)