NetWorker Web 介面無法擷取儀表板監控的最新計數
Summary: NetWorker Web 使用者介面 (NWUI) 可用來管理 NetWorker 資料區。 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

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 ...
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!/:?] ...
Cause
監控程序需要 NWUI 金鑰存放區的權限,才能填入儀表板資訊。可使用 "monitoringdbpasswordalias" 別名已從 NWUI 金鑰存放區 (NWUI.keystore) 檔案中移除,且監控程序無法驗證。失蹤的原因 "monitoringdbpasswordalias" 別名未知。
NWUI 金鑰存放區應顯示 "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,
受影響的環境缺少 "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
Resolution
可使用 "monitoringdbpasswordalias" 別名必須在 NWUI 金鑰存放區中重新建立。必須使用 NWUI 金鑰存放區密碼,才能驗證至 NWUI 金鑰存放區檔案。在此過程中,應使用 NWUI 金鑰存放區密碼來 <取代密碼>。
- 使用 「以系統管理員身分執行」 選項開啟命令提示字元視窗。
- 建立 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"
- 使用文字編輯器開啟 pg_hba.conf 檔案:
notepad "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf"
- 將檔案底部所有未註解使用者的方法從「md5」變更為「trust」
- 將變更儲存至 pg_hba.conf
- 停止 「NetWorker WebUI 資料庫」 和 「NetWorker Web 管理 UI 伺服器」
services: net stop nwui - 啟動 「NetWorker WebUI 資料庫」 和「NetWorker Web 管理 UI 伺服器」服務:
net start nwui - 連線至 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 資料庫」 和 「NetWorker Web 管理 UI 伺服器」 服務:
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 檔案。
- 還原 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"
- 啟動 「NetWorker WebUI 資料庫」和「NetWorker Web 管理 UI 伺服器」服務:
net start nwui - 確認
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"
- 驗證 NWUI 中不再發生症狀。
Article Properties
Article Number: 000199953
Article Type: Solution
Last Modified: 30 Oct 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.