NVE:「為 NetWorker 設定 AuthC 服務」期間升級失敗
Summary: 在升級 NetWorker Virtual Edition (NVE) 裝置期間,「為 NetWorker 設定 AuthC 服務」時,程序會失敗。嘗試重試工作失敗。在此 KB 中,當 /nsr/authc_config.txt.preserve 檔案中的EMC_TCUSER值從預設的「nsrtomcat」變更為另一個不存在的使用者帳戶時,就會出現此問題。
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
為 NetWorker 設定授權服務時,NVE 升級程序失敗:
NVE 升級程序會找到 authc_config.txt.Recover,但失敗並顯示未知錯誤。NVE /data01/avamar/repo/temp/*/tmp/workflow.log顯示:
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: ---------- BEGIN action.reconfigure-networker-authc-service::do ----------
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=root, ssh command is: (sed -i 's/EMC_JAVADIR=\/usr\/java\/latest/EMC_JAVADIR=\/opt\/nre\/java\/latest/Ig' /nsr/authc_config.txt.preserved) >/usr/local/avamar/var/run_command-sysout.13101.47133243251360 2>&1
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: no output seen from "sed -i 's/EMC_JAVADIR=\/usr\/java\/latest/EMC_JAVADIR=\/opt\/nre\/java\/latest/Ig' /nsr/authc_config.txt.preserved"
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: "sed -i 's/EMC_JAVADIR=\/usr\/java\/latest/EMC_JAVADIR=\/opt\/nre\/java\/latest/Ig' /nsr/authc_config.txt.preserved", exit status=0 (success)
YYYY-MM-DD HH:MM:SS (-TZ) 47133254743080 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=root, ssh command is: (/opt/nsr/authc-server/scripts/authc_configure.sh -silent /nsr/authc_config.txt.preserved) >/usr/local/avamar/var/run_command-sysout.13101.47133254743080 2>&1
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: - - - - - - - BEGIN(output) - - - - - - -
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO:
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: WARNING: Port 9090 is already in use.
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: - - - - - - - END
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 ERROR: Configuring AuthC service for NetWorker, exit status=1 (error)
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: post: Configuring AuthC service for NetWorker, exit status=1 (error)
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=, ssh command is: (rpm -q dpnserver --last | head -1) >/usr/local/avamar/var/run_command-sysout.13101.47133243251360 2>&1
YYYY-MM-DD HH:MM:SS (-TZ) 47133243251360 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=admin, ssh command is: (/usr/local/avamar/bin/avhostname -f) >/usr/local/avamar/var/run_command-sysout.13101.47133243251360 2>/usr/local/avamar/var/run_command-syserr.13101.47133243251360
Cause
/nsr/authc_config.txt.preserve 包含不正確的 EMC_TCUSER 項目。例如:
nve:~ # cat /nsr/authc_config.txt.preserved
EMC_JAVADIR=/opt/nre/java/latest
EMC_TCUSER=tomcat
EMC_TCPORT=9090
EMC_CREATETCKEYSTORE=n
EMC_TCKEYSTORE=/nsr/authc/conf/authc.keystore
EMC_DATADIR=/nsr/authc/data
EMC_KEEPBOOT=y
nve:~ # 在 NVE 升級期間,升級工作流程會使用 /nsr/authc_config.txt.preserve 中定義的值執行 NetWorker authc_configure.sh 指令檔。EMC_TCUSER的預期值為 nsrtomcat。
nve:~ # cat /etc/passwd | grep tomcat
nsrtomcat:x:1003:100::/home/nsrtomcat:/bin/bash
Resolution
1.以使用者管理員身分,透過 SSH 登入 NVE。
2.切換至 root:sudo su -
3.修改 /nsr/authc_config.txt.preserve 以擁有正確的 EMC_TCUSER 帳戶:
4.儲存檔案:[電調] :wq!
5.返回 NVE Web UI 並重試工作。
2.切換至 root:sudo su -
3.修改 /nsr/authc_config.txt.preserve 以擁有正確的 EMC_TCUSER 帳戶:
範例:
nve:~ # vi /nsr/authc_config.txt.preserved
EMC_JAVADIR=/opt/nre/java/latest
EMC_TCUSER=nsrtomcat
EMC_TCPORT=9090
EMC_CREATETCKEYSTORE=n
EMC_TCKEYSTORE=/nsr/authc/conf/authc.keystore
EMC_DATADIR=/nsr/authc/data
EMC_KEEPBOOT=y
4.儲存檔案:[電調] :wq!
5.返回 NVE Web UI 並重試工作。
Additional Information
調試:
將 -x 附加到 authc_configure.sh #!/bin/bash 行,例如:
nve:~ # head /opt/nsr/authc-server/scripts/authc_configure.sh
#! /bin/bash -x
#
# $Id$ Copyright (c) 2015-2023 EMC Corporation.
#
#
# Copyright (c) 2015-2023 EMC Corporation.
#
# All rights reserved. This is an UNPUBLISHED work, and
# comprises proprietary and confidential information of EMC.
nve:~ #
重試工作並檢閱 NVE 上的下列記錄:
- /data01/avamar/repo/temp/*/tmp/workflow.log
- /data01/avamar/repo/temp/*/tmp/err.log
- /space/avamar/var/avi/server_log/avinstaller.log
nve:~ # cat /data01/avamar/repo/temp/*/tmp/workflow.log | grep "username\|TCUSER"
2024-07-11 12:56:40 (-0400) 47274291182240 INFO: cmd=/space/avamar/repo/temp/NveUpgrade-19.11.0-12.avp_1720716526720/scripts/workflow run tools/webmonitor.rb --server=localhost --username=root --password=*********** --validate_only=true
2024-07-11 12:56:40 (-0400) 47274291182240 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=root, ssh command is: (/space/avamar/repo/temp/NveUpgrade-19.11.0-12.avp_1720716526720/scripts/workflow run tools/webmonitor.rb --server=localhost --username=root --password=*********** --validate_only=true) >/usr/local/avamar/var/run_command-sysout.15932.47274291182240 2>&1
2024-07-11 12:56:41 (-0400) 47436079741600 NOTICE: Utility: tools/webmonitor.rb --server=localhost --username=root --password=********** --validate_only=true
2024-07-11 12:56:42 (-0400) 47274291182240 INFO: "/space/avamar/repo/temp/NveUpgrade-19.11.0-12.avp_1720716526720/scripts/workflow run tools/webmonitor.rb --server=localhost --username=root --password=*********** --validate_only=true", exit status=0 (success)
2024-07-11 13:04:59 (-0400) 46986367916700 INFO: + DEFAULT_TCUSER=nsrtomcat
2024-07-11 13:04:59 (-0400) 46986367916700 INFO: + EMC_CREATETCUSER=n
2024-07-11 13:04:59 (-0400) 46986367916700 INFO: ++ awk /EMC_TCUSER/ /nsr/authc_config.txt.preserved
2024-07-11 13:04:59 (-0400) 46986367916700 INFO: + username=tomcat
2024-07-11 13:04:59 (-0400) 46986367916700 INFO: ++ awk /EMC_CREATETCUSER/ /nsr/authc_config.txt.preserved
2024-07-11 13:04:59 (-0400) 46986367916700 INFO: + TCUSER_HOME=
重新設定 NetWorker 管理主控台設定時,NetWorker Virtual Edition 升級至 19.8.0.108失敗在「重新設定 NetWorker 認證服務設定 (36/47)」期間,NetWorker Virtual Edition 升級工作失敗NVE
:
升級或安裝失敗分級指南
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000226829
Article Type: Solution
Last Modified: 12 Jun 2025
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.