DPA Commvault jobmonitor 要求失敗,並顯示「無法連線至資料庫伺服器」

Summary: Data Protection Advisor (DPA) Commvault jobmonitor 要求失敗,並顯示「無法連線至資料庫伺服器」

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

Commvault jobmonitor 要求無法連線至 CommServ 資料庫以收集工作資訊。
在 dpaagent.log:

ERR 10924.7888 20190611:141003 sodbc.mssql.connect - cmssqlConnect() 中找到下列錯誤:SQLDriverConnect() 失敗:連接字串為:驅動程式 = SQL 伺服器;SERVER=<server_name>\COMMVAULT;TRUSTED_CONNECTION=是;資料庫=通信;
ERR 10924.7888 20190611:141003 sodbc.mssql.sodbc - sodbcOpen():無法連線至資料庫伺服器。server=<customer server name>\COMMVAULT, dbname=CommServ, user=, port=1512, flags=1.錯誤為:記:1、狀態:4060,狀態:42000,描述:[Microsoft][ODBC SQL Server 驅動程式][SQL Server]無法開啟資料庫 ”通訊服務;登錄請求。登入失敗。(-1)
DBG1 10924.7888 20190611:141003 sodbc.mssql.connect - cmssqlClose():正在關閉與 SQL Server 資料庫的連線。Server=<server_name>\COMMVAULT、DB=CommServ、Port=1512、Trusted=1、 User=(null)
ERR 10924.7888 20190611:141003 agent.mod.cmv - jobmonitor(): 無法連線至 CommServ 資料庫


 

Cause

Commvault 在後端使用 SQL 資料庫。
上述錯誤的原因是指派啟動 DPA 代理程式程序的使用者沒有存取 SQL 資料庫的權限。

Resolution

如果 CommVault SQL Server 使用 Windows 驗證,DPA 代理程式服務必須使用指定帳戶執行。
為 DPA 代理程式服務選擇的指定帳戶必須具有 CommVault SQL 資料庫讀取存取權限。

適用下列規則:

1.使用遠端代理程式進行 SQL 驗證 – 不支援

2.使用本機代理程式進行 SQL 驗證 - 不支援

3.Windows 驗證與遠端代理程式 - 不支援

4.使用本機代理程式進行 Windows 驗證 – 支援

Affected Products

Data Protection Advisor

Products

Data Protection Advisor
Article Properties
Article Number: 000039480
Article Type: Solution
Last Modified: 18 Mar 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.