After restarting the OIConnector service, it no longer start.
Performance Management: Any release
It can't find the specified JVM from the /opt/CA/OIConnector/conf/wrapper.conf file. The wrapper is configured to point to JVM at /usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64/bin/java
In the wrapper-20250221.log file:
WARN | wrapper | 2025/02/21 11:49:45 | The configured wrapper.java.command could not be found, attempting to launch anyway: /usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64/bin/java
ERROR | wrapper | 2025/02/21 11:49:45 | Unable to start JVM: No such file or directory (2)
cd /usr/lib/jvm
ls -la
jre-17-openjdk-17.0.14.0.7-3.el8.x86_64 --> java-17-openjdk-17.0.14.0.7-3.el8.x86_64
cat /opt/CA/OIConnector/conf/wrapper.conf
#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
# Locate the java binary on the system PATH:
#wrapper.java.command=java
# Specify a specific java binary:
set.JAVA_HOME=/usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64
wrapper.java.command=%JAVA_HOME%/bin/java
Use the Java alternatives path instead.
ls /etc/alternatives/jre_17
vi /opt/CA/OIConnector/conf/wrapper.conf
Change to: set.JAVA_HOME=/etc/alternatives/jre_17
#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
# Locate the java binary on the system PATH:
#wrapper.java.command=java
# Specify a specific java binary:
set.JAVA_HOME=/etc/alternatives/jre_17
wrapper.java.command=%JAVA_HOME%/bin/java
Start the OIConnector service:
service caperfcenter_oiconnector start
service caperfcenter_oiconnector status
The kakfa service must be down too because of the missing JRE file.
The Java path in kafka is wrong too. The /usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64 does not exist.
cat /opt/CA/kafka/config/answers.properties
installationDirectory=/opt/CA/kafka
javaHome=/usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el8.x86_64
Resolution:
Update the /opt/CA/kafka/config/answers.properties file with the correct Java path and reinstall kafka.
vi /opt/CA/kafka/config/answers.properties
Change to: javaHome=/etc/alternatives/jre_17
Reinstall kafka, which will use the updated /opt/CA/kafka/config/answers.properties file.
./netops-kafka-3.7.0.7-RELEASE.txe
Start the kafka service.
systemctl start netops-kafka
systemctl status netops-kafka