SQL Server service (MSSQLSERVER) Fails to Start
Resumo: The Microsoft SQL Server service (MSSQLSERVER) may fail to start due to a corrupt database. This article illustrates the process of troubleshooting this issue.
Este artigo aplica-se a
Este artigo não se aplica a
Este artigo não está vinculado a nenhum produto específico.
Nem todas as versões do produto estão identificadas neste artigo.
Sintomas
The Microsoft SQL Server service (MSSQLSERVER) fails to start. Error 7024 (source: Service Control Manager) appears in the System event log of the server where SQL is installed.
Causa
This service may fail to start for multiple reasons, and this article addresses one: a corrupt database.
Resolução
When any service fails to start, the Service Control Manager logs an error in the System event log of the server hosting that service. This event (ID 7024 in this case) may or may not provide enough detail to troubleshoot the issue. When troubleshooting an issue with the SQL Server service, the SQL error log likely contains more useful information.
To locate the SQL error log, follow these steps:
An error similar to this can indicate a corrupt database:
SQL Server detected a logical consistency-based I/O error: Incorrect checksum
The error message also indicates which database experienced the problem. There are three system databases required for SQL services to start: the master database, the model database, and tempdb. The error most likely mentions one of these databases.
If corruption in the master database is the cause, restoring that database from a backup is the recommended solution.
If corruption in the model database is the cause, a repair procedure can be found in SQL Server Model Database Repair.
The tempdb database is re-created every time the SQL Server service starts, if the model database is intact.
To locate the SQL error log, follow these steps:
- Launch SQL Server Configuration Manager.
- Select SQL Server Services in the left pane.
- In the center pane, right-click SQL Server (MSSQLSERVER) and select Properties.
- In the properties window, select the Startup Parameters tab.
- In the Existing parameters field, the entry beginning with -e contains the path to the error log.
An error similar to this can indicate a corrupt database:
SQL Server detected a logical consistency-based I/O error: Incorrect checksum
The error message also indicates which database experienced the problem. There are three system databases required for SQL services to start: the master database, the model database, and tempdb. The error most likely mentions one of these databases.
If corruption in the master database is the cause, restoring that database from a backup is the recommended solution.
If corruption in the model database is the cause, a repair procedure can be found in SQL Server Model Database Repair.
The tempdb database is re-created every time the SQL Server service starts, if the model database is intact.
Mais informações
Produtos afetados
Prosupport for Microsoft SoftwarePropriedades do artigo
Número do artigo: 000223030
Tipo de artigo: Solution
Último modificado: 23 jan. 2025
Versão: 3
Encontre as respostas de outros usuários da Dell para suas perguntas.
Serviços de suporte
Verifique se o dispositivo está coberto pelos serviços de suporte.