NetWorker:如何啟用 AUTHC 偵錯以進行故障診斷
Summary: 本知識文章概述如何啟用 NetWorker 驗證服務 (authc) 的偵錯。不建議將調試作為初始故障排除步驟。如果預設紀錄記錄無法充分詳述 authc 中遇到的問題,則建議執行此程序。
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.
Instructions
必須在 NetWorker (AUTHC) 伺服器上修改兩個檔案。
(1)
Linux:
Windows:
/nsr/authc/webapps/auth-server/WEB-INF/classes/log4j.properties
Windows:
..\Program Files\EMC NetWorker\nsr\authc-server\tomcat\webapps\auth-server\WEB-INF\classes\log4j.properties
(2)
Linux:
Windows:
/opt/nsr/authc-server/conf/authc-cli-log4j.properties
Windows:
..\Program Files\EMC NetWorker\nsr\authc-server\conf\authc-cli-log4j.properties
注意:在更改這些檔之前,請創建每個檔的副本。
(1) log4j.properties:
在 log4j.properties 您應該會看到:
appender.app.policies.size.size=2000KB
appender.audit.policies.size.size=2000KB
logger.audit.level = error
rootLogger.level = warn
變更為:
appender.app.policies.size.size=100MB
appender.audit.policies.size.size=100MB
logger.audit.level = debug
rootLogger.level= debug
(2) authc-cli-log4j.properties:
在 authc-cli-log4j.properties 您應該看到的檔案:
appender.syslog.policies.size.size=100KB
rootLogger.level = error
變更為:
appender.syslog.policies.size.size=100MB
rootLogger.level= debug
重新啟動服務:
必須重新啟動 NetWorker 伺服器服務,偵錯變更才會生效。
Linux:
nsr_shutdown
systemctl start networker
Windows:
net stop nsrd
net start nsrd
監控 NetWorker 伺服器daemon.raw,以取得有關 NetWorker 伺服器服務 (nsrd) 啟動的訊息:
Linux: /nsr/logs/daemon.raw
Windows: ..\Program Files\EMC NetWorker\nsr\logs\daemon.raw
NetWorker:如何使用nsr_render_log呈現.raw紀錄檔
以 DEBUG 標記的訊息應可在下列位置看到: authc-server-audit.log 和 authc-server.log。
Linux: /nsr/authc/logs/
Windows: ..\Program Files\EMC NetWorker\nsr\authc-server\tomcat\logs\
停用除錯:
裝回 log4j.properties 和 authc-cli-log4j.properties 到應用調試設置之前創建的原始副本。如果未創建副本,請設置上述預設參數。必須重新啟動 NetWorker 伺服器服務,才能在未套用除錯的情況下重新載入驗證服務。
Additional Information
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000196412
Article Type: How To
Last Modified: 09 Jul 2025
Version: 9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.