NetWorker: NWUI 대시보드가 '최신 개수 가져오기 실패' 오류와 함께 실패함

Summary: NWUI(NetWorker Web User Interface)는 NetWorker 데이터 존을 관리하는 데 사용됩니다. NWUI 대시보드 탭에 "대시보드의 최신 개수를 가져오지 못함"이 표시되며 정책, 워크플로 또는 작업이 표시되지 않습니다. monitoringdbpasswordalias 별칭이 NWUI 키 저장소에 없으므로 모니터링 서비스가 NWUI 데이터베이스에 인증할 수 없습니다. ...

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

NWUI 대시보드에 다음 오류가 표시됩니다.

Failed to fetch latest counts for Dashboard
Error is fetching count of activities based on status from Monitoring Service


스크린샷

OPER는 C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\logs\nwui.log 모니터링 서비스에서 연결 거부 오류가 표시됩니다.

...
HH:MM:SS [https-jsse-nio-9090-exec-6] INFO  c.e.n.c.n.impl.GlobalApi - Authenticating user Administrator on authentication server Emcbkp01p.berlitz.com.co.
HH:MM:SS [https-jsse-nio-9090-exec-6] INFO  c.e.n.c.n.impl.GlobalApi - Testing server details for nw calls.
HH:MM:SS [https-jsse-nio-9090-exec-8] ERROR c.e.n.c.n.i.MonitoringApi - Error in fetching count of activities based on status from Monitoring Service. java.net.ConnectException: Connection refused: connect
...

OPER는 C:\Program Files\EMC NetWorker\nwui\monitoring\app\logs\monitoring-app.log 모니터링 서비스가 키 저장소에서 데이터베이스 암호를 검색할 수 없음을 보여 줍니다.

...
YYYY-MM-DD HH:MM:SS [TomcatWebServer] [main] INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 9095 (https)
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["https-jsse-nio-9095"]
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.catalina.core.StandardService - Starting service [Tomcat]
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.48]
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/monitoring] - Initializing Spring embedded WebApplicationContext
YYYY-MM-DD HH:MM:SS [ServletWebServerApplicationContext] [main] INFO  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3092 ms
YYYY-MM-DD HH:MM:SS [DataSourceConfig] [main] INFO  monitoring - DB password file not present.
YYYY-MM-DD HH:MM:SS [DataSourceConfig] [main] ERROR monitoring - Unable to retrieve the database password from Keystore
java.lang.NullPointerException: null
	at com.dell.emc.nw.monitoring.utils.DataSourceConfig.getDBPasswordFromKeystore(DataSourceConfig.java:75) ~[classes!/:?]
	at com.dell.emc.nw.monitoring.utils.DataSourceConfig.getDataSource(DataSourceConfig.java:64) ~[classes!/:?]
	at com.dell.emc.nw.monitoring.utils.DataSourceConfig$$EnhancerBySpringCGLIB$$c434748a.CGLIB$getDataSource$0(<generated>) ~[classes!/:?]
...

NWUI 키 저장소를 나열하면 예상되는 3개 항목 대신 2개 항목만 표시됩니다. OPER는 monitoringdbpasswordalias 항목이 누락되었습니다.

C:\>"C:\Program Files\NRE\java\jre1.8.0_321\bin\keytool.exe" -list -keystore  "C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore"
Enter keystore password:
Keystore type: PKCS12
Keystore provider: SunJSSE
Your keystore contains 2 entries
emcauthctomcat, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): B2:D3:E1:8D:65:12:8D:51:3F:EA:CA:41:9C:A9:93:C2:21:8D:A7:A7:25:F8:CE:69:F9:21:90:55:37:43:6E:4E
emcauthcsaml, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): 5B:9D:23:57:5F:A7:A0:0F:83:D5:AE:61:C2:06:AF:60:0C:60:19:F8:7B:4F:6E:D2:BC:18:DD:96:6E:A1:A5:FB

올바르게 구성된 키 저장소에는 다음과 같은 3개의 항목이 표시됩니다. monitoringdbpasswordalias:

C:\>"C:\Program Files\NRE\java\jre1.8.0_321\bin\keytool.exe" -list -keystore  "C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore"
Enter keystore password:
Keystore type: PKCS12
Keystore provider: SunJSSE
Your keystore contains 3 entries
emcauthctomcat, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): B2:D3:E1:8D:65:12:8D:51:3F:EA:CA:41:9C:A9:93:C2:21:8D:A7:A7:25:F8:CE:69:F9:21:90:55:37:43:6E:4E
emcauthcsaml, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): 5B:9D:23:57:5F:A7:A0:0F:83:D5:AE:61:C2:06:AF:60:0C:60:19:F8:7B:4F:6E:D2:BC:18:DD:96:6E:A1:A5:FB
monitoringdbpasswordalias, MONTH DD, YYYY SecretKeyEntry,

Cause

모니터링 서비스에는 다음이 필요합니다. monitoringdbpasswordalias NWUI 키 저장소(nwui.keystore)의 별칭입니다. 이 별칭은 NWUI 모니터링 데이터베이스에 인증하는 데 사용되는 데이터베이스 암호를 저장합니다.

OPER는 monitoringdbpasswordalias 별칭이 키 저장소에서 제거되었습니다. Unknown - 문제의 원인을 알 수 없습니다. 별칭이 없으면 모니터링 서비스에서 데이터베이스 암호를 검색할 수 없습니다. 서비스가 시작되지 않고 대시보드에 데이터가 표시되지 않습니다.

Resolution

를 다시 만듭니다. monitoringdbpasswordalias 별칭을 입력합니다. 이 절차를 수행하려면 NWUI 키 저장소 암호가 필요합니다. 교체 <password> 아래 단계에서 NWUI 키 저장소 암호로 바꿉니다.
 

  1. "관리자 권한으로 실행" 옵션을 사용하여 명령 프롬프트 창을 엽니다.2.
  2. rabbitmq.conf의 복사본을 만듭니다. pg_hba.conf:
copy "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf" "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf_original"

 

  1. 열기 pg_hba.conf 텍스트 편집기가 있는 파일:
notepad "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf"
  • 파일 맨 아래에 있는 주석 처리되지 않은 모든 사용자에 대해 METHOD를 "md5"에서 "trust"로 변경합니다.
  • 변경 사항을 다음 위치로 저장합니다. pg_hba.conf
  1. "NetWorker WebUI 데이터베이스" "NetWorker 웹 관리 UI 서버"를 중지합니다 services: net stop nwui
  2. "NetWorker WebUI 데이터베이스""NetWorker 웹 관리 UI 서버" 서비스를 시작합니다. net start nwui
  3. 다음을 사용하여 NWUI 데이터베이스에 연결합니다. psql:
"C:\Program Files\EMC NetWorker\nwui\monitoring\postgres\12\bin\psql" -U nwuiuser -d nwui -p 5435
  • "nwuiruser" 비밀번호를 NWUI 키 저장소 비밀번호로 변경합니다. ALTER USER nwuiuser WITH PASSWORD 'password';
  • 종료 psql 연결됨 quit
  • "NetWorker WebUI Database""NetWorker Web Management UI Server" 서비스를 중지합니다. net stop nwui
  • 새 파일 시스템을 생성합니다. nwuidb.conf:
notepad "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\nwuidb.conf"
  • NWUI 키 저장소 비밀번호 <비밀번호> 의 Base64 인코딩을 새 nwuidb.conf 파일: https://www.base64encode.org/
  • 변경 사항을 새 변경 사항에 저장합니다. nwuidb.conf 파일에 공백을 포함하지 마십시오.
  1. 되돌리기 pg_hba.conf:
 copy "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf_original" "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf"
  1. "NetWorker WebUI 데이터베이스" 및 "NetWorker 웹 관리 UI 서버" 서비스를 시작합니다. net start nwui
  2. 다음을 확인합니다. monitoringdbpasswordalias NWUI 키 저장소에서 생성되었습니다.
"C:\Program Files\NRE\java\jre1.8.0_321\bin\keytool.exe" -list -keystore  "C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore"
  1.  NWUI에서 증상이 더 이상 발생하지 않는지 확인합니다.

 

참고: Java 버전 폴더(jre1.8.0_321)는 설치된 NRE 버전에 따라 다를 수 있습니다. 서버의 Java 버전과 일치하도록 경로를 조정합니다.
Article Properties
Article Number: 000199953
Article Type: Solution
Last Modified: 09 Sept 2026
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.