Blog

SQL Server Service Hangs After Patching. Is there an Oracle Linked Server on your server?

SQL Server Service Hangs After Patching. Is there an Oracle Linked Server on your server!!!?

by Nabil Mahmoud – SQL Server Team Lead @ Pro DBA

I came across an issue where SQL Server service will not start after installing updates. Updates were installed on several SQL servers and all were successful and service resumed as normal. Except one instance, the updates were successful but the instance service wouldn’t start!

The updates were rolled back and that made no difference. The instance still refused to start. This is a very uncommon issue. All security features were disabled on the server including anti-virus and windows defender etc. and that too made no difference.

Unfortunately there was no VM snapshot to revert the server back prior to patching. Other services were stopped in turn to figure out if this would help to get the service up and running and that didn’t help. However stopping and disabling the SQL Agent service made the difference enabling the SQL service was able to start. Starting the SQL Agent Service would crash SQL Server Service.

One of the SQL agent jobs was calling an Oracle linked server. The Oracle dll was old and not a supported Oracle client version. This was confirmed again by disabling the SQL agent and starting the SQL Server Service but then running a test connection on the Oracle Linked Server would crash the server again. The Oracle client 11 was uninstalled and version 19c was installed instead and that fixed the issue.

This was a significant P1 issue that was caused by a simple patching exercise. The takeaway from this was:

  1. Before patching backup the server, if it’s a VM take a VM snapshot
  2. Before patching SQL server check if there are 3rd party components that are no longer supported and need to be patched/replaced with newer versions.
  3. When Troubleshooting SQL Server Service failure to start, should consider stopping other services on the server including the SQL agent
Dave Henderson

Recent Posts

Standards compliance verified with Exor Certified status achievement

We’ve achieved Exor Certified accreditation again. This shows Pro DBA’s commitment to standards compliance and…

12 years ago

Pro DBA cuts SQL Server support service prices to mark launch of new site

Pro DBA today announced a special 10% discount on all list prices for SQL Server…

12 years ago

Pro DBA fund raising

Pro DBA are raising money for Greenwich Mencap. Congratulations to Jonathan Moss, Harpreet Chawla and…

12 years ago

Discounted Oracle and SQL Server support for 2e2 customers

Pro DBA today announced three special offers for 2e2 customers on its critically acclaimed Oracle…

11 years ago

Oracle database support special rates for IFS customers

Oracle database experts Pro DBA today announced that they will be offering discounted rates on…

11 years ago

Oracle Linux Specialisation achieved by Pro DBA

Pro DBA are proud to announce that they have achieved Oracle Specialized Partner status for…

11 years ago