NMC: Verificar que el servicio de autenticación de NetWorker esté en ejecución

Summary: La autenticación de NetWorker Management Console (NMC) falla e informa "Se produjo un error al validar las credenciales de usuario. Verifique que el servicio de autenticación de NetWorker esté en ejecución [No se pudo conectar al servidor:9090; Sin errores]" ...

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

Aparece el siguiente error cuando se intenta acceder a NetWorker Management Console (NMC):

Error de inicio de sesión de NMC

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

Cause

Cuando se instala el software del servidor de NMC, se define un único nombre de host de autenticación de NetWorker y un puerto de servicio (valor predeterminado 9090).

Resolution

Requisitos previos:

Valide que el servicio de autenticación de NetWorker (authc) esté en ejecución, que no haya problemas de comunicación de puertos y que la autenticación funcione:

  • El servicio de autenticación se está ejecutando en el servidor de NetWorker:
nsrports -t AUTHC_SERVERNAME -p 9090

Ejemplo:

[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
  • La autenticación en el servidor de autenticación de NetWorker (authc) se realizó correctamente:
nsrlogin -u Administrator
Si se realiza correctamente:
nsrlogout
Ejemplo:
[admin@nsr ~]$ nsrlogin -u Administrator
130136:nsrlogin: Please enter password:
Authentication succeeded
[admin@nsr ~]$ nsrlogout
  • El servidor de NetWorker Management Console (NMC) se puede conectar al puerto 9090 en el servidor de autenticación de NetWorker (authc):
Linux:
curl -v NSR_AUTHC:9090
Ejemplo:
[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

Ejemplo:

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: Si todas las comprobaciones anteriores se realizaron correctamente, continúe con el artículo. Si los pasos anteriores presentan un problema de servicio o comunicación, estos se deben resolver antes de continuar.

Procedimiento:

  1. Abra un símbolo del sistema de privilegios elevados en el servidor de administración de NetWorker (NMC).
  2. Detenga el proceso gstd del servidor de NMC:
Linux:
systemctl stop gst
Windows:
net stop gstd
  1. Utilice el comando gstauthcfg desde la línea de comandos para cambiar el host de NetWorker Authentication Service que utiliza el servidor de NMC.
Linux:
/opt/lgtonmc/bin/gstauthcfg -c -t -h NSR_AUTHCSERVER -p 9090
Ejemplo:
[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

Ejemplo:

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. Valide que el archivo gstd.conf del servidor de NMC refleje el authsvc_hostname y el authsvc_port correctos:
Linux: /opt/lgtonmc/etc/gstd.conf
Windows: [INSTALL DRIVE]:\Program Files\EMC NetWorker\Management\GST\etc\gstd.conf
  1. Inicie el proceso gstd de EMC:
Linux:
systemctl start gst
Windows:
net start gstd
  1. Cuando administre varios servidores NetWorker desde una sola instancia de NetWorker Management Console (NMC), establezca la confianza y los permisos entre los servidores NetWorker Server y el servidor de autenticación.
nsrauthtrust -H NSR_AUTHCSERVER -P 9090
nsraddadmin -H NSR_AUTHCSERVER -P 9090
Ejemplo:
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.