SQL Server 2022 cant install, SQL Server is shutting down unexpectedly

José Sánchez 0 Reputation points
2023-06-01T21:20:33.09+00:00

Hello when I try to install SQL SERVER 2022 in middle of the proccess it just freezes, I search into the log File and the main error I think is here:

2023-06-01 15:08:47.42 spid27s     Always On: The availability replica manager is going offline because SQL Server is shutting down. This is an informational message only. No user action is required.

2023-06-01 15:08:47.42 spid27s     SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.

How can I solve it? I also attach the ERRORLOG file.

Thank you for your help.ERRORLOG.txt

SQL Server Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2023-06-01T21:36:40.46+00:00

    To me that looks like a quite a normal errorlog file. SQL Server starts with normal parameter, not the list of trace flags that is typical for Setup configuration. About two hours after it started, SQL Server shuts down in what seems to be a quite a normal fashion to me.

    You said that Setup froze, maybe that was just a UI thing? Or maybe during the installation of a component which is added after the SQL Server engine?

    You can go back and check earlier SQL Server errorlogs. There should be one with all the installation trace flags. Does this one end normally?

    Have you checked the files in the most recent folder in C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log?

    0 comments No comments

  2. ZoeHui-MSFT 41,491 Reputation points
    2023-06-02T02:41:28.94+00:00

    Hi @Jose Sanchez,

    Please also check the summary log and the detail log for more informations.

    Path: **%programfiles%\Microsoft SQL Server\nnn\Setup Bootstrap\Log**

    View and Read SQL Server Setup Log Files

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.