When installing CA Spectrum on Linux, we get the below error:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
JRE libraries are missing or not compatible....
Exiting....
There is no space or incorrect permissions on the /tmp/ directory.
CA Spectrum and CA Spectrum Remote Administration (SRAdmin) Daemon installations require root privileges to evaluate available resources and run custom installation scripts. Installing under the root ensures root privileges for the setuid executable, which lets the SpectroSERVER connect to SNMP ports. Because an initial installation generates residual files with root ownership, subsequent upgrade installations also require root privileges.
Resolution/Workaround
Make sure there is sufficient space in /tmp/ folder and the root user has full permission on /tmp/ folder.
Is it writeable and executable for the root user?
Check the directory permissions as follows:
ls -ld /tmp
drwxrwxrwt. 12 root root 4096 Jul 19 04:13 /tmp
Check disk space as follows:
To check the space in /tmp, run:
$ df /tmp
Grant exec permissions to /tmp:
mount -o remount,exec /tmp
If it is not possible to provide required access to /tmp folder or there is insufficient space, you can install CA Spectrum using different folder as tmp folder.
Please work with your OS owner to move the tmp folder to another file system with sufficient space. e.g.
If it is not possible to provide required access to /tmp folder or there is insufficient space, you can install CA Spectrum using different folder as tmp folder. The following is an example and will vary from system to system. Please work with your OS owner to create move the tmp folder to another file system with sufficient space.
sudo su
mkdir /<AnotherFilesystem> /tmp
chown root.root /<AnotherFilesystem> /tmp
chmod 1777 /<AnotherFilesystem> /tmp
IATEMPDIR=/<AnotherFilesystem> /tmp
export IATEMPDIR
Verify that the 32 bit glibc package is installed. If not, the installer will error
sudo yum install -y glibc.i686