解決SQL Server 1069錯(cuò)誤登錄失敗

2010-08-28 10:47:36來源:西部e網(wǎng)作者:

SQL Server 服務(wù)由于登錄失敗而無法啟動(dòng)

癥狀

在重新啟動(dòng) SQL Server、SQL Executive 或 SQL Server Agent 時(shí),可能無法啟動(dòng)該服務(wù),并顯示以下錯(cuò)誤信息:

Error 1069:The service did not start due to a logon failure.
或者
錯(cuò)誤 1069:由于登錄失敗而無法啟動(dòng)服務(wù)

原因

SQL Server、SQL Agent 或 SQL Server Executive 啟動(dòng)服務(wù)帳戶的密碼不正確,因?yàn)槊艽a可能已被更改了。

替代方法

若要解決此問題,請(qǐng)?jiān)?SQL Server 主機(jī)的 Microsoft SQL Server 服務(wù)帳戶中鍵入正確的密碼。

若要在 Microsoft Windows 2000 Server 和 Microsoft Windows XP 中更正該密碼,請(qǐng)按照下列步驟操作:
1. 單擊開始,指向設(shè)置,然后單擊控制面板
2. 雙擊管理工具,然后雙擊服務(wù)
3. 雙擊 MSSQLSERVER,然后單擊登錄選項(xiàng)卡。
4. 密碼和確認(rèn)密碼文本框中鍵入正確的密碼,然后單擊確定
若要在 Microsoft Windows NT 4.0 中更正該密碼,請(qǐng)按照下列步驟操作:
1. 單擊開始,指向設(shè)置,然后單擊控制面板。
2. 雙擊服務(wù),然后雙擊 MSSQLSERVER
3. 密碼和確認(rèn)密碼文本框中鍵入正確的密碼,然后單擊確定
注意:通過 Services 小程序更改該密碼使 SQL Server 可以成功重新啟動(dòng);但是,如果安裝了 Microsoft 搜索(全文搜索服務(wù)),則它要求通過 SQL 企業(yè)管理器 (SEM) 進(jìn)行隨后的密碼更改。

以下一節(jié)摘自 SQL Server 2000 聯(lián)機(jī)圖書:

“After changing the SQL Server service account information in Control Panel, you must also change the SQL Server service account in SQL Server Enterprise Manager.This allows the service account information for Microsoft Search service to remain synchronized as well.

Important:Although the Microsoft Search service is always assigned to the local system account, the full-text search engine tracks the SQL Server service account in Windows.Full-text search and failover clustering are not available if Windows password changes are not reset using SQL Server Enterprise Manager.”(在控制面板中更改 SQL Server 服務(wù)帳戶信息后,您還必須在 SQL Server 企業(yè)管理器中更改 SQL Server 服務(wù)帳戶。這樣,用于 Microsoft 搜索服務(wù)的服務(wù)帳戶信息也會(huì)保持同步。重要說明:盡管將 Microsoft Search 服務(wù)始終分配給本地系統(tǒng)帳戶,但全文搜索引擎跟蹤 Windows 中的 SQL Server 服務(wù)帳戶。如果沒有使用 SQL Server 企業(yè)管理器重置 Windows 密碼更改,則無法使用全文搜索和故障轉(zhuǎn)移群集。)


通過使用 SEM,右鍵單擊服務(wù)器,單擊屬性,然后單擊安全選項(xiàng)卡。在啟動(dòng)服務(wù)帳戶下面,輸入相應(yīng)的帳戶和密碼。
關(guān)鍵詞:SQLServer

贊助商鏈接: