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

Asked
5 years, 4 months ago

Viewed
7k times

Installing SQL Server has been paining me for hours. I can’t get anything to work. I setup a VM with a fresh Windows Server 2016 install and tried to install SQL Server Express. I set the user to Network Service as suggested here. Unfortunately I got a message saying «Wait on the Database Engine recovery handle failed…» The error log suggested error code 0x851A001A (which I had gotten before, hence the user change). I’ve spent a long time trying to install this on various Virtual Machines and just can’t seem to get it. I’ve attached the install log and the error log from when I tried to run it manually.

Install Log:

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2061893606
  Start time:                    2018-01-30 15:15:04
  End time:                      2018-01-30 15:23:05
  Requested action:              Install

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for FullText:        Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  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:                  WIN-FPPL0DQQ892
  Machine processor count:       4
  OS version:                    Microsoft Windows Server 2016 Standard (10.0.14393)
  OS service pack:               
  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  Configured

Package properties:
  Description:                   Microsoft SQL Server 2017 
  ProductName:                   SQL Server 2017
  Type:                          RTM
  Version:                       14
  SPLevel:                       0
  Installation location:         C:SQLServer2017MediaExpressAdv_ENUx64setup
  Installation edition:          Express

Product Update Status:
  None discovered.

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      true
  AGTSVCACCOUNT:                 NT AUTHORITYNETWORK SERVICE
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Disabled
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  TABULAR
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTELSVCACCT:                  <empty>
  ASTELSVCPASSWORD:              <empty>
  ASTELSVCSTARTUPTYPE:           0
  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
  EXTSVCACCOUNT:                 <empty>
  EXTSVCPASSWORD:                <empty>
  FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, CONN, BC, SDK, SNAC_SDK
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  NT ServiceMSSQLFDLauncher$SQLEXPRESS
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTPYTHONLICENSETERMS:     false
  IACCEPTROPENLICENSETERMS:      false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:Program FilesMicrosoft SQL Server
  INSTALLSHAREDWOWDIR:           C:Program Files (x86)Microsoft SQL Server
  INSTALLSQLDATADIR:             <empty>
  INSTANCEDIR:                   C:Program FilesMicrosoft SQL Server
  INSTANCEID:                    SQLEXPRESS
  INSTANCENAME:                  SQLEXPRESS
  ISMASTERSVCACCOUNT:            NT AUTHORITYNetwork Service
  ISMASTERSVCPASSWORD:           <empty>
  ISMASTERSVCPORT:               8391
  ISMASTERSVCSSLCERTCN:          <empty>
  ISMASTERSVCSTARTUPTYPE:        Automatic
  ISMASTERSVCTHUMBPRINT:         <empty>
  ISSVCACCOUNT:                  NT AUTHORITYNetwork Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  ISTELSVCACCT:                  <empty>
  ISTELSVCPASSWORD:              <empty>
  ISTELSVCSTARTUPTYPE:           0
  ISWORKERSVCACCOUNT:            NT AUTHORITYNetwork Service
  ISWORKERSVCCERT:               <empty>
  ISWORKERSVCMASTER:             <empty>
  ISWORKERSVCPASSWORD:           <empty>
  ISWORKERSVCSTARTUPTYPE:        Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  MRCACHEDIRECTORY:              
  NPENABLED:                     0
  PBDMSSVCACCOUNT:               <empty>
  PBDMSSVCPASSWORD:              <empty>
  PBDMSSVCSTARTUPTYPE:           0
  PBENGSVCACCOUNT:               <empty>
  PBENGSVCPASSWORD:              <empty>
  PBENGSVCSTARTUPTYPE:           0
  PBPORTRANGE:                   <empty>
  PBSCALEOUT:                    false
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          AllFeatures_WithDefaults
  RSINSTALLMODE:                 DefaultNativeMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  SQL
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 NT AUTHORITYNETWORK SERVICE
  SQLSVCINSTANTFILEINIT:         false
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           WIN-FPPL0DQQ892Administrator
  SQLTELSVCACCT:                 NT ServiceSQLTELEMETRY$SQLEXPRESS
  SQLTELSVCPASSWORD:             <empty>
  SQLTELSVCSTARTUPTYPE:          Automatic
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBFILECOUNT:            1
  SQLTEMPDBFILEGROWTH:           64
  SQLTEMPDBFILESIZE:             8
  SQLTEMPDBLOGDIR:               <empty>
  SQLTEMPDBLOGFILEGROWTH:        64
  SQLTEMPDBLOGFILESIZE:          8
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SUPPRESSPRIVACYSTATEMENTNOTICE: false
  TCPENABLED:                    0
  UIMODE:                        AutoAdvance
  UpdateEnabled:                 true
  UpdateSource:                  MU
  USEMICROSOFTUPDATE:            false
  X86:                           false

  Configuration file:            C:Program FilesMicrosoft SQL Server140Setup BootstrapLog20180130_151456ConfigurationFile.ini

Detailed results:
  Feature:                       Full-Text and Semantic Extractions for Search
  Status:                        Failed
  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:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  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 recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  Feature:                       SQL Server Replication
  Status:                        Failed
  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:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       Client Tools SDK
  Status:                        Passed

  Feature:                       Client Tools Connectivity
  Status:                        Passed

  Feature:                       Client Tools Backwards Compatibility
  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 FilesMicrosoft SQL Server140Setup BootstrapLog20180130_151456SystemConfigurationCheck_Report.htm

Error Log:

2018-01-30 15:31:07.97 Server      Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) 
	Aug 22 2017 17:04:49 
	Copyright (C) 2017 Microsoft Corporation
	Express Edition (64-bit) on Windows Server 2016 Standard 10.0 <X64> (Build 14393: ) (Hypervisor)

2018-01-30 15:31:07.97 Server      UTC adjustment: -8:00
2018-01-30 15:31:07.97 Server      (c) Microsoft Corporation.
2018-01-30 15:31:07.97 Server      All rights reserved.
2018-01-30 15:31:07.97 Server      Server process ID is 4560.
2018-01-30 15:31:07.97 Server      Authentication mode is MIXED.
2018-01-30 15:31:07.97 Server      Logging SQL Server messages in file 'C:Program FilesMicrosoft SQL ServerMSSQL14.SQLEXPRESSMSSQLLogERRORLOG'.
2018-01-30 15:31:07.97 Server      The service account is 'WORKGROUPWIN-FPPL0DQQ892$'. This is an informational message; no user action is required.
2018-01-30 15:31:07.97 Server      Registry startup parameters: 
	 -d C:Program FilesMicrosoft SQL ServerMSSQL14.SQLEXPRESSMSSQLDATAmaster.mdf
	 -e C:Program FilesMicrosoft SQL ServerMSSQL14.SQLEXPRESSMSSQLLogERRORLOG
	 -l C:Program FilesMicrosoft SQL ServerMSSQL14.SQLEXPRESSMSSQLDATAmastlog.ldf
2018-01-30 15:31:07.97 Server      Command Line Startup Parameters:
	 -s "SQLEXPRESS"
2018-01-30 15:31:07.99 Server      SQL Server detected 4 sockets with 1 cores per socket and 1 logical processors per socket, 4 total logical processors; using 1 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2018-01-30 15:31:07.99 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2018-01-30 15:31:07.99 Server      Detected 8127 MB of RAM. This is an informational message; no user action is required.
2018-01-30 15:31:07.99 Server      Using conventional memory in the memory manager.
2018-01-30 15:31:08.05 Server      Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
2018-01-30 15:31:08.11 Server      Buffer pool extension is already disabled. No action is necessary. 
2018-01-30 15:31:08.19 Server      InitializeExternalUserGroupSid failed. Implied authentication will be disabled.
2018-01-30 15:31:08.19 Server      Implied authentication manager initialization failed. Implied authentication will be disabled.
2018-01-30 15:31:08.21 Server      This instance of SQL Server last reported using a process ID of 2708 at 1/30/2018 3:30:52 PM (local) 1/30/2018 11:30:52 PM (UTC). This is an informational message only; no user action is required.
2018-01-30 15:31:08.21 Server      The maximum number of dedicated administrator connections for this instance is '1'
2018-01-30 15:31:08.22 Server      Node configuration: node 0: CPU mask: 0x0000000000000001:0 Active CPU mask: 0x0000000000000001:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2018-01-30 15:31:08.27 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2018-01-30 15:31:08.27 Server      In-Memory OLTP initialized on lowend machine.
2018-01-30 15:31:08.30 Server      Database Instant File Initialization: disabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.
2018-01-30 15:31:08.32 Server      CLR version v4.0.30319 loaded.
2018-01-30 15:31:08.33 Server      Query Store settings initialized with enabled = 1, 
2018-01-30 15:31:08.36 Server      Software Usage Metrics is disabled.
2018-01-30 15:31:08.77 Server      Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:WindowsMicrosoft.NETFramework64v4.0.30319.
2018-01-30 15:31:08.78 spid6s      Starting up database 'master'.
2018-01-30 15:31:08.80 spid6s      There have been 256 misaligned log IOs which required falling back to synchronous IO.  The current IO is on file C:Program FilesMicrosoft SQL ServerMSSQL14.SQLEXPRESSMSSQLDATAmaster.mdf.

asked Jan 30, 2018 at 23:52

XtremeCookiez's user avatar

1

Reinstall a SQL server instance. When it asks you to supply an instance name, use something unique that you haven’t already used (MSSQLSERVER99.) Make the Instance ID the same.

You must be victim of uninstalling and reinstalling. The network service user is giving you permissions trouble. It happens after uninstalling MSSQL server.

answered Apr 2, 2018 at 19:43

DJ.'s user avatar

DJ.DJ.

1561 silver badge6 bronze badges

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:UsersAdministratorDownloadsSQLEXPRWT_x86_ENU3x86setup
  Installation edition:          Express

Product Update Status:
  None discovered.

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      true
  AGTSVCACCOUNT:                 NT AUTHORITYNETWORK 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 FilesMicrosoft 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 AUTHORITYNetwork 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_SQLSERVERAdministrator
  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 Server120Setup BootstrapLog20200702_165108ConfigurationFile.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 Server120Setup BootstrapLog20200702_165108SystemConfigurationCheck_Report.htm

Ошибка установки SQL Server: Could not find the Database Engine startup handle

Столкнулся с интересной ошибкой при установке MS SQL Server 2014 на новом сервере Windows Server 2012 R2. Установка SQL Server прерывается почти в самом конце с ошибкой «Не найден дескриптор запуска компонента Database Engine» (Could not find the Database Engine startup handle).

В логе установки Summary.txt при этом присутствует ошибка:

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: 0x851A0019
Error description: Could not find the Database Engine startup handle.

Данная ошибка установки MS SQL Server связана с тем, что используются стандартные настройки установки, при котором служба SQL Server запускается под непривилегированной учетной записью NT ServiceMSSQL$V2014. У данной учетной записи может быть недостаточно полномочий для запуска службы SQL Server, поэтому запустить службу невозможно, и установщик завершается с ошибкой «Could not find the Database Engine startup handle». Также эта ошибка может указывать на то, что ранее на компьютере уже пытались установить SQL Server и не очистили файлы и службы, оставшиеся от предыдущей установки.

Чтобы исправить ошибку установки SQL Server:

  1. Корректно деинсталлируйте все программы, связанные с SQL Server через Панель управления и перезагрузите сервер (проверьте, что не осталось файлов и папок в каталоге C:Program FilesMicrosoft SQL ServerMSSQL12.xxx);
  2. Запустите чистую установку из дистрибутива SQL Server. На вкладке «Server Configuration» убедитесь, что служба SQL Server Database Engine запускается под учетной записью NT ServiceMSSQLSERVER;
  3. Измените эту учетную запись на NT AUTHORITYSYSTEM;
  4. Продолжите установку SQL Server. Ошибка больше не должна появляться.

После окончания установки настоятельно рекомендуем изменить учетную запись, под которой запускается служба SQL Server Database Engine на непривилегированную учетную запись. Эта учетная запись не обязательно должна обладать правами локального администратора сервера (вполне достаточно полномочий внутри SQL Server). Можно использовать аккаунты с правами sysadmin — NT ServiceMSSQLSERVICE или NT ServiceSQLSERVERAGENT. Чтобы изменить учетную запись, под которой работает SQL Server:

  1. Запустите SQL Server Configuration Manager и перейдите в раздел SQL Server Services;
  2. Щелкните по SQL Server (MSSQLSERVER), нажмите кнопку Browse и в поле This account укажите учетную запись, под которой нужно запускать службу или используйте управляемую учетную запись — gMSA (Group Managed Service Accounts). Укажите пароль пользователя и сохраните изменения;
  3. Перезапустите службы SQL Server.

Этот способ поможет вам исправить ошибку «Не найден дескриптор запуска компонента Database Engine» при установке любых версий SQL Server (2016, 2014, 2012 или 2008).

Код ошибки 0x851a001a

Пытаюсь поставить на Windows Server 2012 R2 Standart x64 (ru) базу MS SQL 2014 Enterprise Core Edition x64 (ru).
В конце установки выбивает такую ошибку:

И в итоге показывает следующее:

Подскажите, пожалуйста, в чём проблема и как её решать? Что-то ни нагуглить, ни разобраться не получается.

От: Olaf
Дата: 14.04.16 09:57
Оценка:

Здравствуйте, push, Вы писали:

P>Пытаюсь поставить на Windows Server 2012 R2 Standart x64 (ru) базу MS SQL 2014 Enterprise Core Edition x64 (ru).
P>В конце установки выбивает такую ошибку:
P>.

P>И в итоге показывает следующее:
P>.

P>Вот лог: ссылка.

P>Подскажите, пожалуйста, в чём проблема и как её решать? Что-то ни нагуглить, ни разобраться не получается.

А вы пробовали сделать то, что рекомендует установщик, т.е. удалить компонент SQL Server Database Engine и установить его заново?

Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб компонента SQL Server Database Engine

Error description: Ошибка при ожидании дескриптора восстановления компонента Database Engine. Возможные причины см. в журнале ошибок SQL Server.

От: push
Дата: 14.04.16 10:21
Оценка:
От: Olaf
Дата: 14.04.16 10:40
Оценка:

Здравствуйте, push, Вы писали:

O>>Журнал ошибок смотрели, о котором идет речь в логе?
P>Вот три error лога: Лог 1, Лог 2, Лог 3. Насколько я понял оно не смогло «change default collation to Cyrillic_General_CI_AS» и ещё возникли проблемы с SSL. Я прав? Как тогда решить эти проблемы?

Для смены collation было предупреждение и критичного там ничего нет на мой взгляд. А настоящие проблемы начинаются с сообщений:

2016-04-13 18:52:43.52 spid18s Error: 17190, Severity: 16, State: 1.
2016-04-13 18:52:43.52 spid18s Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
2016-04-13 18:52:43.52 spid18s Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2016-04-13 18:52:43.52 spid18s Error: 17182, Severity: 16, State: 1.
2016-04-13 18:52:43.52 spid18s TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2016-04-13 18:52:43.52 spid18s Error: 17182, Severity: 16, State: 1.
2016-04-13 18:52:43.52 spid18s TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2016-04-13 18:52:43.52 spid18s Error: 17826, Severity: 18, State: 3.
2016-04-13 18:52:43.52 spid18s 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.
2016-04-13 18:52:43.52 spid18s Error: 17120, Severity: 16, State: 1.
2016-04-13 18:52:43.52 spid18s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

От: push
Дата: 14.04.16 12:08
Оценка:

Ok. по ссылке написано следующее:

> How to resolve this issue now?
Recreate the user Profile for startup account of SQLServer- by following below steps.
1.Right click on computer, and select propertie
2.Right click on computer, and select properties
3.Click on System Advanced Configuration
4.Select Advanced options Tab
5.On user profiles frames click on configuration
6.Select the user from the list and then delete it
7.Now the profile will be respawned the next time the user logs on

Я застрял на пункте 6, какого юзера мне удалить? У меня нет юзера sqladmin, я ставил текущего юзера — а это Администратор данной машины. В профилях в у меня много юзеров, но только два относятся к SQL:
1) NT SERVICEMSSQLFDLauncher
2) NT SERVICEMSSQLSERVER

Какой из них удалить? Или оба?

От: _ABC_
Дата: 14.04.16 12:47
Оценка:
От: push
Дата: 23.04.16 22:44
Оценка:
От: LuciferNovoros
Дата: 24.04.16 04:26
Оценка:

Здравствуйте, push, Вы писали:

P>Захожу в SQL Server Configuration Manager и вижу
P>Image: SQL-dont-loaded.PNG
P>Ок, пробую запустить службу SQL Server — так оно не может запуститься.
В свойствах сервиса MSSQL поставь запуск от имени системы. И будет тебе счастье.

От: push
Дата: 24.04.16 12:09
Оценка:

Здравствуйте, LuciferNovoros, Вы писали:

LN>В свойствах сервиса MSSQL поставь запуск от имени системы. И будет тебе счастье.

Что-то я не вижу в свойствах сервиса возможность запуска от имени администратора.
Или имеется ввиду что надо переключить эту радиокнопку?

От: LuciferNovoros
Дата: 24.04.16 17:05
Оценка:

Здравствуйте, push, Вы писали:

P>Что-то я не вижу в свойствах сервиса возможность запуска от имени администратора.
P>Или имеется ввиду что надо переключить эту радиокнопку?

Да. Если сервер успешно запустится, то и можно оставить. Хотя на боевом я бы так не делал.

От: push
Дата: 26.04.16 07:44
Оценка:
От: LuciferNovoros
Дата: 27.04.16 05:34
Оценка:

Здравствуйте, push, Вы писали:

P>Хм, что ещё можно сделать, чтобы получилось установить этот SQL сервер? (блин ну что ж за проблема на проблеме! )

Вестимо, что. Для начала почитать журналы. Как самого сервера, так и виндовые. На предмет поиска ошибок. Ну и проверить соответствующие права пользователей, под которыми должны стартовать сервисы. На отсечение ничего не дам, но процентов 90 за то, что не хватает прав на папки с базами и (или) сертификатами, если ты их используешь. Или пользователи вообще не имеют прав запуска сервисов.

Код ошибки 0x851a001a

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:SoftwareWindows ServerMicrosoft SQL Server 2012 SP1 (x64)x64setup
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 ServiceSQLSERVERAGENT
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT:
ASSVCPASSWORD:
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS:
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME:
CLTRESULTDIR:
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT:
CLTSVCPASSWORD:
CLTWORKINGDIR:
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20130610_224552ConfigurationFile.ini
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT:
CTLRSVCPASSWORD:
CTLRUSERS:
ENABLERANU: false
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, SSMS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME:
FTSVCACCOUNT:
FTSVCPASSWORD:
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:Program FilesMicrosoft SQL Server
INSTALLSHAREDWOWDIR: C:Program Files (x86)Microsoft SQL Server
INSTALLSQLDATADIR: E:MSSQL
INSTANCEDIR: C:Program FilesMicrosoft SQL Server
INSTANCEID: MSSQLSERVER1
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT AUTHORITYNetwork Service
ISSVCPASSWORD:
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME:
MATRIXNAME:
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE:
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT:
RSSVCPASSWORD:
RSSVCSTARTUPTYPE: Automatic
SAPWD:
SECURITYMODE:
SQLBACKUPDIR:
SQLCOLLATION: Latin1_General_CI_AS
SQLSVCACCOUNT: NT ServiceMSSQLSERVER
SQLSVCPASSWORD:
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: ELXTECHAdministrator
SQLTEMPDBDIR:
SQLTEMPDBLOGDIR:
SQLUSERDBDIR:
SQLUSERDBLOGDIR:
SQMREPORTING: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
X86: false

Configuration file: C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20130610_224552ConfigurationFile.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?Link >

Feature: SQL Browser
Status: Passed

Feature: SQL Writer
Status: Passed

Feature: SQL Client Connectivity
Status: Passed

Feature: SQL Client Connectivity SDK
Status: Passed

Все коды ошибок Центра обновления Windows

При обновлении системы или установке пакетов через Центр обновлений Windows могут появляться ошибки. На этой странице собраны все распространенные коды ошибок, которые можно увидеть при попытке обновить Windows 7, 8 или 10.

Большинство кодов ошибок универсальны и позволяют исправить проблему вне зависимости от версии Windows. Нажатие на любой код откроет страницу с инструкцией, где подробно расписаны методы решения.

Универсальная инструкция по исправлению ошибок Центра обновления:

  1. Открываем (от имени администратора) Пуск -> Выполнить -> cmd.exe, в командной строке пишем sfc /scannow, Enter.
  2. Ждем проверки, пишем вторую команду DISM.exe /Online /Cleanup-image /Restorehealth, ждем. Пробуем установить обновление заново.
  3. Если не получается — заходим на catalog.update.microsoft.com. или microsoft.com/ru-ru/download и загружаем/устанавливаем нужное обновление вручную, воспользовавшись поиском или каталогом для загрузки нужного обновления.

Если простой способ не помог, следует найти свою ошибку в списке и попробовать решить её при помощи подробной инструкции.

Коды ошибок Центра обновления Windows

0x80070002 ERROR_FILE_NOT_FOUNDНе удается найти указанный файл.
Центру обновлений не удается найти файлы, нужные для установки. Решение: сканирование системы, восстановление системных файлов, в случае неудачи — установка нужного обновления вручную из каталога Microsoft.

0x8007000D ERROR_INVALID_DATAНедопустимые данные.
Ошибка появляется при установке Windows (файлы повреждены, может потребоваться новый установочный архив), при восстановлении системы (повреждена точка восстановления), при активации (ошибка в разделе реестра CurrentControlSetEnumRoot), а также при обновлении Windows через Центр обновлений.

Решение: использовать Microsoft Easy Fix или установить обновление вручную. Программа Fix It более не поддерживается Microsoft, поэтому придется искать её в неофициальных источниках. Также можно использовать Media Creation Tool или ISO-образ системы (для Windows 10).

0x800F081F CBS_E_SOURCE_MISSINGИсточника пакета или файл не найден.
Ошибка загрузки компонента .NET Framework 3.5 на Windows 8/8.1, 10 и Server 2012/2016. Ошибка 0x800f081f возникает, когда указан альтернативный источник установки, но при этом:

  1. По адресу находятся не все нужные компоненты для установки.
  2. Пользователь не имеет прав доступа к файлам.
  3. В указанном расположении нет файлов, нужных для установки или обновления.

Для исправления ошибки нужно проверить, правильно ли указан путь, есть ли нужные файлы/обновления по адресу и есть ли у пользователя доступ на чтение этих файлов. При обновлении Windows может помочь ручная установка и утилита DISM.exe.

0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPTХранилище компонентов находится в несогласованном состоянии.
Причиной ошибки является поврежденный компонент манифеста CBS. Это чисто системная ошибка, из-за которой система не может установить обновление. До Windows 10 ошибку можно исправить при помощи утилиты CheckSUR.

В Windows 10 нужно загрузить с сайта Microsoft программу MediaCreationTool.exe, нажать «Обновить этот компьютер сейчас» и следовать инструкции на экране. Использование загрузочного образа Win 10 (формат ISO) позволит устранить системные ошибки, при этом личные документы и файлы на компьютере останутся без изменений.

0x800736CC ERROR_SXS_FILE_HASH_MISMATCHФайл компонента не соответствует сведениям проверки, указанным в манифесте компонента.
Ошибка появляется при попытке установить NET Framework 3.5 (includes .NET 2.0 and 3.0), либо при попытке обновить Windows без установленного NET Framework 3.5.

Решение: использовать команду Dism /online /enable-feature /featurename:NetFx3 /All в командной строке от имени администратора для установки фреймфорка. Альтернативный вариант — загрузить ISO-образ нужной версии Windows и использовать команду dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:sourcesico, где d:sourcesico — диск и расположение образа системы. Без установленного NET Framework 3.5 Центр обновления Windows работать не будет, поэтому придется использовать командную строку.

0x800705B9 ERROR_XML_PARSE_ERRORНе удалось обработать запрошенные XML-данные.
Сравнительно редкая системная ошибка при обновлении. Если код 0x800705B9 появился на Windows 7, Vista или 8/8.1, для исправления ситуации нужно:

  1. Скачать Media Creation Tool с сайта Microsoft.
  2. Запустить, выбрать Upgrade this PC now (обновить сейчас).
  3. Нажать Next (далее) и дождаться окончания процесса.

В Windows 10 для восстановления системных файлов также используется Media Creation Tool и ISO-образ системы. Также можно ввести в командную строку ряд команд, которые очистят все системные файлы и сбросят настройки.

0x80070246 ERROR_ILLEGAL_CHARACTERОбнаружен недопустимый символ.
Нестандартная ошибка, которая может быть связана как с системным сбоем, так и с ошибками со стороны пользователя. Решение ошибка 0x80070246 «Обнаружен недопустимый символ» осложняется тем, что при ней нельзя запустить утилиту swf /scannow (и ряд других системных служб).

Для исправления этого кода ошибки Центра обновлений нужно:

  1. Сделать резервную копию реестра и важных файлов на случай проблем.
  2. Запустить режим устранения неполадок центра обновлений: Пуск -> ввести в поиске «устранение неполадок» -> Enter -> нажать «Просмотреть все» в левой панели -> найти «Центр обновления Windows». Следовать появившемся инструкциям.
  3. Для Windows 10: Пуск -> Параметры -> Обновление и безопасность -> Устранение неполадок.

Если это не помогло, придется восстановить исходное состояние Центра обновления Windows. Вручную это может занять до часа времени и более — желательно иметь хотя бы общее понимание своих действий, а также резервные копии важных данных и реестра Windows.

0x8007370D ERROR_SXS_IDENTITY_PARSE_ERRORСтрока удостоверения повреждена.
На сайте Microsoft ошибка с кодом 0x8007370D описана как ошибка повреждения, возникающая при повреждении системных файлов. Это стандартная ошибка, решить которую может центр исправления неполадок. Встроенная утилита восстановит целостность системных файлов, после чего перестанут появляться ошибки при скачивании и установке обновлений.

В Windows Vista или XP нужно запустить средство устранения неполадок Центра управления Windows. Найти его можно через поиск в меню Пуск или в Панели управления.

В Windows 7, 8/8.1 и 10 все также просто, но для полноценной работы средства устранения неполадок требуется подключение к интернету. В противном случае шанс на успешное решение проблемы уменьшается, поскольку система не сможет загрузить недостающие файлы.

Для запуска нужно: в поиске ввести «Устранение неполадок», открыть, выбрать Параметры -> Устранение неполадок. Найти раздел Система и безопасность, в нем нажать на пункт Устранение неполадок с помощью Центра обновления Windows, после чего нажать кнопку Далее. Дождаться окончания сканирования системы и устранения неисправностей.

Microsoft советует использовать этот метод для следующих кодов ошибок (для Windows 7, Vista, XP):

  • 0x80245003 — Служба Центра обновления Windows повреждена или не работает.
  • 0x80070514 — Служба Центра обновления Windows повреждена или не работает.
  • 0x8DDD0018 — Библиотеки BITS.dll повреждены.
  • 0x80246008 — Библиотеки BITS.dll повреждены.
  • 0x80200013 — Библиотеки BITS.dll повреждены.
  • 0x80004015 — Библиотеки BITS.dll повреждены.
  • 0x80070003 — Библиотеки BITS.dll повреждены.
  • 0x800A0046 — Библиотеки BITS.dll повреждены.
  • 0x800A01AD — Библиотеки DLL Центра обновления Windows не зарегистрированы.
  • 0x80070424 — Библиотеки DLL Центра обновления Windows не зарегистрированы.
  • 0x800B0100 — Ошибка проверки подписи. (кроме Windows XP)
  • 0x80070005 — Ошибка определения хранилища данных. (кроме Windows XP)
  • 0x80248011 — Ошибка определения хранилища данных.
  • 0x80070002 — Ошибка определения хранилища данных.
  • 0x80070003 — Ошибка определения хранилища данных.

В Windows 10 для восстановления системы после ошибок также может использоваться ISO-образ системы (доступен на сайте Microsoft) и встроенная утилита DISM.exe.

0x8007370B ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAMEИмя атрибута в удостоверении находится вне допустимого диапазона.
Ошибка обновления Windows с кодом 0x8007370B обозначает, что хранилище компонентов Windows повреждено. Вне зависимости от причины, нужен доступ в интернет, сканирование системы и дозагрузка поврежденных или недостающих файлов. Как и в других случаях, ошибка исправляется при помощи DISM.exe или средства проверки готовности системы к обновлению.

0x8007370A ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUEЗначение атрибута в удостоверении находится вне допустимого диапазона.
В большинстве случаев ошибка возникает на Windows 10. На сайте поддержки Microsoft советуется решать проблему при помощи одной из двух команд, которые требуется ввести в Командную строку от имени администратора: DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:sourcessxs или DISM /online /cleanup-image /RestoreHealth /source:d:sources /LimitAccess, если первая команда не помогла.

Вместо d: должен быть указан диск, на который установлена Windows 10 (или располагается виртуальный образ). Если проблема связана с Net Framework 3.5, может потребоваться полная переустановка этого фреймворка. Если ничего не помогает, остается запустить процесс установки Windows и выбрать пункт «обновление с сохранением данных». Предварительно можно сохранить на внешнем носителе все нужные файлы во избежание потери важной информации (хотя риск при восстановлении минимален).

0x80070057 ERROR_INVALID_PARAMETERНеправильный параметр.
При появлении ошибки с кодом 0x80070057 в Центре обновления стоит попробовать установить его вручную, загрузив файлы из каталога Microsoft или центра обновлений.

Если ошибка при обновлении остается, стоит сделать резервную копию редактора реестра и удалить следующий ключ: KEY_LOCAL_MACHINE SYSTEM CurrentControlSet services eventlog Microsoft-Windows-PrintService /Operational. Ключ также может находиться в разделе HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet services eventlog. После удаления ключа нужно перезагрузить компьютер и запустить установку обновления заново.

0x800B0100 TRUST_E_NOSIGNATUREВ этом объекте нет подписи.
При появлении ошибки 0x800B0100 следует убедиться, что все файлы типа .mum и .cat находятся в каталоге %windir%TempCheckSURservicing, а все файлы типа .manifest должны быть в каталоге %windir%TempCheckSURmanifests.

После копирования файлов в нужные каталога нужно заново запустить средство проверки готовности системы к обновлению. Если это не помогло, нужно удалить обновление KB2488113 (если стоит) и временно отключить компонент Microsoft .Net Framework 3.5.1. После этого нужно выполнить частичную загрузку системы и заново запустить средство проверки.

При помощи DISM.exe, команды sfc /scannow, средства проверки готовности системы к обновлению и загрузочного образа Windows также можно исправить следующие проблемы:

  • 0x80092003 CRYPT_E_FILE_ERROR — При попытке чтения или записи файла Центром обновления Windows произошла ошибка.
  • 0x800B0101 CERT_E_EXPIRED — Истек или не наступил срок действия требуемого сертификата при проверке по системным часам или отметке времени в подписанном файле.
  • 0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE — Отсутствуют один или несколько обязательных членов транзакции.
  • 0x80070490 ERROR_NOT_FOUND — Не удалось выполнить поиск новых обновлений.

Надпись ERROR_NOT_FOUND может говорить о временных ошибках с сетью или проблемах с интернет-соединением. Если проблема не пропадает, нужно попробовать установить обновление вручную.

Статья находится в состоянии редактирования, поскольку кодов ошибок у Центра обновлений достаточно. По мере появления новой информации, информация на странице будет обновляться.

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:SoftwareWindows ServerMicrosoft SQL Server 2012 SP1 (x64)x64setup
  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 ServiceSQLSERVERAGENT
  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 FilesMicrosoft SQL Server110Setup BootstrapLog20130610_224552ConfigurationFile.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 FilesMicrosoft SQL Server
  INSTALLSHAREDWOWDIR:           C:Program Files (x86)Microsoft SQL Server
  INSTALLSQLDATADIR:             E:MSSQL
  INSTANCEDIR:                   C:Program FilesMicrosoft SQL Server
  INSTANCEID:                    MSSQLSERVER1
  INSTANCENAME:                  MSSQLSERVER
  ISSVCACCOUNT:                  NT AUTHORITYNetwork 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 ServiceMSSQLSERVER
  SQLSVCPASSWORD:                <empty>
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           ELXTECHAdministrator
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  false
  TCPENABLED:                    1
  UIMODE:                        Normal
  UpdateEnabled:                 true
  UpdateSource:                  MU
  X86:                           false

  Configuration file:            C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20130610_224552ConfigurationFile.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 FilesMicrosoft SQL Server110Setup BootstrapLog20130610_224552SystemConfigurationCheck_Report.htm

WHAT IS THE CAUSE?

this is caused by the sector size of the disks.

During service startup, SQL Server begins the database recovery process to ensure database consistency. Part of this database recovery process involves consistency checks on the underlying filesystem before attempting the activity of the opening system and user database files.

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.

When this occurs, SQL Server will be unable to start due to the unsupported file system as SQL Server currently supports sector storage sizes of 512 bytes and 4 KB.

You can confirm that you encounter this specific issue by running the command:

fsutil fsinfo sectorinfo E:

Look for the value PhysicalBytesPerSectorForAtomicity, returned in bytes. A value of 4096 indicates a sector storage size of 4 KB.

HOW TO FIX IT!

Simply follow the instructions on this page.

https://learn.microsoft.com/en-us/troubleshoot/sql/admin/troubleshoot-os-4kb-disk-sector-size#resolutions

if you don’t want to change the os, you should try this resolution on the above site.

You can add a registry key which will cause the behavior of Windows 11 and later to be similar to Windows 10. This will force the sector size to be emulated as 4 KB in size. To add the ForcedPhysicalSectorSizeInBytes registry key, use the Registry Editor, or you can run one of the following commands in Windows command prompt or PowerShell, executed as an administrator.

After you change the registry, you must restart the device and then reinstall the program. Otherwise, this method will not work!

Понравилась статья? Поделить с друзьями:
  • Код ошибки 0x84bb0001 sql 2012
  • Код ошибки 0x807800c5
  • Код ошибки 0x8078006b
  • Код ошибки 0x84b30002
  • Код ошибки 0x80780034