SRM:升級 SRM 後,update-manager 仍已安裝舊版的 JAVA

Resumen: 升級 SRM 後,更新管理員在升級之前仍包含舊版的 JAVA。此功能在升級後預設並未清除。

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

  • 升級 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

Causa

  • 更新管理員會在升級程式期間安裝目前版本的 JAVA (亦即升級前使用的 JAVA 版本)。這是在升級期間使用。
  • 升級後,update-manager 不會清理用於升級程式的 JAVA 安裝,因此舊版的 JAVA 仍然存在。 

Resolución

更新管理員是在 SRM 升級程式期間使用,但在升級後的每日使用中不需要。因應措施是在升級完成 手動移除更新管理員,如下所示:
  1. 登入前端伺服器。
  2. 執行 manage-modules 指令檔以移除 update-manager 服務:
/opt/APG/bin/manage-modules.sh remove update-manager
  1. 出現提示時,請選取「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 ~]#
  1. 完成後,請確認更新管理員及其 JAVA 安裝已移除。

Productos afectados

SRM

Productos

SRM
Propiedades del artículo
Número del artículo: 000205153
Tipo de artículo: Solution
Última modificación: 23 ene 2023
Versión:  4
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.