天天看點

解決在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 資料伺服器拒絕連接配接和域連接配接出現的問題

繼續閱讀