我正在做我的iis到我的sql服務器的雙跳kerberos身份驗證,爲此我需要SQLEXPRESS服務在域用戶下運行。無法啓動域名用戶下的sql server
域名:domain.test 服務用戶:SQLSRV SQL Server的計算機名稱:SQL
當我嘗試啓動該服務,這是錯誤我得到:
Windows Could not start the SQL Server (SQLEXPRESS) on Local Computer.
For more information, review the System Event Log.
If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 17058.
錯誤我看到在事件日誌中:
initerrlog: Could not open error log file 'c:\Program Files\Microsoft SQL Server\MSSQ.1\MSSQL\LOG\ERRORLOG'.
Operating System error = 5 (Access is denied).
Source: MSSQL$SQLEXPRESS
Event ID: 17058
我已經設置了以下SPN:
setspn -L domain.test\sqlSrv
setspn -A SQLEXPRESS/SQL:1433 domain.test\sqlSrv
setspn -A SQLEXPRESS/SQL.domain.test:1433 domain.test\sqlSrv