NetWorker (Linux):升级到 NetWorker 19.13 无法配置 AUTHC 服务器
Summary: 将 Linux NetWorker 服务器从以前的版本升级到 19.13.x 会在 AUTHC 安装期间报告 Java 错误。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
从以前的版本升级到 19.13.x 时,NetWorker 身份验证服务报告以下错误:
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/emc/brs/auth/util/ServiceConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
运行 AUTHC 配置脚本时返回相同的错误: /opt/nsr/authc-server/scripts/authc_configure.sh
[root@lnx-srvr01 linux_x86_64]# /opt/nsr/authc-server/scripts/authc_configure.sh
Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]:
The installation process will install an Apache Tomcat instance.
For optimum security, EMC NetWorker Authentication Service will
use a non-root user (nsrtomcat) to start the Apache Tomcat instance.
If your system has special user security requirements, ensure that proper
operational permissions are granted to this non-root user (nsrtomcat).
Please refer to NetWorker Installation Guide.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/emc/brs/auth/util/ServiceConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:359)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:641)
ERROR: Could not get hostname in FQDN format.
提醒:本知识库文章中概述的问题也适用于 19.13 NetWorker Management Console (NMC) 和 NetWorker Web 用户界面 (NWUI) 服务器。
Cause
NetWorker 19.13 需要 Java 开发工具包 (JDK) 17。NetWorker 服务器使用的是 NetWorker 19.12 及更早版本使用的 Java Runtime Environment (JRE) 1.8。
[root@lnx-srvr01 linux_x86_64]# sudo find /usr /opt /lib* -type f -name "java" 2>/dev/null
/opt/nre/java/jre1.8.0_421/bin/java
提醒:NetWorker 19.13 安装指南详细介绍了 NetWorker 组件的 Java 要求。 https://www.dell.com/support/product-details/product/networker/docs
Resolution
安装 NetWorker Runtime Environment (NRE) 17.0.1(或更高版本)或 Oracle 许可的 JDK 17。NRE 可通过以下方式获得: https://www.dell.com/support/product-details/en-us/product/networker/drivers
NetWorker Runtime Environment (NRE):简介和安装
示例:
[root@lnx-srvr01 17.0.1]# rpm -Uvh nre-linux-17.0.1.rpm
warning: nre-linux-17.0.1.rpm: Header V3 RSA/SHA256 Signature, key ID ff48d101: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:nre-17.0.1-1 ################################# [ 50%]
NOTE: To complete configuration execute the following script :
/opt/nre/nreconfig.sh
Cleaning up / removing...
2:nre-8.0.22-1 ################################# [100%]
[root@lnx-srvr01 17.0.1]# /opt/nre/nreconfig.sh
Creating the installation log in /opt/nre/logs/install.log.
Performing initialization. Please wait...
NRE configuration completed
升级到 JDK 17 后,运行 authc_configure.sh 用于配置的脚本 authc:
[root@lnx-srvr01 ~]# /opt/nsr/authc-server/scripts/authc_configure.sh Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]: The installation process will install an Apache Tomcat instance. For optimum security, EMC NetWorker Authentication Service will use a non-root user (nsrtomcat) to start the Apache Tomcat instance. If your system has special user security requirements, ensure that proper operational permissions are granted to this non-root user (nsrtomcat). Please refer to NetWorker Installation Guide. The Apache Tomcat will use "lnx-srvr01.networker.lan" as the host name. The Apache Tomcat will use "9090" as the port number. The NetWorker Authentication Service requires a keystore file to configure encryption and to provide SSL support. EMC recommends that you specify a keystore password that has a minimum of six characters. Do you want to use the existing keystore /nsr/authc/conf/authc.keystore [y]? Specify password for the existing keystore: The install will use the existing certificate "emcauthctomcat" for Apache Tomcat. The install will use the existing certificate "emcauthcsaml" for Authentication Service. Creating the installation log in /opt/nsr/authc-server/logs/install.log. Performing initialization. Please wait... The installation completed successfully. [root@lnx-srvr01 ~]# systemctl start networker
查看 NetWorker 服务器 /nsr/logs/daemon.raw 要监视服务启动,请执行以下作:NetWorker:如何使用nsr_render_log呈现.raw日志文件
Additional Information
如果不满足 JDK 17 要求,则在 19.13 的新部署期间,本知识库文章中概述的问题也会出现。
Affected Products
NetWorkerProducts
NetWorker FamilyArticle Properties
Article Number: 000334243
Article Type: Solution
Last Modified: 18 Jun 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.