Install Fails Due To Permission Denied on /tmp

book

Article ID: 207826

calendar_today

Updated On:

Products

CA Workload Automation AE - System Agent (AutoSys)

Issue/Introduction

Autosys agent installation fails when we attempt to install on a RHEL8 server. 

The below errors are visible in the installation log:

System's temporary directory = /tmp
Command.run(): Cannot run program "/tmp/397525.tmp/executeScriptTmp0": error=13, Permission denied
Directory does not exist:/opt/CA/SharedComponents/Csam/SockAdapter/lib64
8. final log file name=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT1/WA_Agent_12.0.00.00_Install_02_03_2021_12_45_14.log
XMLScriptWriter: No Installation Objects were skipped
Retrying Installables deferred in pass 0
Deferral retries done because: 
There were no deferrals in the last pass.
Command.run(): Cannot run program "/tmp/397525.tmp/executeScriptTmp0": error=13, Permission denied
Command.run(): Cannot run program "/tmp/397525.tmp/executeScriptTmp0": error=13, Permission denied
Execute Custom Code
    class cybermation.iainstaller.library.CybFatalLinuxService FatalInstallException Service could not be registered. Problem copying init file. /opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT1/waae_agent-WA_AGENT1
Command.run(): Cannot run program "/tmp/397525.tmp/executeScriptTmp0": error=13, Permission denied
SHUTDOWN REQUESTED

Environment

Release : 12.0

Component : CA Workload Automation System Agent

Resolution

These errors are typically related to the fact that the /tmp filesystem on the server is likely setup as non-executable. Please engage your System Administrator to verify and take corrective action to allow for execution of scripts from /tmp.