After OS patching Java was updated and now SRM-RIB service will not start
search cancel

After OS patching Java was updated and now SRM-RIB service will not start

book

Article ID: 433335

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

Java updated on SRM-RIB host, the SRM-RIB service is still using the old location.

How can we update SRM-RIB to use the updated location?

Resolution

update the srm-rib/conf/srm-rib-jetty.conf file and update the java location to the new area.

Example:

# Jetty Run Configuration
JETTY_HOME_DIR=/opt/SRM/srm-rib/jetty
JETTY_BASE_DIR=/opt/SRM/srm-rib
JETTY_RUN_DIR=/opt/SRM/srm-rib/bin
JETTY_HTTP_PORT=8081

# Java Settings
JAVA_EXECUTABLE_PATH=/usr/lib/jvm/java-17-openjdk-17.0.13.0.11-3.el9.x86_64/bin/java

# JVM Memory Settings (MB)
JAVA_INITMEMORY=256
JAVA_MAXMEMORY=8192

# Additional Java Args
JAVA_ADDITIONAL_1=-DlogDir=/opt/SRM/srm-rib/logs

----

Update the JAVA_EXECUTABLE_PATH to the new/updated location.