Error in spool log: /etc/auto.profile: No such file or directory
search cancel

Error in spool log: /etc/auto.profile: No such file or directory

book

Article ID: 368951

calendar_today

Updated On:

Products

CA Workload Automation DE - Business Agents (dSeries)

Issue/Introduction

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

 

Environment

CA Workload Automation System Agent: 12.1 sp1

 

Cause

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). 

 

Resolution

There are two options for resolving this problem. 

  1. Install the agent as root (or using sudo); or
  2. Comment out the "EWAGLOBALPROFILE=/etc/auto.profile" line in the <agent_install_dir>/profiles/WAAE.txt file and restart the agent.

 

Additional Information

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)