NMC: Sprawdź, czy usługa uwierzytelniania NetWorker jest uruchomiona

Summary: Uwierzytelnianie konsoli NetWorker Management Console (NMC) kończy się niepowodzeniem, zgłaszając błąd "An error occurred while validating user credentials. Sprawdź, czy usługa uwierzytelniania NetWorker jest uruchomiona [Nie udało się połączyć z serwerem:9090; Brak błędu]" ...

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

Podczas próby uzyskania dostępu do konsoli NetWorker Management Console (NMC) pojawia się następujący błąd:

Błąd logowania NMC

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

Cause

Po zainstalowaniu oprogramowania serwera NMC definiowana jest pojedyncza nazwa hosta uwierzytelniania NetWorker i port usług (domyślnie 9090).

Resolution

Warunki wstępne:

Sprawdź, czy usługa uwierzytelniania NetWorker (authc) jest uruchomiona, nie ma problemów z komunikacją na portach i czy uwierzytelnianie działa:

  • Usługa uwierzytelniania jest uruchomiona na serwerze NetWorker:
nsrports -t AUTHC_SERVERNAME -p 9090

Przykład:

[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
  • Uwierzytelnianie na serwerze uwierzytelniania NetWorker (authc) powiodło się:
nsrlogin -u Administrator
Jeśli się powiedzie:
nsrlogout
Przykład:
[admin@nsr ~]$ nsrlogin -u Administrator
130136:nsrlogin: Please enter password:
Authentication succeeded
[admin@nsr ~]$ nsrlogout
  • Serwer NetWorker Management Console (NMC) może połączyć się z portem 9090 na serwerze uwierzytelniania (authc) NetWorker:
Linux:
curl -v NSR_AUTHC:9090
Przykład:
[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

Przykład:

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
UWAGA: Jeśli wszystkie powyższe kontrole zakończą się pomyślnie, przejdź do artykułu. Jeśli po wykonaniu powyższych czynności występuje problem z usługą lub komunikacją, należy go rozwiązać przed kontynuowaniem.

Procedura:

  1. Otwórz monit z podwyższonym poziomem uprawnień na serwerze NetWorker Management (NMC).
  2. Zatrzymaj proces gstd serwera NMC:
Linux:
systemctl stop gst
Windows:
net stop gstd
  1. Użyj polecenia gstauthcfg z wiersza poleceń, aby zmienić hosta usługi uwierzytelniania NetWorker używanego przez serwer NMC.
Linux:
/opt/lgtonmc/bin/gstauthcfg -c -t -h NSR_AUTHCSERVER -p 9090
Przykład:
[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

Przykład:

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. Sprawdź, czy plik gstd.conf serwera NMC odzwierciedla prawidłowe authsvc_hostname i authsvc_port:
Linux: /opt/lgtonmc/etc/gstd.conf
Windows: [ZAINSTALUJ DYSK]:\Program Files\EMC NetWorker\Management\GST\etc\gstd.conf
  1. Rozpocznij proces EMC gstd:
Linux:
systemctl start gst
Windows:
net start gstd
  1. W przypadku zarządzania wieloma serwerami NetWorker z poziomu jednej konsoli NetWorker Management Console (NMC) należy ustanowić zaufanie i uprawnienia między serwerami NetWorker a serwerem uwierzytelniania.
nsrauthtrust -H NSR_AUTHCSERVER -P 9090
nsraddadmin -H NSR_AUTHCSERVER -P 9090
Przykład:
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.