SRM:升级 SRM 后,update-manager 仍然安装了以前版本的 Java
Summary: 升级 SRM 后,update-manager 仍包含升级之前的 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
- 升级 SRM 后,前端服务器上的 update-manager 包含升级之前使用的 Java 的先前版本:
/opt/APG/Tools/Update-Manager/[version]/data/Sun-JRE_[version]/例如,在 SRM 4.7.1.0 上:
/opt/APG/Tools/Update-Manager/7.4.1/data/Sun-JRE_8.0.311/
- SRM 不使用 update-manager JRE 安装。这仅在升级过程中用于更新管理器。
- SRM 在升级后具有正确的 Java 版本:
/opt/APG/Java/Sun-JRE/[version]例如,在 SRM 4.7.1.0 上:
/opt/APG/Java/Sun-JRE/8.0.321
Cause
- update-manager 会在升级过程中安装 Java 的当前版本(即在升级之前使用的 Java 版本)。这在升级期间使用。
- 升级后,update-manager 不会清理用于升级过程的 Java 安装,因此仍存在以前版本的 Java。
Resolution
更新管理器在 SRM 升级过程中使用,但不需要用于升级后的日常使用。要解决此问题,可以在升级完成 后 手动删除 update-Manager,如下所示:
- 登录到前端服务器。
- 运行 manage-modules 脚本以删除 update-manager 服务:
/opt/APG/bin/manage-modules.sh remove update-manager
- 出现提示时,选择“yes”以移除,然后选择“yes”以清除该模块,类似于以下内容:
[root@sirius01 ~]# /opt/APG/bin/manage-modules.sh remove update-manager
Modules to be removed, in processing order:
[1] D update-manager '7.5' v7.5
? Enter the step to modify, 'yes' to accept them, or 'no' to cancel the operation [yes] > yes
Starting removal of update-manager 7.5...
* Gathering information...
* The module installed in '/opt/APG/Tools/Update-Manager/7.5' will now be removed.
? Do you want to completely purge the module Update-Manager 7.5 out of the system, including data files, configuration files and restore points? (yes/no) [n] > yes
* Removing files... 100%
* Finalizing removal...
Removal complete.
[root@sirius01 ~]#
- 完成后,验证 update-manager 及其 Java 安装是否已移除。
Affected Products
SRMProducts
SRMArticle Properties
Article Number: 000205153
Article Type: Solution
Last Modified: 15 مايو 2026
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.