SRM:升級 SRM 後,update-manager 仍已安裝舊版的 JAVA
Summary: 升級 SRM 後,更新管理員在升級之前仍包含舊版的 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 安裝。此功能僅在升級程式期間用於 update-manager。
- SRM 在升級後有正確的 JAVA 版本:
/opt/APG/Java/Sun-JRE/[version]例如 SRM 4.7.1.0:
/opt/APG/Java/Sun-JRE/8.0.321
Cause
- 更新管理員會在升級程式期間安裝目前版本的 JAVA (亦即升級前使用的 JAVA 版本)。這是在升級期間使用。
- 升級後,update-manager 不會清理用於升級程式的 JAVA 安裝,因此舊版的 JAVA 仍然存在。
Resolution
更新管理員是在 SRM 升級程式期間使用,但在升級後的每日使用中不需要。因應措施是在升級完成 後 手動移除更新管理員,如下所示:
- 登入前端伺服器。
- 執行 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 ~]#
- 完成後,請確認更新管理員及其 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.