Problems to install VNA 21.2.5 in Red Hat 8.5
search cancel

Problems to install VNA 21.2.5 in Red Hat 8.5

book

Article ID: 230044

calendar_today

Updated On:

Products

CA Virtual Network Assurance

Issue/Introduction

When trying to install VNA 21.2.5 in a RedHat 8.5 machine, you can face a problem where Wildfly is not being able to be installed accordingly. As a result it can't be started:

-----------------------------------

Do you accept the terms of this License Agreement? [Y/N]
Y
VNA 21.2.5 installation started...
Java version 8 is installed
Creating user: mysql

Please enter an absolute path to install (default install folder /opt/CA)>

Please enter user name to install Wildfly (default user is wildfly )>

Creating user: wildfly
Please enter an admin password for Wildfly >
Please re-enter the admin password >
Please enter a JMS password for Wildfly >
Please re-enter the JMS password >
Do you wish to configure APM? [Y/N] >
N
Not configuring APM
Please specify the maximum heap memory for VNA in GB (default 4) >

Do you wish to install MySQL locally? [Y/N] >
Y
Install MySQL on localhost.
Please specify a port for the MySQL server (default 3306) >

Please enter the password for [email protected] account in MySQL>
Please re-enter the password for [email protected] account in MySQL>
Installing MySQL
Configuring MySQL startup
Initializing MySQL
 100
 100
Starting MySQL.Logging to '/opt/CA/MySql/data/xxxxxxxx.err'.
... SUCCESS!
Please enter the VNA UI password for admin user>
Please re-enter the VNA UI password for admin user>
Please enter a unique name(across all VNAs) for the default user domain (Default Domain)>

Installing Wildfly
Setting up standalone.xml
Configuring Wildfly startup
Enable wildfly to run at system startup
Configuring Wildfly
Updated user 'admin' to file '/opt/CA/VNA/wildfly/standalone/configuration/mgmt-users.properties'
Updated user 'admin' to file '/opt/CA/VNA/wildfly/domain/configuration/mgmt-users.properties'
Added user 'app' to file '/opt/CA/VNA/wildfly/standalone/configuration/application-users.properties'
Added user 'app' to file '/opt/CA/VNA/wildfly/domain/configuration/application-users.properties'
Copying APM configuration files
Copying Liquibase
Executing Database Update (logLevel = severe)
/opt/CA/VNA/liquibase /install/VNA/2125
Starting Liquibase at Fri, 19 Nov 2021 14:53:56 CET (version 3.8.0 built at 2019-08-19 05:25:46)
Liquibase Community 3.8.0 by Datical
Liquibase: Update has been successful.
/install/VNA/2125
ID Cache file (/opt/CA/VNA/data/ID_CACHE.dat) does not exist; skipping migration
Aggregator Cache file (/opt/CA/VNA/data/REMOTE_VNA_CACHE.dat) does not exist; skipping migration
CA_ROOT_DIR: /opt/CA
Waiting for wildfly to start...
Timed-out waiting for wildfly to start
A problem occurred during installation (install directory not deleted). Backing up to /install/VNA/2125/CA_VNA_Install_bak


[[email protected]]# systemctl wildfly status
Unknown operation wildfly.
[[email protected]]# systemctl status wildfly
● wildfly.service - The WildFly Application Server
   Loaded: loaded (/etc/systemd/system/wildfly.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2021-11-19 14:54:20 CET; 2min 24s ago
  Process: 85317 ExecStart=/opt/CA/VNA/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND (code=exited, status=203/EXEC)
 Main PID: 85317 (code=exited, status=203/EXEC)

Nov 19 14:54:20 xxxxxxxx systemd[1]: Started The WildFly Application Server.
Nov 19 14:54:20 xxxxxxxx systemd[1]: wildfly.service: Main process exited, code=exited, status=203/EXEC
Nov 19 14:54:20 xxxxxxxx systemd[1]: wildfly.service: Failed with result 'exit-code'.

-----------------------------------

All the pre-reqs mentioned in the VNA documentation were filled:

1- Ensure the following packages are configured/installed in O.S:

[[email protected]]# java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

[[email protected]]# rpm -qa | grep ^libaio
libaio-0.3.112-1.el8.x86_64

[[email protected]]# rpm -qa | grep ^numactl-libs
numactl-libs-2.0.12-13.el8.x86_64

[[email protected]]# rpm -qa | grep ^ncurses-compat-libs
ncurses-compat-libs-6.1-9.20180224.el8.x86_64

2- Create an entry in the /etc/hosts file containing the ip adress and the hostname of the machine; 

3- Configure the ulimit for the Wildfly (install) user:

ulimit -n 65536

4- Edit the /etc/security/limits.conf file. Add the following lines right before the end of the file:

# Added by VNA
* soft nofile 65536
# Added by VNA
* hard nofile 65536

Additional step: Stopped and disabled the local O.S firewall;

-----------------------------------

But the problem remains. Also, the install log (DX_Virtual_Network_Assurance_install_dd_mm_yyyy_hh_mm_ss.log) was not generated in the directory where the VNA installer was executed or in the /opt/CA/VNA/logs/ directory.

Environment

Release : VNA 21.2.4, 21.2.5

Cause

In this case scenario, the RedHat 8.5 server was running in AWS cloud. The SELINUX feature was enabled (enforcing) by default.

Resolution

Set SELINUX to permissive mode.