天天看点

解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题



解决在Azure 部署SharePoint2013 数据服务器和域连接出现的问题

  • 问题描述:在Azure上部署了两个服务器,使用的是一个DNS一个网段,由于使用频繁,欠费停机了。 到月自动续费后,打开SharePoint 2013 administration center 时出现如下问题。
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
  • 修改了,根据问题描述配置文件,显示错误如下,很明显这是失去了对数据库服务器的控制权限或连接。This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start menu in Microsoft SharePoint 2010 Products. 
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
  • 在Azure  虚拟机上ping 数据库服务器10.0.0.5 正常,远程桌面访问也正常。
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
  • 无奈最后,使用SharePoint 配置管理工具重新配置,发现出现如下问题。
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题

很明显和数据库失去了联系,没有SQL是无法搭建SharePoint 2013的。

  • 在WEB服务器使用数据库访问,也正常。
  • 很无奈就查了一些资料,这个就体现出google的伟大了。找到的结果是有可能数据库服务器脱域了。奇怪的是我使用域账户可以登录这个服务器,也许是域帐号已经加入到系统管理组了吧。 在administrator 组里找不到域账户,也搜索不到,预计是域的问题了。
  • 于是把服务器脱域,再加入发现问题如下。network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt.

    An error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain "dct.com".

    The error was: "An existing connection was forcibly closed by the remote host."

    (error code 0x00002746 WSAECONNRESET)

    The query was for the SRV record for _ldap._tcp.dc._msdcs.dct.com

解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
  • 由于我不是搞网络,不明白怎么搞,继续Google,给出的结果是 使用这个Net stop netlogon & net start netlogon

    Net stop ntfrs & net start ntfrs。

  • 由于我的执行完 就关闭了。 所以找了一个执行抓图,如下
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
  • 执行成功之后,重启2个服务器。再去管理中心OK了。
  • 解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题
  • 其实后来我考虑是不是更换过服务器密码造成的,在Azure管理中心修改了服务器密码,然后又改回来了。
  • 虽然改回来是不是对DNS已经产生了影响?修改密码的原因如下。
解决在Azure 部署SharePoint2013 数据服务器拒绝连接和域连接出现的问题

继续阅读