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.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Asked by:

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Question

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

The status code 0x36 is VIA error. Whereas the status code of 0x80 is from SSL:

Unable to initialize SSL support

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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
http://sqlblog.com/blogs/jonathan_kehayias/
http://www.twitter.com/SQLSarg
http://www.sqlclr.net/
Please click the Mark as Answer button if a post solves your problem!

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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
==============================
OS Version : Professional Service Pack 2 (Build 6002)
Time : Sat Aug 01 16:27:19 2009

Источник

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:

Windows could not start the SQL Server (MSSQLSERVER) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 3417.

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.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

19 Answers 19

Very 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

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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:

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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:

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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..

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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?

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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.

2018-06-19 20:41:52.20 spid12s TDSSNIClient initialization failed with error 0x271d, status code 0xa. Reason: Unable to initialize the TCP/IP listener. An attempt was made to access a socket in a way forbidden by its access permissions.

Recently I was running a MSSQLEXPRESS image in my docker container, which was using the same TCP/IP port, that caused this issue.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

So, what I did is, I just reset my TCP/IP by doing the below command.

netsh int ip reset resetlog.txt

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

In My case I had to Upgrade the SQL Server since evaluation licence had been expired.

Windows could not start the sql server service on local computer. Смотреть фото Windows could not start the sql server service on local computer. Смотреть картинку Windows could not start the sql server service on local computer. Картинка про Windows could not start the sql server service on local computer. Фото Windows could not start the sql server service on local computer

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

The master database records all the system-level information for a SQL Server system. This includes instance-wide metadata such as logon accounts, endpoints, linked servers, and system configuration settings. In SQL Server, system objects are no longer stored in the master database; instead, they are stored in the Resource database. Also, master is the database that records the existence of all other databases and the location of those database files and records the initialization information for SQL Server. Therefore, SQL Server cannot start if the master database is unavailable MSDN Master DB so you need to reconfigure all settings after restoring master db

solutions

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *