Issue installing PIM due to /tmp permissions

Document ID : KB000044992
Last Modified Date : 05/06/2018
Show Technical Document Details
Issue:
When attempting to install PIM on a unix system, everything appears to have completed however within the installation log it reads something similar to:
Updating / installing...
/opt/CA/AccessControl/install_base: line 6637: /tmp/pre_install/getvar.sh: Permission denied
/opt/CA/AccessControl/install_base: line 5245: [: =: unary operator expected
This platform is not supported.
 
At this point you have already confirmed that the OS version and PIM version are compatible via the matrix found here:
Environment:

PIM installation
Linux/Unix OS

Cause:

This is caused by /tmp being mounted with noexec which stops anything being executed under /tmp. The installation requires that scripts are executed here.

Resolution:
To resolve the issue, temporarily remount /tmp with exec rights prior to installing the endpoint.

1) Remount /tmp as exec prior to installation
# mount -o remount,exec /tmp
2) Install the endpoint

3) After installing, remount /tmp with noexec to revert the original configuration
# mount -o remount,noexec /tmp
Additional Information:

If mounting the /tmp directory is not an option, a temporary directory could be created as a workaround.

1) Create a new tmp directory:
# mkdir /tmp2
2) Ensure it has proper permissions:
# chmod 755 /tmp2

**optional based on install method**
3) Customize your RPM package to reflect the new tmp directory.
# customize_eac_rpm -t /tmp2
4) Install the program
5) You can remove the /tmp2 directory after the server reboots.