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]
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] >
Not configuring APM
Please specify the maximum heap memory for VNA in GB (default 4) >
Do you wish to install MySQL locally? [Y/N] >
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>
Configuring MySQL startup
Starting MySQL.Logging to '/opt/CA/MySql/data/xxxxxxxx.err'.
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)>
Setting up standalone.xml
Configuring Wildfly startup
Enable wildfly to run at system startup
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
Executing Database Update (logLevel = severe)
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.
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
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: Started The WildFly Application Server.
Nov 19 14:54:20 xxxxxxxx systemd: wildfly.service: Main process exited, code=exited, status=203/EXEC
Nov 19 14:54:20 xxxxxxxx systemd: 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
[[email protected]]# rpm -qa | grep ^numactl-libs
[[email protected]]# rpm -qa | grep ^ncurses-compat-libs
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.
Release : VNA 21.2.4, 21.2.5
In this case scenario, the RedHat 8.5 server was running in AWS cloud. The SELINUX feature was enabled (enforcing) by default.
Set SELINUX to permissive mode.