NVE: "NetWorker에 대한 AuthC 서비스 구성" 중에 업그레이드 실패

Summary: NVE(NetWorker Virtual Edition) 어플라이언스를 업그레이드하는 동안 "Configuring AuthC service for NetWorker"할 때 프로세스가 실패합니다. 작업 재시도가 실패합니다. 이 KB에서는 /nsr/authc_config.txt.preserved 파일의 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에 대한 authc 서비스를 구성할 때 NVE 업그레이드 프로세스가 실패합니다.
NVE 웹 UI

 

NVE 업그레이드 프로세스에서 보존된 authc_config.txt를 찾았지만 알 수 없는 오류로 실패합니다. 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.preserved 에 잘못된 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.preserved에 정의된 값을 사용하여 NetWorker authc_configure.sh 스크립트를 실행합니다. EMC_TCUSER에 필요한 값은 nsrtomcat입니다.
nve:~ # cat /etc/passwd | grep tomcat
nsrtomcat:x:1003:100::/home/nsrtomcat:/bin/bash
다른 사용자 계정을 설정하면 사용자가 없는 경우 업그레이드가 실패합니다. 사용자 계정이 있는 경우 AuthC 소유권을 다른 계정으로 변경하면 AuthC가 중단될 수 있습니다.

Resolution

1. SSH를 통해 admin 사용자로 NVE에 로그인합니다.
2. 루트로 전환합니다. sudo su -
3. 올바른 EMC_TCUSER 계정을 갖도록 /nsr/authc_config.txt.preserved 수정합니다.
예:
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. 파일을 저장합니다. [ESC] :wq!
5. NVE 웹 UI로 돌아가서 작업을 재시도합니다.

Additional Information

디버깅 :

authc_configure.sh #!/bin/bash 줄에 -x를 추가합니다. 예:

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
이 KB에 정의된 원인으로 인해 -x 디버그가 활성화된 후 workflow.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=
유사한 문제 및 로그 수집 KB:
NetWorker Management Console 설정 재구성 시 NetWorker Virtual Edition을 19.8.0.108로 업그레이드하지 못함"NetWorker 인증 서비스 설정 재구성(36/47)"
중 NetWorker Virtual Edition 업그레이드 작업 실패NVE
: 업그레이드 또는 설치 실패 분류 가이드

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article 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.