Windows could not start the sql server service on local computer
Windows could not start the sql server service on local computer
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
Today I applied patch from MS and my working MS sql server 2005 stopped. Could anyone know the solution, what is the problem.
List of patches
1. Security Update for Microsoft Visual Studio 2005 Service Pack 1 (KB971090)
2. Cumulative Security Update for Internet Explorer 8 for Windows Vista (KB972260)
3. Security Update for Microsoft Visual Studio 2008 (KB971091)
4. Security Update for Microsoft Visual Studio 2005 Service Pack 1 (KB971090)
5. Cumulative Security Update for Internet Explorer 8 for Windows Vista (KB972260)
6. Security Update for Microsoft Visual Studio 2008 (KB971091)
7. Security Update for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB973923)
Dec 17 2008 14:34:38
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition on Windows NT 6.0 (Build 6002: Service Pack 2)
2009-07-29 20:56:10.79 Server (c) 2005 Microsoft Corporation.
2009-07-29 20:56:10.79 Server All rights reserved.
2009-07-29 20:56:10.79 Server Server process ID is 5712.
2009-07-29 20:56:10.79 Server Authentication mode is WINDOWS-ONLY.
2009-07-29 20:56:10.79 Server Logging SQL Server messages in file ‘D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG’.
2009-07-29 20:56:10.79 Server This instance of SQL Server last reported using a process ID of 5700 at 7/29/2009 8:55:53 PM (local) 7/30/2009 3:55:53 AM (UTC). This is an informational message only; no user action is required.
2009-07-29 20:56:10.79 Server Registry startup parameters:
2009-07-29 20:56:10.81 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2009-07-29 20:56:10.81 Server Detected 2 CPUs. This is an informational message; no user action is required.
2009-07-29 20:56:10.85 Server Set AWE Enabled to 1 in the configuration parameters to allow use of more memory.
2009-07-29 20:56:10.96 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2009-07-29 20:56:11.01 Server Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2009-07-29 20:56:11.01 Server An error occurred while trying to determine the state of the RPCSS service. A call to «OpenServiceW» returned: 5(Access is denied.). This is an informational message only. No user action is required.
2009-07-29 20:56:11.01 Server An attempt to connect to Microsoft Distributed Transaction Coordinator (MS DTC) will be skipped because the RPCSS service doesn’t appear to be started. Another attempt to connect to MS DTC will be made later. This is an informational message only. No user action is required.
2009-07-29 20:56:11.03 Server Database mirroring has been enabled on this instance of SQL Server.
2009-07-29 20:56:11.04 spid5s Starting up database ‘master’.
2009-07-29 20:56:11.13 spid5s SQL Trace ID 1 was started by login «sa».
2009-07-29 20:56:11.14 spid5s Starting up database ‘mssqlsystemresource’.
2009-07-29 20:56:11.16 spid5s The resource database build version is 9.00.4207. This is an informational message only. No user action is required.
2009-07-29 20:56:11.36 spid5s Server name is ‘ENCODEXVIKAS’. This is an informational message only. No user action is required.
2009-07-29 20:56:11.36 spid9s Starting up database ‘model’.
2009-07-29 20:56:11.36 Server Error: 17182, Severity: 16, State: 1.
2009-07-29 20:56:11.36 Server TDSSNIClient initialization failed with error 0x2, status code 0x80.
2009-07-29 20:56:11.36 Server Error: 17182, Severity: 16, State: 1.
2009-07-29 20:56:11.36 Server TDSSNIClient initialization failed with error 0x2, status code 0x1.
2009-07-29 20:56:11.36 Server Error: 17826, Severity: 18, State: 3.
2009-07-29 20:56:11.36 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2009-07-29 20:56:11.36 Server Error: 17120, Severity: 16, State: 1.
2009-07-29 20:56:11.36 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
All replies
The status code 0x36 is VIA error. Whereas the status code of 0x80 is from SSL:
Unable to initialize SSL support The error 0x2 when looked up with net helpmsg results in The system cannot find the file specified. This points to a missing file or a lack of permissions for the SQL Service Account. Try reapplying SQL Server 2005 Service Pack 3 (SP3) and 959195 Cumulative update package 1 (CU1) for SQL Server 2005 Service Pack 3 to the server. It could be that a DLL was changed by the update or removed that is required. Jonathan Kehayias My machine is Dell Vostro 1510, windows vista Enterprise 32 bit I tried all options but no luck. Now I have uninstalled sql server 2005 and installing it again. but getting message as The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, «How to: View SQL Server 2005 Setup Log Files» and «Starting SQL Server Manually. Log of my sql install is Microsoft SQL Server 2005 9.00.1399.06 Windows could not start the SQL Server (MSSQLSERVER) on Local Computer… (error code 3417)For some reasons I moved this folder : ( Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL ) to another drive, then returned it to the same location, but sql server has stopped working, showing this error when trying to start it again:
I tried many solutions discussed in different forums, but none of them work for me. The folder is not compressed or encrypted. Thanks for your kind help in advance. 19 Answers 19Very simple to solve this problem. Just open RUN window(Window+R) and type services.msc : Find the SQL within name column and right click on that. right click on SQL as in screenshot You will get properties option, click on properties. One new window will be open and there you have to click on Log On tab. And select the Local System Account. then apply and okay. Select Local system Account After that come again in services.msc window. and right click on sql and click start. And finally, SQL Server services started successfully. enjoy and keep learning. If so, plesae goto the driver or folder, change the compress option by After above things, you should be able to start the service again. In my particular case, I fixed this error by looking in the Event Viewer to get a clue as to the source of the issue: I then followed the steps outlined at Rebuilding Master Database in SQL Server. In my particular case, the command to rebuild the master database was: Run this command after opening cmd as administrator This command is called trace flag 902. It is used to bypass script upgrade mode. Every time when you try to start your sql service it also looks for script upgrades. and when the script upgrade fail your service unable to start. So, Whenever we have such upgrade script failure issue and SQL is not getting started, we need to use trace flag 902 to start SQL. I hope this will help you.. I have had the same error recently. I have checked the folder Log of my Server instance. and I have found this errors in logs So for me it was an easy fix. I just added proper access rights to this files to the sql server service account. I hope it will help What is System Event Log saying? I was getting this error today. And above answers didn’t help me. I was getting this error when I try to start the SQL Server(SQLEXPRESS) service in Services(services.msc). When I checked the error log at the location C:\Program Files\Microsoft SQL Server\MSSQL13.SQLEXPRESS\MSSQL\Log, there was an entry related TCP/IP port.
Recently I was running a MSSQLEXPRESS image in my docker container, which was using the same TCP/IP port, that caused this issue. So, what I did is, I just reset my TCP/IP by doing the below command. netsh int ip reset resetlog.txt Once the resetting is done, I had to restart the machine and when I try to start the SQLEXPRESS service again, it started successfully. Hope it helps. In My case I had to Upgrade the SQL Server since evaluation licence had been expired. Database rebuild fixed it for me as well. Also had to restore the old database from backup as it got corrupted during power outage. The copy master.mdf procedure did not work for me. i had the same problem before the error code 3417 : the SQL SERVER cannot start the master database, without master db SQL SERVER can’t start MSSQLSERVER_3417
solutions
|