Release: 20.2, 21.2, 22.2
Component: SPCCSS - SpectroSERVER Core
One cause for this has been found to be caused by the /tmp file system having the noexec flag set. The installer extracts its files to a temporary folder under
/tmp and will try and launch the jre installer from there. If the /tmp filesystem has noexec set the execution of the java installer fails.
There is a need to create a temporary installation directory and export it as a variable of IATEMPDIR.
1. Create a temp directory for the installer under another location and assign permissions
cd /opt (this can be under an area that allows execution with enough space)
mkdir sradmin
chmod 755 sradmin
2. Export the IATEMPDIR variable to the temp location made from step 1.
export IATEMPDIR=/opt/sradmin;
3. You can verify that the variable exists by echoing the variable
echo $IATEMPDIR
/opt/sradmin
Add an env_keep entry to the systems sudoers file allowing the use of the IATEMPDIR for /tmp redirection.
Add a similar entry to the sudoers configuration on the host to allow use of IATEMPDIR. It would look something like this: