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() failed: connect string was:DRIVER=SQL Server;SERVER=<server_name>\COMMVAULT;TRUSTED_CONNECTION=是;DATABASE=CommServ;
ERR 10924.7888 20190611:141003 sodbc.mssql.sodbc - sodbcOpen ():未能连接到数据库服务器。server=<customer server name>\COMMVAULT, dbname=CommServ, user=, port=1512, flags=1.Error was: 记录:1、状态:4060, State:42000, Description:[Microsoft][ODBC SQL Server 驱动程序][SQL Server]无法打开数据库”CommServ”由登录请求。登录失败。(-1)
DBG1 10924.7888 20190611:141003 sodbc.mssql.connect - cmssqlClose():正在关闭与 SQL Server 数据库的连接。Server=<server_name>\COMMVAULT,DB=CommServ,端口=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.