分享方式:


SQL Server 使用網域認證的服務無法啟動

本文討論當啟動帳戶沒有必要許可權時,SQL Server 無法啟動的問題。

原始產品版本: SQL S
原始 KB 編號: 3006856

徵狀

當您嘗試啟動或重新啟動 SQL Server 服務時,它無法這麼做,而且下列訊息會記錄在 SQL Server 錯誤記錄檔中:

<Time stamp> spid9s Error: 17182, Severity: 16, State: 1.

<Time stamp> spid9s TDSSNIClient initialization failed with error 0xffffffff, status code 0x80. Reason: Unable to initialize SSL support.

<Time stamp> spid9s Error: 17182, Severity: 16, State: 1.

<Time stamp> spid9s TDSSNIClient initialization failed with error 0xffffffff, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors.

<Time stamp> spid9s Error: 17826, Severity: 18, State: 3. Time stamp spid9s Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.

<Time stamp> spid9s Error: 17120, Severity: 16, State: 1. Time stamp spid9s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

注意事項

此問題只會發生在在網域帳戶下執行的 SQL Server 實例上。

原因

發生此問題的原因是遺失授與 SQL 服務帳戶的一般許可權。 必須存在的 SQL Server 啟動帳戶的用戶權力如下:

  • 調整進程的記憶體配額 (SeIncreaseQuotaPrivilege) 。

  • 略過周遊檢查 (SeChangeNotifyPrivilege) 。

  • 以服務 方式登入 (SeServiceLogonRight) 。

  • 將處理程式層級令牌 取代 (SeAssignPrimaryTokenPrivilege) 。

如需詳細資訊,請 參閱服務許可權

解決方案

若要解決此問題,請使用本機安全策略 MMC 嵌入式管理單元中的 [用戶權力指派] 窗格,將遺漏的許可權授與 SQL 服務網域帳戶。