NMC: Verifica dell'esecuzione di NetWorker Authentication Service

Summary: L'autenticazione di NetWorker Management Console (NMC) non riesce, segnalando "Si è verificato un errore durante la convalida delle credenziali utente. Verifica dell'esecuzione di NetWorker Authentication Service [Impossibile connettersi al server: 9090; Nessun errore]" ...

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

Quando si tenta di accedere a NetWorker Management Console (NMC), viene visualizzato il seguente errore:

Errore di accesso NMC

"An error occurred while validating user credentials. Verify NetWorker Authentication Service is Running [Failed to connect to server:9090; No Error]"
 

Cause

Quando il software del server NMC è installato, vengono definiti un singolo nome host di autenticazione NetWorker e una singola porta del servizio (9090 predefinita).

Resolution

Prerequisiti:

Verificare che il servizio di autenticazione NetWorker (authc) sia in esecuzione, che non vi siano problemi di comunicazione con le porte e che l'autenticazione funzioni:

  • Il servizio di autenticazione è in esecuzione sul server NetWorker:
nsrports -t AUTHC_SERVERNAME -p 9090

Esempio:

[root@nsr ~]# nsrports -t nsr.amer.lan -p 9090
Forward lookup for nsr.amer.lan
Query time:              0.000 sec
Canonical name (CNAME):  nsr.amer.lan
Address (A):             192.168.9.150
Connect to port 9090:    Succeeded (0.001 sec)

Reverse lookup for 192.168.9.150
Query time:              0.000 sec
Name:                    nsr.amer.lan
  • L'autenticazione sul server di autenticazione NetWorker (authc) ha esito positivo:
nsrlogin -u Administrator
In caso di esito positivo:
nsrlogout
Esempio:
[admin@nsr ~]$ nsrlogin -u Administrator
130136:nsrlogin: Please enter password:
Authentication succeeded
[admin@nsr ~]$ nsrlogout
  • Il server NetWorker Management Console (NMC) può connettersi alla porta 9090 sul server di autenticazione NetWorker (authc):
Linux:
curl -v NSR_AUTHC:9090
Esempio:
[root@nsr ~]# curl -v nsr.amer.lan:9090
*   Trying 192.168.9.150:9090...
* Connected to nsr.amer.lan (192.168.9.150) port 9090 (#0)
> GET / HTTP/1.1
> Host: nsr.amer.lan:9090
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 400
< Content-Type: text/plain;charset=UTF-8
< Connection: close
<
Bad Request
This combination of host and port requires TLS.
* Closing connection 0
Windows (PowerShell):
tnc NSR_AUTHCSERVER -port 9090

Esempio:

PS C:\Users\administrator.AMER> tnc nsr.amer.lan -port 9090

ComputerName     : nsr.amer.lan
RemoteAddress    : 192.168.9.150
RemotePort       : 9090
InterfaceAlias   : Ethernet0
SourceAddress    : 192.168.9.122
TcpTestSucceeded : True
NOTA: Se tutte le verifiche precedenti hanno esito positivo, procedere con l'articolo. Se i passaggi precedenti presentano un problema di servizio o di comunicazione, è necessario risolverli prima di procedere.

Procedura:

  1. Aprire un prompt con privilegi elevati nel server NetWorker Management (NMC).
  2. Arrestare il processo gstd del server NMC:
Linux:
systemctl stop gst
Windows:
net stop gstd
  1. Utilizzare il comando gstauthcfg dal prompt dei comandi per modificare l'host NetWorker Authentication Service utilizzato dal server NMC.
Linux:
/opt/lgtonmc/bin/gstauthcfg -c -t -h NSR_AUTHCSERVER -p 9090
Esempio:
[root@nsr ~]# /opt/lgtonmc/bin/gstauthcfg -c -t -h nsr.amer.lan -p 9090
121816:gstauthcfg: Authentication server on nsr.amer.lan is online.
121817:gstauthcfg: Configuration updated successfully.
Windows:
"[INSTALL DRIVE]:\Program Files\EMC NetWorker\Management\GST\bin\gstauthcfg.exe" -c -t -h NSR_AUTHCSERVER -p 9090

Esempio:

C:\Users\administrator.AMER>"C:\Program Files\EMC NetWorker\Management\GST\bin\gstauthcfg.exe" -c -t -h nsr.amer.lan -p 9090
121816:gstauthcfg: Authentication server on nsr.amer.lan is online.
140643:gstauthcfg: Restart NMC server for the changes to take effect.
121817:gstauthcfg: Configuration updated successfully.
  1. Verificare che il file gstd.conf del server NMC rifletta il authsvc_hostname e authsvc_port corretti:
Linux: /opt/lgtonmc/etc/gstd.conf
Finestre: [INSTALL DRIVE:\Program Files\EMC NetWorker\Management\GST\etc\gstd.conf
  1. Avviare il processo EMC gstd:
Linux:
systemctl start gst
Windows:
net start gstd
  1. Quando si gestiscono più server NetWorker da una singola NetWorker Management Console (NMC), stabilire trust e autorizzazioni tra i server NetWorker e il server di autenticazione.
nsrauthtrust -H NSR_AUTHCSERVER -P 9090
nsraddadmin -H NSR_AUTHCSERVER -P 9090
Esempio:
C:\Users\administrator.AMER>nsrauthtrust -H nsr.amer.lan -P 9090

C:\Users\administrator.AMER>nsraddadmin -H nsr.amer.lan -P 9090
134751:nsraddadmin: Added role 'cn=Administrators,cn=Groups,dc=nsr,dc=amer,dc=lan' to the 'Application Administrators' user group.
134751:nsraddadmin: Added role 'cn=Administrators,cn=Groups,dc=nsr,dc=amer,dc=lan' to the 'Security Administrators' user group.
134751:nsraddadmin: Added role 'cn=Users,cn=Groups,dc=nsr,dc=amer,dc=lan' to the 'Users' user group.

Additional Information

Affected Products

NetWorker, NetWorker Management Console
Article Properties
Article Number: 000034546
Article Type: Solution
Last Modified: 14 Mar 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.