VNA upgrade from 23.3.1 to 23.3.4 fails - wildfly does not start
search cancel

VNA upgrade from 23.3.1 to 23.3.4 fails - wildfly does not start

book

Article ID: 277436

calendar_today

Updated On:

Products

DX NetOps CA Virtual Network Assurance

Issue/Introduction

VNA upgrade from 23.3.1 to 23.3.4 fails.

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/23.3.4/CA_VNA_Install_bak

Java 17 was installed as per the following KB article:

https://knowledge.broadcom.com/external/article?articleNumber=276852

 

Environment

VNA 23.3.4

Cause

The wildfly account cannot launch java.

The wildfly account does not have permission on the /opt/jdk-17.0.9+93/ directory

su to wildfly and try to launch standalone.sh script

# su - wildfly

$ /opt/CA/VNA/wildfly/bin/standalone.sh

/opt/CA/VNA/wildfly/bin/standalone.sh: line 330: java: command not found

$ java -version

-bash: java: command not found

$ ls -l /opt/jdk-17.0.9+93/

ls: cannot open directory '/opt/jdk-17.0.9+93/': Permission denied

Resolution

Change the group and all users permission

# ls -l /opt/jdk-17.0.9+93/

drwxr-x--- 2 root root 4096 Dec 20 19:00 jdk-17.0.9+93

# chmod 755 /opt/jdk-17.0.9+93/

# ls -l /opt/jdk-17.0.9+93/

drwxr-xr-x 2 root root 4096 Dec 20 19:00 jdk-17.0.9+93

 

Successfully upgraded VNA from 23.3.1 to 23.3.4.