The process could not read file xxx due to OS error 53

Posted 王超元

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The process could not read file xxx due to OS error 53相关的知识,希望对你有一定的参考价值。

 

    在不同地域的两个SQL Server服务器上配置了复制(Replication)用于同步数据(生产环境配置有Replication,测试环境也配有Replication),两地通过专线连接起来,这些复制(Replication)已经稳定运行了一两年了, 但是前阵子,测试环境的SQL Server的Replication中突然遇到下面错误:

 

 

Error messages:

The process could not read file \'\\\\xxx\\xxx\\xxx\\xxx\\xxx\\xxx.pre\' due to OS error 53. (Source: MSSQL_REPL, Error number: MSSQL_REPL20024)
Get help: http://help/MSSQL_REPL20024

 

image

 

 

分析研究了一下这个问题,当使用新的快照重新初始化订阅或配置一个新的发布时,都会遇到这个问题,原因在于指定的UNC 网络共享(例如 \\\\<computername>\\snapshot)在订阅服务器无法访问,因为前阵子WannaCry病毒肆虐时,系统管理员禁用了在两地的专线上共享文件。所以导致了这个问题。这种情况,只能改用FTP Snapshot解决!

 

 

 

 

 

以上是关于The process could not read file xxx due to OS error 53的主要内容,如果未能解决你的问题,请参考以下文章

Unity打开项目报错提示Could not establish a connection with the Unity Package Manager local server process

Could not update the distribution database subscription table. The subscription status could not be

IO 异常:The Network Adapter could not establish the connection 怎么解决

Could not attach to a Hearthstone process.

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all