Skip to main content
NetApp Knowledge Base

Running the SnapCenter 6.x Linux Plug-ins as root fails when java 11 is not default

Views:
161
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter 6.x Unix Plug-ins (SCU, SCO, SCHANA, SCC)

Issue

  • Every time the SCC or SPL service is restarted, it starts with the older 1.8 java, even though Java 11 was set as default on installation.
  • This causes failures on usage, due to certain functionality requiring Java 11.
  • spl_init.YYYY-MM-DD.log shows JAVA_HOME is updated to java-1.8.0 folder.
SPLD:SnapCenter Plugin Loader is not running
SPLD:DEBUG: OS Type = Linux
SPLD:DEBUG: Getting JAVA_HOME for user root
SPLD:DEBUG: JAVA_HOME set for user root:
SPLD:DEBUG: JAVA_HOME environment variable is not set or invalid for root user
SPLD:DEBUG: Deriving JAVA_HOME from command path set for user root
SPLD:DEBUG: JAVA_HOME obtained for user root using java path: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.462.b08-2.el8.x86_64/jre
SPLD:DEBUG: Using Java Version 1.8.0_462
SPLD:DEBUG: Using Java Version 1.8.0_462
SPLD:DEBUG: Using Java Version 1.8.0_462
SPLD:DEBUG: Value of SKIP_JAVAHOME_UPDATE false
SPLD:DEBUG: Updating properties file with new JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.462.b08-2.el8.x86_64/jre
SPLD:DEBUG: Value of MAXIMUM_ORACLE_DB_FILES 100000
SPLD:Stopping SnapCenter Plugin Loader
SPLD:SnapCenter Plugin Loader is not running.
SPLD:DEBUG: OS Type = Linux
SPLD:DEBUG: Getting JAVA_HOME for user root
SPLD:DEBUG: JAVA_HOME set for user root:
SPLD:DEBUG: JAVA_HOME environment variable is not set or invalid for root user
SPLD:DEBUG: Deriving JAVA_HOME from command path set for user root
SPLD:DEBUG: JAVA_HOME obtained for user root using java path: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.462.b08-2.el8.x86_64/jre
SPLD:DEBUG: Using Java Version 1.8.0_462
SPLD:DEBUG: Using Java Version 1.8.0_462
SPLD:DEBUG: Using Java Version 1.8.0_462
SPLD:DEBUG: Value of SKIP_JAVAHOME_UPDATE false
SPLD:DEBUG: Updating properties file with new JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.462.b08-2.el8.x86_64/jre
SPLD:DEBUG: Value of MAXIMUM_ORACLE_DB_FILES 100000

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.