You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/sql/database-engine/startup-shutdown/sql-server-agent-crashes-upon-start.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,26 @@
1
1
---
2
-
title: SQL Server agent crashes when you try to start it
3
-
description: Learn how to resolve SQL Server Agent crashes when starting, including troubleshooting multiple job entries and missing ODBC drivers.
2
+
title: SQL Server Agent Stops Responding When You Try to Start It
3
+
description: Resolves an issue in which SQL Server Agent doesn't start, and provides troubleshooting guidance for multiple job entries and missing ODBC drivers.
4
4
ms.date: 12/03/2025
5
5
ms.reviewer: ramakoni1, v-jayaramanp, v-shaywood
6
6
ms.custom: sap:Startup, shutdown, restart issues (instance or database)
7
7
---
8
8
9
-
# SQL Server agent crashes when you try to start it
9
+
# SQL Server agent stops responding when you try to start it
10
10
11
-
This article provides troubleshooting guidance for an issue where the SQL Server agent service crashes or takes longer than expected when you try to start it.
11
+
This article provides troubleshooting guidance for an issue in which the SQL Server Agent service stops responding or takes longer than you expect when you try to start it.
12
12
13
13
_Original product version:_ SQL Server \
14
14
_Original KB number:_ 2795690
15
15
16
16
## Symptoms
17
17
18
-
A SQL Server agent crashes when you try to start it or takes longer than expected to start. Additionally, you might experience one or more of the following scenarios:
18
+
A SQL Server agent stops responding when you try to start it, or it takes longer than you expect to start. Additionally, you might experience one or both of the following scenarios:
19
19
20
20
-**Scenario 1**: The following error message is logged in the System event log:
21
21
> The SQL Server Agent (MSSQLSERVER) service failed to start due to the following error:
22
22
> The service didn't respond to the start or control request in a timely fashion.
23
-
-**Scenario 2**: The status of the agent displays as "Starting" in the Control Panel, and the following error message is logged in the *SQLAgent.log* file:
23
+
-**Scenario 2**: The status of the agent appears as "Starting" in Control Panel, and the following error message is logged in the *SQLAgent.log* file:
24
24
> An idle CPU condition has not been defined - OnIdle job schedules will have no effect.
25
25
26
26
Additionally, the following entries might be logged in the *SQLAgent.log* file:
@@ -42,7 +42,7 @@ A SQL Server agent crashes when you try to start it or takes longer than expecte
<Time Stamp> - ? [131] SQLSERVERAGENT service stopping due to a stop request from a user, process, or the OS...\
45
+
<Time Stamp> - ? [131] SQLSERVER service stopping due to a stop request from a user, process, or the OS...\
46
46
<Time Stamp> - ? [134] Support engine stopped\
47
47
<Time Stamp> - ? [197] Alert engine stopped\
48
48
<Time Stamp> - ? [168] There are 4731 job(s) [0 disabled] in the job cache\
@@ -68,11 +68,11 @@ A SQL Server agent crashes when you try to start it or takes longer than expecte
68
68
```
69
69
70
70
> [!NOTE]
71
-
> The SPID is in the RUNNABLE state and regularly waits for the `PREEMPTIVE_OS_LOOKUPACCOUNTSID` wait type, or the SPID is in a waiting state for the `ASYNC_NETWORK_IO` wait type.
71
+
> The SPID is in the RUNNABLE state, and regularly waits for the `PREEMPTIVE_OS_LOOKUPACCOUNTSID` wait type. Or, the SPID is in a waiting state for the `ASYNC_NETWORK_IO` wait type.
72
72
73
73
## Cause 1: Multiple job entries
74
74
75
-
This issue can occur when there are multiple job entries in SQL Server.
75
+
This issue can occur if multiple job entries exist in SQL Server.
76
76
77
77
> [!NOTE]
78
78
> The issue can also occur if you unintentionally set up multiple subscriptions for your reports in the Reporting Services Configuration Manager.
@@ -88,26 +88,26 @@ To work around this issue, delete the jobs that you don't need.
88
88
89
89
This issue can occur if the Open Database Connectivity (ODBC) driver is removed or becomes corrupted (often after system updates). SQL Server requires the ODBC driver as a core dependency.
90
90
91
-
For info on the ODBC driver requirements for different versions of SQL Server, see [Hardware and software requirements for SQL Server](/sql/sql-server/install/hardware-and-software-requirements-for-installing-sql-server-2025).
91
+
For information about the ODBC driver requirements for different versions of SQL Server, see [Hardware and software requirements for SQL Server](/sql/sql-server/install/hardware-and-software-requirements-for-installing-sql-server-2025).
92
92
93
93
### Solution
94
94
95
-
1. To verify that the ODBC driver is missing, run one of the following commands from an elevated command prompt or PowerShell:
95
+
1. To verify that the ODBC driver is missing, run one of the following commands in an elevated Command Prompt window or PowerShell:
96
96
1. Command prompt:
97
97
98
98
```cli
99
99
odbcad32.exe
100
100
```
101
101
102
-
This command will open the _ODBC data source Administrator_ window, then go to the **Drivers** tab and check if the ODBC driver is missing.
102
+
This command opens the _ODBC data source Administrator_ window. In that window, open the **Drivers** tab, and check whether the ODBC driver is missing.
103
103
104
104
1. PowerShell:
105
105
106
106
```powershell
107
107
Get-OdbcDriver
108
108
```
109
109
110
-
This command will return an output similar to the following:
110
+
This command returns an output that resembles the following example:
111
111
112
112
```output
113
113
Name : SQL Server
@@ -137,26 +137,26 @@ For info on the ODBC driver requirements for different versions of SQL Server, s
137
137
138
138
If the ODBC driver is not listed in the output of the `Get-OdbcDriver` command, then the driver is missing.
139
139
140
-
1. Confirm that the ODBC driver for SQL Server is missing. <!-- Need to confirm with SME what the user should look for to confirm the driver is missing -->
141
-
1. If the driver is missing, continue to the next step.
140
+
1. Verify that the ODBC driver for SQL Server is missing. <!-- Need to verify with SME what the user should look for to verify the driver is missing -->
141
+
1. If the driver is missing, go to the next step.
142
142
1. If the driver isn't missing, see [Cause 1](#cause-1-multiple-job-entries).
143
-
1. [Download the ODBC Driver for SQL Server](/sql/connect/odbc/download-odbc-driver-for-sql-server)
144
-
1. Install the driver by using the GUI or a silent install.
145
-
1. You can perform a silent install by using the following command:
143
+
1. [Download the ODBC Driver for SQL Server](/sql/connect/odbc/download-odbc-driver-for-sql-server).
144
+
1. Install the driver by using the GUI or a silent installation.
145
+
1. To perform a silent installation, run the following command:
146
146
147
147
```cli
148
148
msiexec /i <ODBD_Driver_MSI> /qn
149
149
```
150
150
151
-
1. After the driver installation completes, restart the SQL Server Agent.
152
-
1. Confirm the _SQL SERVER AGENT_ service is running.
153
-
1. For an unnamed SQL Server instance run the following PowerShell command:
151
+
1. After the driver installation finishes, restart the SQL Server agent.
152
+
1. Verify that the _SQL SERVER AGENT_ service is running.
153
+
1. For an unnamed SQL Server instance, run the following PowerShell command:
154
154
155
155
```powershell
156
156
Get-Service -Name SQLSERVERAGENT
157
157
```
158
158
159
-
1. For a named SQL Server instance run the following PowerShell command:
159
+
1. For a named SQL Server instance, run the following PowerShell command:
160
160
161
161
```powershell
162
162
Get-Service -Name SQLAgent$<InstanceName>
@@ -165,5 +165,5 @@ For info on the ODBC driver requirements for different versions of SQL Server, s
165
165
## More information
166
166
167
167
- For more information about how to delete a job, see [Delete One or More Jobs](/sql/ssms/agent/delete-one-or-more-jobs).
168
-
- For more information on managing your reporting services subscriptions, see [Create and Manage Subscriptions for Native Mode Report Servers](/sql/reporting-services/subscriptions/create-and-manage-subscriptions-for-native-mode-report-servers?redirectedfrom=MSDN).
168
+
- For more information about how to manage your reporting services subscriptions, see [Create and Manage Subscriptions for Native Mode Report Servers](/sql/reporting-services/subscriptions/create-and-manage-subscriptions-for-native-mode-report-servers?redirectedfrom=MSDN).
169
169
- For more information about various wait types, see [SQL Server wait types](/sql/relational-databases/system-dynamic-management-views/sys-dm-os-wait-stats-transact-sql).
0 commit comments