XCOM Suggestions to help with failing installation with SELinux

book

Article ID: 211749

calendar_today

Updated On:

Products

CA XCOM Data Transport

Issue/Introduction

When trying to install XCOM to, for example, a Redhat 8 server with SELinux, installation fails with :

JRE libraries are missing or not compatible....

With XCOM 11.6 SP01 Java is included in the installation package and is not required as a prerequisite (this will not be the case with newer service packs or future releases).

Java bundled with the installer extracts to below location. 

/tmp/install.dir.12038/Linux/resource/jre/bin/java (or similar)

 

 

 

Cause

The issue arises when SELinux is in  "enforcing" mode which does not allow the Java to run from the /tmp directory.

 

Environment

Release : 11.6

Component : CA XCOM Data Transport for Linux PC

Resolution

The following suggestions will help circumvent this issue and allow the installation of XCOM.

  • To use a different temp directory for the installer, you can set the environment variable as below before running the installer program. For example, to use /app as a temp directory, use below. 
    export IATEMPDIR=/app
    Run the Installer program to check that the problem is resolved. 

 

  • If the problem is not resolved, change the SELinux mode.
    • To change the SELinux for the current session, you can run the command "setenforce 0" which will change the SELinux mode to permissive. You can verify the changed mode using "sestatus". Once the SELinux mode is changed from enforcing, try running the Installer, and hopefully, the problem is resolved. 

 

  • If the problem is still not resolved, try to change the SELinux to disabled in "/etc/selinux/config" and restart the system and run the installer. Once installed, restore the SELinux back to original mode. 

Additional Information

Diagnosing and debugging CA XCOM installer problems for distributed platforms UNIX/Linux and Windows Knowledge article id articleId=204068‚Äč