NVE: L'aggiornamento non riesce durante la fase "Configuring AuthC service for NetWorker"

Summary: Durante un upgrade dell'appliance NetWorker Virtual Edition (NVE), il processo ha esito negativo quando viene visualizzato il messaggio "Configuring AuthC service for NetWorker". I tentativi di ripetere l'attività non riescono. In questo articolo della KB, il problema si verifica quando il valore EMC_TCUSER nel file /nsr/authc_config.txt.preserved viene modificato dal valore predefinito "nsrtomcat" a un altro account utente inesistente. ...

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

Il processo di aggiornamento di NVE non riesce quando si configura il servizio authc per NetWorker:
Interfaccia utente web di NVE

 

Il processo di upgrade di NVE trova il authc_config.txt.preserved, ma ha esito negativo con un errore sconosciuto. NVE /data01/avamar/repo/temp/*/tmp/workflow.log mostra:

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

Il file /nsr/authc_config.txt.preserved contiene una voce errata per EMC_TCUSER. Ad esempio:

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:~ #
Durante un aggiornamento NVE, il flusso di lavoro esegue lo script NetWorker authc_configure.sh utilizzando i valori definiti in /nsr/authc_config.txt.preserved. Il valore previsto per EMC_TCUSER è nsrtomcat.
nve:~ # cat /etc/passwd | grep tomcat
nsrtomcat:x:1003:100::/home/nsrtomcat:/bin/bash
L'impostazione di qualsiasi altro account utente determina l'esito negativo dell'aggiornamento se l'utente non esiste. Se l'account utente esiste, la modifica della proprietà di AuthC in un altro account può interrompere AuthC.

Resolution

1. Accedere a NVE tramite SSH come utente admin.
2. Passare a root: sudo su -
3. Modificare /nsr/authc_config.txt.preserved in modo che abbia l'account EMC_TCUSER corretto:
Esempio:
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. Salvare il file: [ESC] :wq!
5. Tornare all'interfaccia utente web di NVE e riprovare l'attività.

Additional Information

Debugging:

Append -x alla riga authc_configure.sh #!/bin/bash , esempio:

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:~ #

Riprovare l'attività ed esaminare i seguenti registri su NVE:

  • /data01/avamar/repo/temp/*/tmp/workflow.log
  • /data01/avamar/repo/temp/*/tmp/err.log
  • /space/avamar/var/avi/server_log/avinstaller.log
Per la causa definita in questo articolo della KB, è stato registrato quanto segue nel workflow.log una volta abilitato -x debug:
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=
Problemi simili e raccolta di registri KB:
L'aggiornamento di NetWorker Virtual Edition alla versione 19.8.0.108 non riesce a riconfigurare le impostazioni
di NetWorker ManagementConsole L'attività di upgrade di NetWorker Virtual Edition ha esito negativo durante "Reconfiguring NetWorker Authc Service Settings (36 of 47)"
NVE: Guida alla valutazione degli errori di aggiornamento o installazione

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.