NetWorker Module for Microsoft:SQL 备份失败,并显示错误“Named Pipes Provider: Could not open a connection to SQL Server [2]

Summary: SQL 备份失败,因为 SQL Server 没有从客户端响应或停止响应。此外,SQL Server 无法列出 SQL 数据库。在 NMC 中失败时,显示错误 38008: nsrsqlsv: Named Pipes Provider: Could not open a connection to SQL Server [2].

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

  • SQL 备份失败,并显示以下错误消息:

38571:nsrsqlsv: Bad switch: -o 38562:nsrsqlsv: Unsupported savegrp option -o will be ignored 153887:nsrsqlsv: Microsoft SQL server documentation provides details about the following SQL Server Provider error: 38008:nsrsqlsv: Named Pipes Provider: Could not open a connection to SQL Server [2].  153416:nsrsqlsv: (Error: 2)

 

  • 在 NetWorker Module for Microsoft (NMM) 客户端上,nsrsqlsv 日志在“C:\Program Files\EMC NetWorker\nsr\applogs\nsrsqlsv.log”下包含详细信息。

Cause

导致此问题的原因是 VSS 编写器不稳定。
导致此问题的原因还包括 SQL Server 服务没有正确响应。

Resolution

  1. 在 SQL 客户端上,重新启动 SQL Server 服务。

Windows: 

net start MSSQLSERVER

提醒:有关此问题的其他信息,请参阅以下 Microsoft 文档:
https//docs.microsoft.com/en-us/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services?view=sql-server-ver15#:~:text=SQL%20Server%20Management%20Studio,-Start%2C%20stop%2C%20pause&text=Or%2C%20in%20Registered%20Servers%2C%20right,Pause%2C%20Resume%2C%20or%20Restart

  1. 重新启动 NetWorker 客户端服务并检查是否存在过时的进程(如果有): 
  • 启动或停止 NetWorker 服务: 
net stop nsrexecd /y && net start nsrexecd
  • 检查过时进程:
tasklist | findstr nsr
  • 终止进程:
tskill 
提醒:PID 在任务列表输出中的服务守护程序旁边生成。
Article Properties
Article Number: 000199292
Article Type: Solution
Last Modified: 06 Nov 2022
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.