Published on

June 8, 2017

Dealing with SQL Server Service Startup Issues

As a SQL Server user, you may have encountered situations where the SQL services fail to start up after a server reboot. This can be a frustrating experience, especially when you rely on the database for your daily operations. In this article, we will discuss a common issue related to SQL Server service startup and provide a workaround to resolve it.

One of our clients recently faced a similar problem. After a server reboot, they noticed that the SQL Server service was not starting up automatically. Upon checking the event logs, they found an error message indicating a timeout issue:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7009
User: N/A
Computer: SQLMachine
Description: Timeout (30000 milliseconds) waiting for the SQL Server (MSSQLSERVER) service to connect.

Interestingly, the client also discovered that they could manually start the SQL Server service without any issues after logging into the machine. This led us to believe that the system was overloaded during the startup process, causing a delay in the SQL Server service response to the service control manager.

To address this problem, we implemented a simple workaround by increasing the timeout value from the default 30 seconds to 60 seconds. Here are the steps to change the timeout value:

  1. Click on the “Start” button and select “Run”.
  2. Type “regedit” in the Run dialog box and click “OK”.
  3. In the Registry Editor, navigate to the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
  4. Right-click on the “Control” key, point to “New”, and select “DWORD Value”.
  5. Type “ServicesPipeTimeout” as the name of the new value and press “Enter”.
  6. Right-click on the “ServicesPipeTimeout” value and select “Modify”.
  7. Choose the “Decimal” base and enter the desired timeout value in milliseconds (e.g., 60000 for 60 seconds).
  8. Click “OK” to save the changes.
  9. Exit the Registry Editor and restart the computer for the changes to take effect.

By increasing the timeout value, we allowed more time for the SQL Server service to establish a connection during the startup process. This workaround proved effective for our client, as they had multiple services running on their system, causing slow performance during startup.

Have you ever encountered a similar issue with SQL Server service startup? If so, we would love to hear about your experiences and any additional tricks or solutions you have used to overcome performance issues during startup. Please leave a comment below and share your insights with the community.

Click to rate this post!
[Total: 0 Average: 0]

Let's work together

Send us a message or book free introductory meeting with us using button below.