티스토리 뷰

MSSQL

MSSQL 데이터베이스엔진 설치 오류

修人事待天命♡ 2017. 8. 24. 15:07

MSSQL을 설치하다보면

"데이터베이스 엔진 복구핸들을 기다리지 못했습니다."
라는 오류메세지가 나오면서 데이터베이스엔진 설치가 안돼는 경우가 있다.
설치과정 중에 계정설정하는 부분을 다른 계정명으로 설정해야한다.

이런경우 해결법은
일단 재설치를 하기 위해서 
1. MSSQL관련 프로그램을 모두 지운다.
2. 재설치 시작
3. 계정설정하는 부분에서 
    NT Service\MSSQLSERVER로 되어 있는 것을
1) NT AUTHORITY\NETWORK SERVICE
2) NT AUTHORITY\LOCAL SERVICE
위의 계정 2개중에 1개를 복사붙이기한다.
나머지과정은 동일하다.

나는 파란색으로 표시한 계정을 사용해서 성공했다.

요기에서 솔루션을 발견했다.

SQL SERVER – SQL Installation fails with error code 0x851A001A – Wait on the Database Engine recovery handle failed

One of my client was trying to deploy his product on their test servers. They found that the SQL Server installation was failing with below error. Let us learn about error Wait on the Database Engine recovery handle failed.

Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

SQL SERVER - SQL Installation fails with error code 0x851A001A - Wait on the Database Engine recovery handle failed install-dc-01

As per my internet search this happens when SQL Setup is not able to start SQL Service during installation. I have looked into SQL Server ERRORLOG and found below the messages.


2016-12-23 16:15:04.84 spid14s Error: 17120, Severity: 16, State: 1.
2016-12-23 16:15:04.84 spid14s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

This was interesting because my client was trying to install this on a Domain Controller. I checked setup logs again and found below in Summary.txt file.

SQLSVCACCOUNT: NT Service\MSSQLSERVER

SQL SERVER - SQL Installation fails with error code 0x851A001A - Wait on the Database Engine recovery handle failed install-dc-02

Above parameter shows the account name which was selected during installation.  Since this is a domain controller, I thought that there might be issues due to this.

WORKAROUND / SOLUTION

As the error says, first we need to uninstall the feature and then during setup, when we come to Server Configuration Screen, we need to change the account name of the Database Engine Service to

  1. NT AUTHORITY\NETWORK SERVICE.
  2. NT AUTHORITY\LOCAL SERVICE.

Both worked for my client and they could install SQL Express.

Reference: Pinal Dave (https://blog.sqlauthority.com)


'MSSQL' 카테고리의 다른 글

데이터베이스 컬럼정보 가져오기  (0) 2018.01.12
[MS-SQL] 단일사용자 모드 해제  (0) 2017.12.08
LINK DB  (0) 2017.09.08
[MS SQL]SIMPLE LOG LEVEL  (0) 2017.04.18
MS-SQL 테이블 목록, 컬럼 상세내용 보기  (0) 2016.10.13
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함