While installing CA Access Gateway in Linux following the specifications in the documentation which require 0.5 Gbyte disk space free in /tmp and 2 Gbyte, despite having the requirements outlined in the documentation, it is not possible to proceed.
The following message is displayed and installation cannot begin:
<install_dir>/sh ca-proxy-12.8.sp09-linux-x86-64.bim
Preparing to install
WARNING: /tmp does not have enough disk space ! Attempting to use <home_dir_of_install_user> for install base and tmp dir
WARNING: The amount of <home_dir_of_install_user> disk space required to perform this installation is greater than what is available. Please free up at least XXXX kilobytes in <home_dir_of_install_user> and attempt this installation again
Checking the disk space available, the /tmp directory has about 700 Mbyte free and the <home_dir_of_install_user> has about 1.5 Gbyte free
CA Access Gateway 12.8.8, applicable to other versions as well
The installation process requires some space for temporary items as well as for the uncompressing of the installation files. As such, if /tmp is close to the minimum required in disk space, the total required may overcome the amount available and the first message will be displayed
When the disk space check fails in the /tmp directory, the installer defaults to check in the user home directory and assumes this will be used for Access Gateway installation and temporary placeholder of logs (like the /tmp). In total that would be around 2.5 Gbyte+ (2.0 Gbyte for install base and 0.5 Gbyte of temporary disk space, plus any additional disk space needed for installer decompression), which means if your home disk has less than that amount, it will error out resulting in the error message shown.
If you have a large unused partition with plenty of disk space, you can set the temporary directory with the following command, prior to commencing the installation
export IATEMPDIR=<my_large_partition>/tmp
Please make sure that whatever directory is specified for IATEMPDIR is writable by the user performing the installation. Also make sure that the installation directories permissions follow the requirements in the installation guide