WAIT ON THE DATABASE ENGINE RECOVERY HANDLE FAILED

irvin chavez 1 Reputation point
2022-08-01T18:47:31.51+00:00

I am installing sql express 2019 on windows 11

When I continue with the installation I get the error message WAIT ON THE DATABASE ENGINE RECOVERY HANDLE FAILED

I have placed the installation in mode

AUTORIDAD DE NT\SERVICIO DE RED.
AUTORIDAD DEL NT\SERVICIO LOCAL.

NO SUCCESS, COULD SOMEONE HELP ME CHECK OUT WHAT IS HAPPENING

SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.9K Reputation points MVP Volunteer Moderator
    2022-08-01T19:39:51.317+00:00

    This is the key:

    2022-08-01 19:24:52.02 spid6s There have been 256 misaligned log IOs which required falling back to synchronous IO. The current IO is on file C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Template Data\master.mdf.

    This is a known issue with Windows 11. See this article for possible solutions to the problem.

    1 person found this answer helpful.
    0 comments No comments

  2. irvin chavez 1 Reputation point
    2022-08-01T18:59:33.577+00:00

    2022-08-01 19:24:51.84 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 10 Pro 10.0 <X64> (Build 22000: )

    2022-08-01 19:24:51.85 Server UTC adjustment: -5:00
    2022-08-01 19:24:51.85 Server (c) Microsoft Corporation.
    2022-08-01 19:24:51.85 Server All rights reserved.
    2022-08-01 19:24:51.85 Server Server process ID is 18544.
    2022-08-01 19:24:51.85 Server System Manufacturer: 'HP', System Model: 'HP Z1 Entry Tower G6'.
    2022-08-01 19:24:51.85 Server Authentication mode is MIXED.
    2022-08-01 19:24:51.85 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Log\ERRORLOG'.
    2022-08-01 19:24:51.85 Server The service account is 'NT AUTHORITY\LOCAL SERVICE'. This is an informational message; no user action is required.
    2022-08-01 19:24:51.85 Server Registry startup parameters:
    -d C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\master.mdf
    -e C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Log\ERRORLOG
    -l C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\mastlog.ldf
    2022-08-01 19:24:51.85 Server Command Line Startup Parameters:
    -s "SQLEXPRESS"
    -m "SqlSetup"
    -Q
    -q "SQL_Latin1_General_CP1_CI_AS"
    -T 4022
    -T 4010
    -T 3659
    -T 3610
    -T 8015
    -d "C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Template Data\master.mdf"
    -l "C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Template Data\mastlog.ldf"
    2022-08-01 19:24:51.85 Server SQL Server detected 1 sockets with 8 cores per socket and 16 logical processors per socket, 16 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
    2022-08-01 19:24:51.85 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2022-08-01 19:24:51.85 Server Detected 16160 MB of RAM. This is an informational message; no user action is required.
    2022-08-01 19:24:51.85 Server Using conventional memory in the memory manager.
    2022-08-01 19:24:51.95 Server Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
    2022-08-01 19:24:51.96 Server Buffer pool extension is already disabled. No action is necessary.
    2022-08-01 19:24:51.97 Server Perfmon counters for resource governor pools and groups failed to initialize and are disabled.
    2022-08-01 19:24:51.98 Server InitializeExternalUserGroupSid failed. Implied authentication will be disabled.
    2022-08-01 19:24:51.98 Server Implied authentication manager initialization failed. Implied authentication will be disabled.
    2022-08-01 19:24:51.98 Server The maximum number of dedicated administrator connections for this instance is '1'
    2022-08-01 19:24:51.99 Server This instance of SQL Server last reported using a process ID of 17108 at 8/1/2022 7:24:50 PM (local) 8/2/2022 12:24:50 AM (UTC). This is an informational message only; no user action is required.
    2022-08-01 19:24:51.99 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
    2022-08-01 19:24:51.99 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.
    2022-08-01 19:24:51.99 Server Lock partitioning is enabled. This is an informational message only. No user action is required.
    2022-08-01 19:24:51.99 Server In-Memory OLTP initialized on standard machine.
    2022-08-01 19:24:52.00 Server Database Instant File Initialization: enabled. 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.
    2022-08-01 19:24:52.02 Server Database Mirroring Transport is disabled in the endpoint configuration.
    2022-08-01 19:24:52.02 Server Query Store settings initialized with enabled = 1,
    2022-08-01 19:24:52.02 spid6s Warning ******************
    2022-08-01 19:24:52.02 spid6s SQL Server started in single-user mode. This an informational message only. No user action is required.
    2022-08-01 19:24:52.02 Server Software Usage Metrics is disabled.
    2022-08-01 19:24:52.02 spid6s Starting up database 'master'.
    2022-08-01 19:24:52.02 spid6s There have been 256 misaligned log IOs which required falling back to synchronous IO. The current IO is on file C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Template Data\master.mdf.
    2022-08-01 19:24:52.10 Server CLR version v4.0.30319 loaded.
    2022-08-01 19:24:52.17 Server Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319.

    0 comments No comments

  3. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2022-08-02T01:55:06.257+00:00

    Hi @irvin chavez ,

    >I am installing sql express 2019 on windows 11
    >2022-08-01 19:24:51.84 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 10 Pro 10.0 <X64> (Build 22000: )
    >2022-08-01 19:24:52.02 spid6s There have been 256 misaligned log IOs which required falling back to synchronous IO. The current IO is on file C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Template Data\master.mdf.
    >WAIT ON THE DATABASE ENGINE RECOVERY HANDLE FAILED

    Full agree with Erland, this is a known issue in windows 11. It seems your issue meet the Scenario #1 and Scenario #2 in MS document. Please try the solution in this MS document, and share us the progress of your issue. Waiting for your good news.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.