Код ошибки 0x851a001a при установке sql server

Дано: Microsoft Windows Server 2012 R2 Standard x64 RU + Microsoft SQL Server 2016 RTM EE RU.
В процессе установки возникает следующая ошибка:

Ошибка

Далее видно, что не установились следующие компоненты:

Ошибка установки

Ок, смотрю как написано в лог-файл Summary но ничего, что может натолкнуть на понимание проблемы не вижу:

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for SQLEngine:       Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Next step for DQ:              Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Next step for FullText:        Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Next step for AdvancedAnalytics: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Next step for Replication:     Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.

.......

Detailed results:
  Feature:                       Соединение с клиентскими средствами
  Status:                        Завершено

  Feature:                       Пакет SDK клиентских средств
  Status:                        Завершено

  Feature:                       Службы ядра СУБД
  Status:                        Ошибка. Дополнительные сведения см. в журнале.
  Reason for failure:            Произошла ошибка во время процесса установки компонента.
  Next Step:                     Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Component name:                Экземпляры служб ядра СУБД SQL Server
  Component error code:          0x851A001A
  Error description:             Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server.

  Feature:                       Служба Data Quality Services
  Status:                        Ошибка. Дополнительные сведения см. в журнале.
  Reason for failure:            Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
  Next Step:                     Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Component name:                Экземпляры служб ядра СУБД SQL Server
  Component error code:          0x851A001A
  Error description:             Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server.

  Feature:                       Полнотекстовый и семантический поиск
  Status:                        Ошибка. Дополнительные сведения см. в журнале.
  Reason for failure:            Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
  Next Step:                     Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Component name:                Экземпляры служб ядра СУБД SQL Server
  Component error code:          0x851A001A
  Error description:             Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server.

  Feature:                       R Services (в базе данных)
  Status:                        Ошибка. Дополнительные сведения см. в журнале.
  Reason for failure:            Произошла ошибка во время процесса установки компонента.
  Next Step:                     Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Component name:                R Services (в базе данных)
  Component error code:          0x80131509
  Error description:             Cannot find group with identity S-1-5-21-3440621758-1074549526-1447665842-1131.

  Component name:                Экземпляры служб ядра СУБД SQL Server
  Component error code:          0x851A001A
  Error description:             Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server.


  Feature:                       Репликация SQL Server
  Status:                        Ошибка. Дополнительные сведения см. в журнале.
  Reason for failure:            Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
  Next Step:                     Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
  Component name:                Экземпляры служб ядра СУБД SQL Server
  Component error code:          0x851A001A
  Error description:             Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server.


  Feature:                       Браузер SQL
  Status:                        Завершено

  Feature:                       Компоненты документации
  Status:                        Завершено

  Feature:                       Модуль записи SQL
  Status:                        Завершено

  Feature:                       Средства связи клиента SQL
  Status:                        Завершено

  Feature:                       Пакет SDK средств связи клиента SQL
  Status:                        Завершено

  Feature:                       Файлы поддержки программы установки
  Status:                        Завершено

Вопрос в том, почему не устанавливается и как сделать, чтобы установилось?

Hi,

I am trying to isntall SQL Server 2012 on Windows Server 2008 R2, but the Database Engine Services failed to install, and I cannot start the MSSQLSERVER Service after installation.

Installation error:

Error installing SQL Server Database Engine Services Instance Features
Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error code: 0x851A001A

W3WP.EXE Crash:

I noticed that during installation w3wp.exe has crashed:

Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
   at System.Web.Caching.SqlCacheDependencyManager.Dispose(Int32)
   at System.Web.HttpRuntime.Dispose()
   at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

A process serving application pool ‘HTTP Pool’ suffered a fatal communication error with the Windows Process Activation Service. The process id was ‘4544’. The data field contains the error number.

MSSQL Service:

When I try to start the MSSQL service, I get the following errors in the event log:

For target, «5B2DA06D-898A-43C8-9309-39BBBE93EBBD.package0.event_file», the parameter «filename» passed is invalid. Target parameter at index 0 is invalid
Event session «system_health» failed to start. Refer to previous errors in the current session to identify the cause, and correct any associated problems.
Script level upgrade for database ‘master’ failed because upgrade step ‘u_tables.sql’ encountered error 25641, state 0, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline.
If the error happened during upgrade of the ‘master’ database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script
upgrade steps run to completion.

Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.

Installation Log:

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2061893606
  Start time:                    2013-06-10 23:02:24
  End time:                      2013-06-11 00:06:27
  Requested action:              Install

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.

Machine Properties:
  Machine name:                  SERVER01
  Machine processor count:       4
  OS version:                    Windows Server 2008 R2
  OS service pack:               Service Pack 1
  OS region:                     United States
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                   
Feature                                  Language            
Edition              Version         Clustered

Package properties:
  Description:                   Microsoft SQL Server 2012 Service Pack 1
  ProductName:                   SQL Server 2012
  Type:                          RTM
  Version:                       11
  Installation location:         N:\Software\Windows Server\Microsoft SQL Server 2012 SP1 (x64)\x64\setup\
  Installation edition:          Web

  Slipstream:                    True
  SP Level                       1
  Patch Level:                   11.1.3128.0

Product Update Status:
  Success: KB 2674319, KB 2793634

Product Updates Selected for Installation:
  Title:                         Service Pack 1
  Knowledge Based Article:       KB 2674319
  Version:                       11.1.3000.0
  Architecture:                  x64
  Language:                      1033

  Title:                         SQL Server 2012 SP1 GDR Product Update
  Knowledge Based Article:       KB 2793634
  Version:                       11.1.3128.0
  Architecture:                  x64
  Language:                      All

  Update Source:                 MU

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      false
  AGTSVCACCOUNT:                 NT Service\SQLSERVERAGENT
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Manual
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Disabled
  CLTCTLRNAME:                   <empty>
  CLTRESULTDIR:                  <empty>
  CLTSTARTUPTYPE:                0
  CLTSVCACCOUNT:                 <empty>
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 <empty>
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20130610_224552\ConfigurationFile.ini
  CTLRSTARTUPTYPE:               0
  CTLRSVCACCOUNT:                <empty>
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     <empty>
  ENABLERANU:                    false
  ENU:                           true
  ERRORREPORTING:                false
  FEATURES:                      SQLENGINE, SSMS
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             E:\MSSQL
  INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
  INSTANCEID:                    MSSQLSERVER1
  INSTANCENAME:                  MSSQLSERVER
  ISSVCACCOUNT:                  NT AUTHORITY\Network Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          <empty>
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultSharePointMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         <empty>
  SECURITYMODE:                  <empty>
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  Latin1_General_CI_AS
  SQLSVCACCOUNT:                 NT Service\MSSQLSERVER
  SQLSVCPASSWORD:                <empty>
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           ELXTECH\Administrator
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  false
  TCPENABLED:                    1
  UIMODE:                        Normal
  UpdateEnabled:                 true
  UpdateSource:                  MU
  X86:                           false

  Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20130610_224552\ConfigurationFile.ini

Detailed results:
  Feature:                       Management Tools — Basic
  Status:                        Passed

  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:              

http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       SQL Client Connectivity
  Status:                        Passed

  Feature:                       SQL Client Connectivity SDK
  Status:                        Passed

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20130610_224552\SystemConfigurationCheck_Report.htm

Hi,

I am trying to isntall SQL Server 2012 on Windows Server 2008 R2, but the Database Engine Services failed to install, and I cannot start the MSSQLSERVER Service after installation.

Installation error:

Error installing SQL Server Database Engine Services Instance Features
Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error code: 0x851A001A

W3WP.EXE Crash:

I noticed that during installation w3wp.exe has crashed:

Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
   at System.Web.Caching.SqlCacheDependencyManager.Dispose(Int32)
   at System.Web.HttpRuntime.Dispose()
   at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

A process serving application pool ‘HTTP Pool’ suffered a fatal communication error with the Windows Process Activation Service. The process id was ‘4544’. The data field contains the error number.

MSSQL Service:

When I try to start the MSSQL service, I get the following errors in the event log:

For target, «5B2DA06D-898A-43C8-9309-39BBBE93EBBD.package0.event_file», the parameter «filename» passed is invalid. Target parameter at index 0 is invalid
Event session «system_health» failed to start. Refer to previous errors in the current session to identify the cause, and correct any associated problems.
Script level upgrade for database ‘master’ failed because upgrade step ‘u_tables.sql’ encountered error 25641, state 0, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline.
If the error happened during upgrade of the ‘master’ database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script
upgrade steps run to completion.

Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.

Installation Log:

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2061893606
  Start time:                    2013-06-10 23:02:24
  End time:                      2013-06-11 00:06:27
  Requested action:              Install

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.

Machine Properties:
  Machine name:                  SERVER01
  Machine processor count:       4
  OS version:                    Windows Server 2008 R2
  OS service pack:               Service Pack 1
  OS region:                     United States
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                   
Feature                                  Language            
Edition              Version         Clustered

Package properties:
  Description:                   Microsoft SQL Server 2012 Service Pack 1
  ProductName:                   SQL Server 2012
  Type:                          RTM
  Version:                       11
  Installation location:         N:\Software\Windows Server\Microsoft SQL Server 2012 SP1 (x64)\x64\setup\
  Installation edition:          Web

  Slipstream:                    True
  SP Level                       1
  Patch Level:                   11.1.3128.0

Product Update Status:
  Success: KB 2674319, KB 2793634

Product Updates Selected for Installation:
  Title:                         Service Pack 1
  Knowledge Based Article:       KB 2674319
  Version:                       11.1.3000.0
  Architecture:                  x64
  Language:                      1033

  Title:                         SQL Server 2012 SP1 GDR Product Update
  Knowledge Based Article:       KB 2793634
  Version:                       11.1.3128.0
  Architecture:                  x64
  Language:                      All

  Update Source:                 MU

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      false
  AGTSVCACCOUNT:                 NT Service\SQLSERVERAGENT
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Manual
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Disabled
  CLTCTLRNAME:                   <empty>
  CLTRESULTDIR:                  <empty>
  CLTSTARTUPTYPE:                0
  CLTSVCACCOUNT:                 <empty>
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 <empty>
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20130610_224552\ConfigurationFile.ini
  CTLRSTARTUPTYPE:               0
  CTLRSVCACCOUNT:                <empty>
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     <empty>
  ENABLERANU:                    false
  ENU:                           true
  ERRORREPORTING:                false
  FEATURES:                      SQLENGINE, SSMS
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             E:\MSSQL
  INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
  INSTANCEID:                    MSSQLSERVER1
  INSTANCENAME:                  MSSQLSERVER
  ISSVCACCOUNT:                  NT AUTHORITY\Network Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          <empty>
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultSharePointMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         <empty>
  SECURITYMODE:                  <empty>
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  Latin1_General_CI_AS
  SQLSVCACCOUNT:                 NT Service\MSSQLSERVER
  SQLSVCPASSWORD:                <empty>
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           ELXTECH\Administrator
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  false
  TCPENABLED:                    1
  UIMODE:                        Normal
  UpdateEnabled:                 true
  UpdateSource:                  MU
  X86:                           false

  Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20130610_224552\ConfigurationFile.ini

Detailed results:
  Feature:                       Management Tools — Basic
  Status:                        Passed

  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:              

http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       SQL Client Connectivity
  Status:                        Passed

  Feature:                       SQL Client Connectivity SDK
  Status:                        Passed

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20130610_224552\SystemConfigurationCheck_Report.htm

I cannot install MS SQL Express 2019 or 2014, can someone help?  Seems like a common issue but I have tried the common solutions found here and other places online.

Windows Server 2016 (even though log says 2012)

I have tried installing SQL Server Express 2019 about 5 times with different tutorials online.  No success with the same error.  I just tried SQL Server 2014 Express and same error.  I’ve tried about 5 different names including creating a
local admin user «SQL» and trying that during the configuration section of the installation process.

If it matters, I am running this as a virtual machine using bhyve (FreeBSD)

Below is my log.  Any help is greatly appreciated.

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2061893606
  Start time:                    2020-07-02 16:51:15
  End time:                      2020-07-02 17:05:53
  Requested action:              Install

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.

Machine Properties:
  Machine name:                  VM_SQLSERVER
  Machine processor count:       2
  OS version:                    Windows Server 2012
  OS service pack:               
  OS region:                     United States
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          32 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature               
                  Language             Edition              Version         Clustered  Configured

Package properties:
  Description:                   Microsoft SQL Server 2014 
  ProductName:                   SQL Server 2014
  Type:                          RTM
  Version:                       12
  SPLevel:                       0
  Installation location:         C:\Users\Administrator\Downloads\SQLEXPRWT_x86_ENU3\x86\setup\
  Installation edition:          Express

Product Update Status:
  None discovered.

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      true
  AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Disabled
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Disabled
  CLTCTLRNAME:                   <empty>
  CLTRESULTDIR:                  <empty>
  CLTSTARTUPTYPE:                0
  CLTSVCACCOUNT:                 <empty>
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 <empty>
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             
  CTLRSTARTUPTYPE:               0
  CTLRSVCACCOUNT:                <empty>
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     <empty>
  ENABLERANU:                    true
  ENU:                           true
  ERRORREPORTING:                false
  FEATURES:                      SQLENGINE, REPLICATION, CONN, BC, SDK, SSMS, ADV_SSMS, SNAC_SDK
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             <empty>
  INSTANCEDIR:                   C:\Program Files (x86)\Microsoft SQL Server\
  INSTANCEID:                    SQLEXPRESS
  INSTANCENAME:                  SQLEXPRESS
  ISSVCACCOUNT:                  NT AUTHORITY\Network Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          AllFeatures_WithDefaults
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultShareSQLSERVERMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  SQL
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 SQL
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           VM_SQLSERVER\Administrator
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  false
  TCPENABLED:                    0
  UIMODE:                        AutoAdvance
  UpdateEnabled:                 true
  UpdateSource:                  MU
  USEMICROSOFTUPDATE:            false
  X86:                           true

  Configuration file:            C:\Program Files (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log\20200702_165108\ConfigurationFile.ini

Detailed results:
  Feature:                       Management Tools — Complete
  Status:                        Passed

  Feature:                       Client Tools Connectivity
  Status:                        Passed

  Feature:                       Client Tools SDK
  Status:                        Passed

  Feature:                       Client Tools Backwards Compatibility
  Status:                        Passed

  Feature:                       Management Tools — Basic
  Status:                        Passed

  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xE53883A0%400xBE03358B%401306%4026&EvtType=0xE53883A0%400xBE03358B%401306%4026

  Feature:                       SQL Server Replication
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xE53883A0%400xBE03358B%401306%4026&EvtType=0xE53883A0%400xBE03358B%401306%4026

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       SQL Client Connectivity
  Status:                        Passed

  Feature:                       SQL Client Connectivity SDK
  Status:                        Passed

  Feature:                       Setup Support Files
  Status:                        Passed

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log\20200702_165108\SystemConfigurationCheck_Report.htm

Windows 11 SQL Server error – Wait on the Database Engine recovery handle failed




  • Shaun Austin




  • May 24, 2022



  • 11:10 am

When installing SQL Server on Windows 11, sometimes it fails!

When installing (or upgrading) SQL Server (2016+) on a machine running Windows 11, you may find that the installation fails with the following SQL Server error:

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

Windows 11 SQL Server error – Wait on the Database Engine recovery handle failed

Even with this error, SQL Server is installed. But it isn’t running! The service won’t start. When you attempt to start the SQL Server service, you get this error:

Windows could not start the SQL Server service on Local Computer. Error 1067: The process terminated unexpectedly.

Windows 11 SQL Server error – Wait on the Database Engine recovery handle failed - Process Terminated Unexpectedly

The installation log files aren’t helpful!

The setup summary file doesn’t tell us much more. This will usually be located somewhere like C:\Program Files\Microsoft SQL Server\[n]\Setup Bootstrap\Log\Summary.txt



Detailed results:





Feature:

Database Engine Services

Status:

Failed

Reason for failure:

An error occurred during the setup process of the feature.

Next step:

Use the following information to resolve the error, uninstall this feature, and then run the setup process again.

Component name:

SQL Server Database Engine Services Instance Features

Component error code:

0x851A001A

Error description:

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

Why is this SQL Server error happening in Windows 11?

It took some googling research and a few wrong turns, but I eventually came across this Microsoft article that documented the problem. Below is the key section for understanding the cause:

On systems running Windows 11, some new storage devices and device drivers will expose a disk sector size greater than the supported 4 KB sector size.

Put simply, the problem is caused by a compatibility issue with your machine’s disk drive. You can confirm this by running the below command from a Windows Command Prompt:

fsutil fsinfo sectorinfo <volume pathname>

Windows 11 SQL Server error – Wait on the Database Engine recovery handle failed - Command Prompt

If the value of PhysicalBytesPerSectorForAtomicity is greater than 4096, then this is likely the cause of the SQL Server start-up error that you’re experiencing. If it is 4096 (or less), then there’s something else going on for you to investigate.

How do I fix it?

The possible solutions are also documented in the same Microsoft article. I won’t repeat them, but here’s what I found when fixing the issue on my machine:

  • The registry key solution worked, but only after I then reinstalled SQL Server.
  • The trace flag solution didn’t, which was a shame, because I prefer adding trace flags to modifying the Windows Registry!

I hope you found this useful!

If you’re interested in talking to us about our database services, then please contact us.

Subscribe to our newsletter to be the first to hear about new features, vacancies, and industry news.

Shaun Austin

Shaun Austin

Shaun has been working with SQL Server for over 20 years, as both a developer and DBA. He is passionate about optimising and troubleshooting SQL Server environments, ensuring that customers get the maximum value from their cloud or on-premise infrastructure. Shaun regularly blogs about SQL Server administration and performance tuning, frequently contributing to user group channels on platforms such as LinkedIn.

Понравилась статья? Поделить с друзьями:
  • Код ошибки 0x85010005
  • Код ошибки 0x851a0019
  • Код ошибки 0x85050025 при синхронизации почты
  • Код ошибки 0x84bb0001 sql 2012
  • Код ошибки 0x81000203 windows 10