Error during CA WA System Agent installation from CA WAAE DVD/ISO image: "/tmp/.checkProfile.sh: Permission denied"
search cancel

Error during CA WA System Agent installation from CA WAAE DVD/ISO image: "/tmp/.checkProfile.sh: Permission denied"

book

Article ID: 4988

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

The CA Workload Automation System Agent installation fails on Linux system with the below error:

"/tmp/.checkProfile.sh: Permission denied"

 

The error could be similar, if not exactly the same.

This would also stop the installation from progressing further.

Environment

CA Workload Automation Agent 11.x and later, on Linux platform

Cause

The potential causes for this error are:

  • Inappropriate permissions set on /tmp 
  • /tmp partition mounted with noexec, which stops anything being executed under /tmp.

Resolution

 

  • Inappropriate permissions set on /tmp 

Check the permissions for the /tmp to confirm if execute permissions are allowed to the user.

If not, proceed to change the folder permissions accordingly.

drw-rw-rw- 10 root root 4096 Dec 2 02:47 tmp 

For instance, (as shown above) if /tmp doesn't have execute permission, try changing the permissions to provide execute (x) permissions to the user. 

 

  • /tmp partition mounted with the inappropriate permission

Check if the /tmp partition was mounted with incorrect settings.

mount | grep tmp

The above command will display if the /tmp was mounted with "noexec" settings. The "noexec" setting will stop any executable from installing from within the /tmp.

If this is confirmed, the settings can be changed and /tmp can be mounted with "exec" option for the installation.

You can run the below command (requires escalated privileges)

mount -o remount, exec /tmp

 

This will allow the installation to progress.