Managing database servers for Web hosts, VPS hosts, etc, and resolving the issues related to it are a major chunk of the Server Management Services that we offer at Bobcares. We receive a number of SQL-related support requests as a part of it. To fix SQL error 5023 is one among them.
This error in general triggers while starting the SQL server. At times users wonder what triggered it.
Today, let’s discuss the top reasons behind this SQL error and it fixes.
What causes the SQL error 5023?
As we discussed earlier the error 5023 triggers normally during a restart operation on Microsoft SQL Server or SQL Server Agent. At times due to incompatibility of the TLS version or the permission issue of the user account, the service may fail to start with the following error message:
Windows could not start SQL Server 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 5023.
The major reasons for this error include:
- Incompatibility issue of TLS version with SQL server. For example, TLS 1.2 is not supported by SQL server 2014.
- Permission issue of the user account
- SSL 3.0 and/or TLS 1.0 have been disabled.
Let us now look at the different fixes for this error message:
How to fix the SQL error 5023?
As this error is commonly triggered due to the incompatibility of TLS versions, trying to start that SQL server after disabling the encryption may help to start the SQL service. Steps for it include:
- First, click Start, then in the Microsoft SQL Server program group, point to Configuration Tools.
- Then, click on the SQL Server Configuration Manager.
- Expand SQL Server Network Configuration, right-click the “protocols for SQL Server” and then click Properties.
- Finally, on the Flags as well as Certificate tab, disable any encryption applicable.
We can then try starting the SQL server again. Since the incompatible TLS versions are disabled, the SQL server will be started now.
Another possible reason for this error message is the permission issue of the user account. To confirm this, we can try to change the account to a Local System built-in one. The steps to perform it include:
- Go into SQL Server configuration manager and select the SQL Server service.
- Right-click and select Properties.
- Set the account to the Local System built-in account.
Once the account is switched, we can try to start the SQL Server. If it works fine, then it is indeed a user account permission problem. Thus we will need to correct the permission of the user account to fix the issue.
[ Need help resolving email errors in your sites? Get assistance from our server experts at affordable rates. ]
Conclusion
In short, the SQL error 5023 triggers while starting the SQL server. It happens due to the incompatibility of the TLS version, the permission issue of the user account etc. Today, we discussed how our Support Engineers fix this error.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
GET STARTED
var google_conversion_label = «owonCMyG5nEQ0aD71QM»;
Managing database servers for Web hosts, VPS hosts, etc, and resolving the issues related to it are a major chunk of the Server Management Services that we offer at Bobcares. We receive a number of SQL-related support requests as a part of it. To fix SQL error 5023 is one among them.
This error in general triggers while starting the SQL server. At times users wonder what triggered it.
Today, let’s discuss the top reasons behind this SQL error and it fixes.
What causes the SQL error 5023?
As we discussed earlier the error 5023 triggers normally during a restart operation on Microsoft SQL Server or SQL Server Agent. At times due to incompatibility of the TLS version or the permission issue of the user account, the service may fail to start with the following error message:
Windows could not start SQL Server 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 5023.
The major reasons for this error include:
- Incompatibility issue of TLS version with SQL server. For example, TLS 1.2 is not supported by SQL server 2014.
- Permission issue of the user account
- SSL 3.0 and/or TLS 1.0 have been disabled.
Let us now look at the different fixes for this error message:
How to fix the SQL error 5023?
As this error is commonly triggered due to the incompatibility of TLS versions, trying to start that SQL server after disabling the encryption may help to start the SQL service. Steps for it include:
- First, click Start, then in the Microsoft SQL Server program group, point to Configuration Tools.
- Then, click on the SQL Server Configuration Manager.
- Expand SQL Server Network Configuration, right-click the “protocols for SQL Server” and then click Properties.
- Finally, on the Flags as well as Certificate tab, disable any encryption applicable.
We can then try starting the SQL server again. Since the incompatible TLS versions are disabled, the SQL server will be started now.
Another possible reason for this error message is the permission issue of the user account. To confirm this, we can try to change the account to a Local System built-in one. The steps to perform it include:
- Go into SQL Server configuration manager and select the SQL Server service.
- Right-click and select Properties.
- Set the account to the Local System built-in account.
Once the account is switched, we can try to start the SQL Server. If it works fine, then it is indeed a user account permission problem. Thus we will need to correct the permission of the user account to fix the issue.
[ Need help resolving email errors in your sites? Get assistance from our server experts at affordable rates. ]
Conclusion
In short, the SQL error 5023 triggers while starting the SQL server. It happens due to the incompatibility of the TLS version, the permission issue of the user account etc. Today, we discussed how our Support Engineers fix this error.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
GET STARTED
var google_conversion_label = «owonCMyG5nEQ0aD71QM»;
SQL error 5023 generally happens when the version of the TLS is not compatible or when there is a permission issue in the SQL Server.
Due to our experiences with server management , shared hosting and vps servers in conjunction with finding solutions to Error relating to Servers and Databases , we offer Databases Management Services.
In this context, Ibmi Media will deal with the possible reasons why the SQL Error occurs and how best to fix SQL error 5023.
Possible factors behind SQL error 5023?
The SQL 5023 error is usually experienced during the process of a restart of Microsoft SQL Server and it can happen in SQL Server Agent as well. In other cases, when the version of the TLS is not compatible or when there is a permission issue, the server may fail to start properly and throw up errors such as;
Windows could not start SQL Server 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 5023.
When we looked into such cases, the most common reason was;
- When the TLS version is not compatible with the SQL server.
- When SSL 3.0 or TLS 1.0 has been disabled.
- When a permission issue exists.
Method to fix the SQL error 5023?
To fix this error, one of the steps to take is to check if the TLS versions is compatible with the SQL server. Therefore, disabling the encryption feature may help to resolve this issue and thus allow the SQL to start properly.
The steps to be taken is outlined below;
1. To begin, click «Start«, followed by «Configuration Tools» in the «Microsoft SQL Server program group«.
2. Next, go to the «SQL Server Configuration Manager» section.
3. Once you expand the «SQL Server Configuration Manager«, do a right click mouse action on the «protocols for SQL server» and then proceed to the «Properties«.
4. The last step is to disable any applied encryption on the Certificate tab as well as the Flags tab.
After going through these processes, you can attempt to start up the SQL server again. You will see that it will start because you have successfully disabled the TLS versions which was not compatible.
In some other scenarios, the error can result from a permission concern with the user account. To resolve this, try to change into the Local system default account.
Use the following steps to accomplish this;
1. Navigate to the SQL Server configuration manager and select the SQL service.
2. Make a right click action and select Properties.
3. You can now select the default account in the Local System.
As soon as you you in tune with the Local account, try starting the SQL server and you will see that it will start successfully. What you have done so far was to fix the error by resolving the user account permission issues.
Need support in solving SQL and email errors in your website? Our Server Experts can solve it.
You can see how Permission issues and an incorrect TLS version can cause SQL error 5023. If you are not familiar with Server administering and would like our professionals to handle this task on your behalf, contact our Professional Services team Now.
- Remove From My Forums
-
Общие обсуждения
-
Добрый день, помогите с проблемой!!!!
До этого момента нормально существовала SQL Server 2000 Desktop Engine — без каких либо проблем.
Теперь потребовался SQL Server 2005 Express. MSDE был успешно удален.
Но при установке SQL Server 2005 Express (SP3) — возникла ошибка: «Запуск службы SQL Server не удался. Дополнительные сведения см. в электронной документации по SQL Server, разделы «Как: посмотреть файлы журнала установки SQL Server 2005» и «Запуск SQL Server вручную».
Ошибка 5023 Группа или ресурс не находятся в нужном состоянии для выполнения требуемой операции.»Поиск решения не увенчался успехом. В том числе http://social.technet.microsoft.com/Forums/it-IT/sqlru/thread/8e84701c-4913-4bd7-8a36-a902f2e560de
В логах сама ошибка:
Setting status of unmanaged components and removing unmanaged resources
Do_sqlScript
SqlScriptHlpr
Start service MSSQL$SQLEXPRESSError Code: 5023
MSI (s) (78:BC) [16:02:02:740]: Running as a service.
Ошибка 29503. Запуск службы SQL Server не удался. Дополнительные сведения см. в электронной документации по SQL Server, разделы «Как: посмотреть файлы журнала установки SQL Server 2005» и «Запуск SQL Server вручную».
Ошибка 5023 Группа или ресурс не находятся в нужном состоянии для выполнения требуемой операции.<Func Name=’GetCAContext’>
<EndFunc Name=’GetCAContext’ Return=’T’ GetLastError=’203′>
Doing Action: Do_sqlScript
PerfTime Start: Do_sqlScript : Fri Oct 02 16:03:28 2009
Service MSSQL$SQLEXPRESS with parameters ‘-m SqlSetup -Q -qCyrillic_General_CI_AS -T4022 -T3659 -T3610 -T4010’ is being started at Fri Oct 02 16:03:28 2009
Service failed unexpectedly (5023)
Error Code: 0x8007139f (5023)
Windows Error Text: Группа или ресурс не находятся в нужном состоянии для выполнения требуемой операции.
Source File Name: sqlsetuplibservice.cpp
Compiler Timestamp: Sat Oct 25 08:47:19 2008
Function Name: sqls::Service::Start
Source Line Number: 301- Изменен тип
25 февраля 2011 г. 13:47
Отсутствие активности пользователя
- Изменен тип
Hello, our windows server had automatic updates set on. The last update did something and on a couple machines SQL Server will not start. When trying to start the service we receive the error:
Windows could not start SQL Server (ourSQL) 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 5023.
The event:
The SQL Server (ourSQL) service terminated with service-specific error 5023 (0x139F).
I have tried starting the service from service manager, SQL configuration tool, and command line.
Any suggestions?
Thank you.
[edit]SQL server 2008 standard, Windows 2008 standard
We have narrowed it down to Windows 2008 standard boxes. The Windows 2008R2 boxes are okay[/edit]
DennisPost
SSCrazy
Points: 2691
Perhaps this MS Connect issue will help.
Turn off automatic updates 😛
djj
SSCoach
Points: 18831
First thing the systems guy did.
mr_belpitt
SSC Enthusiast
Points: 121
Are you running the service with a useraccount, and if so, is it locked out?
djj
SSCoach
Points: 18831
We used user (with sys admin rights), the network sys admin and the system sys admin accounts. None worked.
Restored without updates finally worked. Bad thing is it was the computer controlling backups.:-)
0 / 0 / 0 Регистрация: 19.10.2013 Сообщений: 26 |
|
1 |
|
23.10.2013, 04:58. Показов 54800. Ответов 20
Всем привет!! Оч прошу помогите разобраться.
__________________ 0 |
3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
|
23.10.2013, 10:04 |
2 |
У вас имя машины «.»? 1 |
0 / 0 / 0 Регистрация: 19.10.2013 Сообщений: 26 |
|
23.10.2013, 10:26 [ТС] |
3 |
У вас имя машины «.»? Спасибо 0 |
624 / 495 / 43 Регистрация: 05.07.2010 Сообщений: 1,589 |
|
23.10.2013, 10:36 |
4 |
У вас имя машины «.»? . значит локальная машина. 1 |
3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
|
23.10.2013, 10:38 |
5 |
Какой путь? 0 |
624 / 495 / 43 Регистрация: 05.07.2010 Сообщений: 1,589 |
|
23.10.2013, 10:40 |
6 |
ТС надо в свойствах службы назначить учётную запись LOCAL_SYSTEM (либо отметить галочуой соответствующую учётную запись — от версии винды зависит), либо осознанно указать имя и пароль учётной записи, от которой должна работать служба SQLSERVER (SQLEXPRESS) 0 |
3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
|
23.10.2013, 10:59 |
7 |
. значит локальная машина. В терминах MSSQL «.» озаначает локальный сервер. Насчет такого обозначения локальной учетной записи — в первый раз слышу. Более того, это не работает. Может есть пруфлинк?
ТС надо в свойствах службы назначить учётную запись LOCAL_SYSTEM А если ТСу требуется из сиквела обращаться к сетевым ресурсам? 0 |
624 / 495 / 43 Регистрация: 05.07.2010 Сообщений: 1,589 |
|
23.10.2013, 11:06 |
8 |
При чём тут термины MSSQL, если речь идёт об авторизации заапуска службы. Вообще-то я прямо сейчас с этими вещами работаю и спорить не собираюсь. Пусть ТС попробует и напишет чем кончилось. 0 |
3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
|
23.10.2013, 11:26 |
9 |
Вообще-то я прямо сейчас с этими вещами работаю и спорить не собираюсь. Ну тогда Вас наверное не затруднит привести воспроизводимый пример работы с учетками вида «.Имя»? 0 |
624 / 495 / 43 Регистрация: 05.07.2010 Сообщений: 1,589 |
|
23.10.2013, 12:12 |
10 |
Воспроизводимый в каком виде? виртуалку сдампить? ) запись вида .Имя делается для того, чтобы отличить Принтскрин ошибки позволяет предполодить, что на момент установки на машине ТС была локальная учётка Admin, и в процессе настройки этот админ решил стартовать службу сервера от себя, а потом админскую учётку заблокировал либо удалил либо пароль сменил. 0 |
0 / 0 / 0 Регистрация: 19.10.2013 Сообщений: 26 |
|
23.10.2013, 12:31 [ТС] |
11 |
Вот дополнительно скрины самой службы. Может что-топо может. 0 |
624 / 495 / 43 Регистрация: 05.07.2010 Сообщений: 1,589 |
|
25.10.2013, 07:02 |
13 |
Я вроде уже говорил, что надо поменять ваторизацию запуска. 0 |
624 / 495 / 43 Регистрация: 05.07.2010 Сообщений: 1,589 |
|
25.10.2013, 07:04 |
14 |
В вашем случае надо положить шарик в дырочку слева от «встроенную учётную запись» и выбрать LOCAL_SYSTEM в вываливающемся списке, расположенном под указанной надписью. 0 |
0 / 0 / 0 Регистрация: 19.10.2013 Сообщений: 26 |
|
25.10.2013, 07:22 [ТС] |
15 |
Я пробовал менять авторизацию, но пи запуске службы выдает сообщение «Не удалось запустить службу SQL Server (SQLEXPRESS) на Локальный компьютер. Дополнительные сведения содержатся в журнале системных событий. Если эта служба разработана не в Microsoft, обратитесь к разработчику службы и сообщите специфический для этой службы код ошибки 1814» Добавлено через 4 минуты 0 |
3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
|
25.10.2013, 09:07 |
16 |
Покажите журнал самого сиквела. Он должен лежать примерно тут: C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGErrorlog 1 |
0 / 0 / 0 Регистрация: 19.10.2013 Сообщений: 26 |
|
25.10.2013, 10:01 [ТС] |
17 |
Код 2013-10-25 12:09:39.29 Server Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86) Jul 9 2008 14:43:34 Copyright (c) 1988-2008 Microsoft Corporation Express Edition on Windows NT 5.1 <X86> (Build 2600: Service Pack 3) 2013-10-25 12:09:39.37 Server (c) 2005 Microsoft Corporation. 2013-10-25 12:09:39.37 Server All rights reserved. 2013-10-25 12:09:39.37 Server Server process ID is 2516. 2013-10-25 12:09:39.37 Server Authentication mode is WINDOWS-ONLY. 2013-10-25 12:09:39.37 Server Logging SQL Server messages in file 'C:Program FilesMicrosoft SQL ServerMSSQL10.SQLEXPRESSMSSQLLogERRORLOG'. 2013-10-25 12:09:39.39 Server This instance of SQL Server last reported using a process ID of 1484 at 25.10.2013 10:48:34 (local) 25.10.2013 1:48:34 (UTC). This is an informational message only; no user action is required. 2013-10-25 12:09:39.39 Server Registry startup parameters: -d C:Program FilesMicrosoft SQL ServerMSSQL10.SQLEXPRESSMSSQLDATAmaster.mdf -e C:Program FilesMicrosoft SQL ServerMSSQL10.SQLEXPRESSMSSQLLogERRORLOG -l C:Program FilesMicrosoft SQL ServerMSSQL10.SQLEXPRESSMSSQLDATAmastlog.ldf 2013-10-25 12:09:39.49 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required. 2013-10-25 12:09:39.49 Server Detected 2 CPUs. This is an informational message; no user action is required. 2013-10-25 12:09:41.35 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. 2013-10-25 12:09:42.98 Server Node configuration: node 0: CPU mask: 0x00000003 Active CPU mask: 0x00000003. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required. 2013-10-25 12:09:43.54 spid7s Starting up database 'master'. 2013-10-25 12:09:43.82 spid7s 1 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required. 2013-10-25 12:09:43.89 spid7s 0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required. 2013-10-25 12:09:43.89 spid7s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required. 2013-10-25 12:09:44.53 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'SQLEXPRESS'. 2013-10-25 12:09:45.04 spid7s SQL Trace ID 1 was started by login "sa". 2013-10-25 12:09:45.12 spid7s Starting up database 'mssqlsystemresource'. 2013-10-25 12:09:45.14 spid7s The resource database build version is 10.00.1600. This is an informational message only. No user action is required. 2013-10-25 12:09:45.48 spid10s Starting up database 'model'. 2013-10-25 12:09:45.48 spid10s Error: 17204, Severity: 16, State: 1. 2013-10-25 12:09:45.48 spid10s FCB::Open failed: Could not open file e:sql10_main_tsqlmkmastrdatabasesobjfrei386model.mdf for file number 1. OS error: 3(Системе не удается найти указанный путь.). 2013-10-25 12:09:45.56 spid7s Server name is 'WWWMMSQLEXPRESS'. This is an informational message only. No user action is required. 2013-10-25 12:09:45.59 spid10s Error: 5120, Severity: 16, State: 101. 2013-10-25 12:09:45.59 spid10s Unable to open the physical file "e:sql10_main_tsqlmkmastrdatabasesobjfrei386model.mdf". Operating system error 3: "3(Системе не удается найти указанный путь.)". 2013-10-25 12:09:45.68 spid10s Error: 17207, Severity: 16, State: 1. 2013-10-25 12:09:45.68 spid10s FileMgr::StartLogFiles: Operating system error 2(Не удается найти указанный файл.) occurred while creating or opening file 'e:sql10_main_tsqlmkmastrdatabasesobjfrei386modellog.ldf'. Diagnose and correct the operating system error, and retry the operation. 2013-10-25 12:09:45.73 spid10s File activation failure. The physical file name "e:sql10_main_tsqlmkmastrdatabasesobjfrei386modellog.ldf" may be incorrect. 2013-10-25 12:09:45.73 spid7s Informational: No full-text supported languages found. 2013-10-25 12:09:45.75 spid10s Error: 945, Severity: 14, State: 2. 2013-10-25 12:09:45.75 spid10s Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details. 2013-10-25 12:09:45.75 spid10s Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized. 2013-10-25 12:09:45.76 spid10s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required. 2013-10-25 12:09:45.76 spid7s Starting up database 'msdb'. Добавлено через 18 минут
‘e:sql10_main_tsqlmkmastrdatabasesobjfrei386 modellog.ldf’ В строке (например) «35» Прописан адрес на диске e: 0 |
3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
|
25.10.2013, 10:05 |
18 |
У вас сервер не может найти файлы системной БД model (model.mdf и modellog.ldf), которые должны быть в e:sql10_main_tsqlmkmastrdatabasesobjfrei386 Добавлено через 4 минуты 1 |
0 / 0 / 0 Регистрация: 19.10.2013 Сообщений: 26 |
|
25.10.2013, 10:16 [ТС] |
19 |
По инструкции с программой и по порядку выполнения действий, Но диск «е» ни где не указывал. Это где то было по умолчанию прописано. Средство проверки конфигурации ни чего не выявило: 0 |
invm 3317 / 2027 / 722 Регистрация: 02.06.2013 Сообщений: 4,972 |
||||||||
25.10.2013, 10:42 |
20 |
|||||||
Waler, чудес не бывает. Либо пути указаны при установке, либо была подменена БД master.
Для каждого неверно расположенного файла установите правильное раположение инструкцией
1 |
- Главная
- Новости
- Что делать, если не стартует служба SQL Server (подробный алгоритм устранения проблем)
Средь моря проблем, с которыми сталкиваются пользователи ПК, есть следующая: невозможность запустить службу SQL Server. Итак!
При попытке установить и запустить SQL Server ваша система выдает вам следующее сообщение:
«Не удалось запустить службу SQL Server. Для получения дополнительных сведений см. в разделах документации по SQL Server…» и тд. Также прилагается код ошибки, под номером 29503.
Почему так произошло? Причин может быть несколько, но все они разрешимы.
Причина №1: служба SQL Server не устанавливается в виду того, что согласованность (соотношение) между физическими сокетами и логическими процессорами системы не имеет степень числа 2. Либо физические ядра не имеют степень 2. И, наконец, если общее наличие процессоров является нечетным.
Устранение проблемы: необходимо поменять число логических процессоров в ОС Windows 2003. Вот ваш алгоритм: «Пуск» — «Выполнить». В командную строку «Открыть» впишите команду msconfig и нажмите на кнопку «Ок» или «Enter». Вы окажетесь в окне «Настройка системы». Здесь вы увидите вкладки, среди которых будет вкладка «BOOT.INI» — кликайте на ней.
В открывшемся окне жмите кнопку «Дополнительно». Поверх основного окна появится ещё одно окно, озаглавленное, как «Доп. параметры BOOT.INI». В нем вы увидите список, в котором вас интересует строчка «/NUMPROC» — поставьте в этой клеточке «птичку». Видите стрелочку вниз? Нажмите на неё, выберите значение 1 (один) и нажмите на «Ок». Далее нажимаете на «Ок» в окне «Настройка системы». Перезагружаете сервер и теперь можете устанавливать ваш SQL Server 2005. И не забудьте про пакет последних обновлений для этой службы. А после этого снова войдите в «Выполнить» — «Открыть» — впишите msconfig — «нажмите на «Ок» — «Настройки системы» — «Доп. параметры BOOT.INI» и снимите «птичку», которую вы ставили возле «/NUMPROC».
Причина №2: вы не можете запустить службу SQL Server в виду того, что в учетной записи сетевой служба просто нет разрешения для папки (или подпапки).
Решается проблема довольно просто: необходимо предоставить учетной записи NETWORK Service все права доступа к папке. Делается это посредством такого алгоритма: заходите в «Свойства Microsoft» — кликаете на вкладку «Безопасность» — выделяете запись NETWORK Service и в нижнем поле ставите «птичку» в клеточке возле строчки «Полный доступ». Также вы можете в параметрах настройки SQL поменять учетную запись на «Локальную систему» (англ. — Local system).
Причина №3: установка SQL Server производится файловой структурой FAT. Уже давно известно, что FAT — это не лучшее «начало дня». Поэтому, дабы решить создавшуюся проблему рекомендую просто перейти с FAT на NTFS.
Причина №4: вы не можете запустить SQL лишь по той причине, что ваш компьютер не состоит в домене! А параметр «domain» может просто отсутствовать в реестре вашей ОС Windows. (Он должен находится в ветке HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters). Решить проблему очень просто: надо создать недостающий пустой строковый параметр «domain». Алгоритм: «Пуск» — «Выполнить» — regedit — «Ок» — «Редактор реестра» — ветка HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters. В правой части кликаете правой кнопкой мышки на пустом участке поля. Выпадет строчка «Создать». Наводим стрелочку на эту строчку и видим список, в котором есть строка «Строковый параметр».
Выбираем эту строку и создаем пустышку — пустой строковый параметр. (Извините за частое употребление слов «строка» и «строковый», но я делаю эту лишь для того, чтобы вы видели четкий алгоритм). Создав пустой параметр, можете смело закрывать все окна и запускать ваш SQL — всё будет работать.
Всего вам доброго и до новых встреч!
Популярные статьи
ИТ аудит
Что такое IT-аудит? Это независимый экспертный анализ эффективности…
IT-аутсорсинг
Компания «ИТ-РП» — это команда профессионалов, которая возьмет на…
Контакты
ИТ услуги
Новости
Номер ошибки: | Ошибка 5023 | |
Название ошибки: | Windows Error Code 5023 | |
Описание ошибки: | Ошибка 5023: Возникла ошибка в приложении Windows. Приложение будет закрыто. Приносим извинения за неудобства. | |
Разработчик: | Microsoft Corporation | |
Программное обеспечение: | Windows | |
Относится к: | Windows XP, Vista, 7, 8, 10, 11 |
«Windows Error Code 5023» Введение
Как правило, специалисты по ПК называют «Windows Error Code 5023» как тип «ошибки времени выполнения». Когда дело доходит до программного обеспечения, как Windows, инженеры могут использовать различные инструменты, чтобы попытаться сорвать эти ошибки как можно скорее. К сожалению, многие ошибки могут быть пропущены, что приводит к проблемам, таким как те, с ошибкой 5023.
Пользователи Windows могут столкнуться с сообщением об ошибке после выполнения программы, например «Windows Error Code 5023». Когда появится ошибка, пользователи компьютеров смогут уведомить разработчика о наличии ошибки 5023 через отчеты об ошибках. Затем Microsoft Corporation нужно будет исправить эти ошибки в главном исходном коде и предоставить модифицированную версию для загрузки. Таким образом, когда ваш компьютер выполняет обновления, как это, это, как правило, чтобы исправить проблемы ошибки 5023 и другие ошибки внутри Windows.
«Windows Error Code 5023» чаще всего может возникать при загрузке Windows. Следующие три наиболее значимые причины ошибок выполнения ошибки 5023 включают в себя:
Ошибка 5023 Crash — Ошибка 5023 может привести к полному замораживанию программы, что не позволяет вам что-либо делать. Это возникает, когда Windows не реагирует на ввод должным образом или не знает, какой вывод требуется взамен.
Утечка памяти «Windows Error Code 5023» — последствия утечки памяти Windows связаны с неисправной операционной системой. Потенциальные триггеры могут быть «бесконечным циклом», или когда программа выполняет «цикл» или повторение снова и снова.
Ошибка 5023 Logic Error — логическая ошибка возникает, когда компьютер производит неправильный вывод, даже если вход правильный. Это происходит, когда исходный код Microsoft Corporation вызывает уязвимость при обработке информации.
Большинство ошибок Windows Error Code 5023 являются результатом отсутствия или повреждения версии файла, установленного Windows. Как правило, любую проблему, связанную с файлом Microsoft Corporation, можно решить посредством замены файла на новую копию. Запуск сканирования реестра после замены файла, из-за которого возникает проблема, позволит очистить все недействительные файлы Windows Error Code 5023, расширения файлов или другие ссылки на файлы, которые могли быть повреждены в результате заражения вредоносным ПО.
Распространенные сообщения об ошибках в Windows Error Code 5023
Частичный список ошибок Windows Error Code 5023 Windows:
- «Ошибка Windows Error Code 5023. «
- «Недопустимый файл Windows Error Code 5023. «
- «Извините за неудобства — Windows Error Code 5023 имеет проблему. «
- «Не удается найти Windows Error Code 5023»
- «Windows Error Code 5023 не может быть найден. «
- «Проблема при запуске приложения: Windows Error Code 5023. «
- «Windows Error Code 5023 не работает. «
- «Windows Error Code 5023 выйти. «
- «Неверный путь к приложению: Windows Error Code 5023.»
Проблемы Windows Windows Error Code 5023 возникают при установке, во время работы программного обеспечения, связанного с Windows Error Code 5023, во время завершения работы или запуска или менее вероятно во время обновления операционной системы. Отслеживание того, когда и где возникает ошибка Windows Error Code 5023, является важной информацией при устранении проблемы.
Корень проблем Windows Error Code 5023
Проблемы Windows Error Code 5023 могут быть отнесены к поврежденным или отсутствующим файлам, содержащим ошибки записям реестра, связанным с Windows Error Code 5023, или к вирусам / вредоносному ПО.
В частности, проблемы с Windows Error Code 5023, вызванные:
- Недопустимая или поврежденная запись Windows Error Code 5023.
- Загрязненный вирусом и поврежденный Windows Error Code 5023.
- Windows Error Code 5023 злонамеренно или ошибочно удален другим программным обеспечением (кроме Windows).
- Другое программное обеспечение, конфликтующее с Windows, Windows Error Code 5023 или общими ссылками.
- Поврежденная установка или загрузка Windows (Windows Error Code 5023).
Продукт Solvusoft
Загрузка
WinThruster 2022 — Проверьте свой компьютер на наличие ошибок.
Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11
Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление
- Remove From My Forums
-
Question
-
Hi,
I searched a lot but did not found any solution. So, now I am here.
I´m trying to install MS SQL 2014 Failover Cluster on a WindowsServer 2012 R2. In test environment everything went fine, now in the prod environment we are running into a failure.
The installation is nearly complete up to the point «BringAgentResoucreOnlineAction». It fails with following error message:
TITLE: Microsoft SQL Server 2014 Setup
——————————The following error has occurred:
The cluster resource ‘SQL Server Agent’ could not be brought online. Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5023. Description: The group or resource is not in the correct state
to perform the requested operation.
.Click ‘Retry’ to retry the failed action, or click ‘Cancel’ to cancel this action and continue setup.
Error Log gives following details:
(01) 2018-03-09 16:04:07 Slp: —————————————-
(01) 2018-03-09 16:04:07 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2018-03-09 16:04:07 Slp: Inner exceptions are being indented
(01) 2018-03-09 16:04:07 Slp:
(01) 2018-03-09 16:04:07 Slp: Exception type: Microsoft.SqlServer.Configuration.Cluster.ResourceOnlineException
(01) 2018-03-09 16:04:07 Slp: Message:
(01) 2018-03-09 16:04:07 Slp: The cluster resource ‘SQL Server Agent’ could not be brought online. Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status
code: 5023. Description: The group or resource is not in the correct state to perform the requested operation.
(01) 2018-03-09 16:04:07 Slp: .
(01) 2018-03-09 16:04:07 Slp: HResult : 0x86d8003a
(01) 2018-03-09 16:04:07 Slp: FacilityCode : 1752 (6d8)
(01) 2018-03-09 16:04:07 Slp: ErrorCode : 58 (003a)
(01) 2018-03-09 16:04:07 Slp: Data:
(01) 2018-03-09 16:04:07 Slp: resourceName = SQL Server Agent
(01) 2018-03-09 16:04:07 Slp: errorMessage = There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5023. Description: The group or resource is not in the correct state
to perform the requested operation.
.
(01) 2018-03-09 16:04:07 Slp: WatsonData = Microsoft.SqlServer.Configuration.Cluster.ResourceOnlineException@58
(01) 2018-03-09 16:04:07 Slp: DisableRetry = true
(01) 2018-03-09 16:04:07 Slp: Inner exception type: Microsoft.SqlServer.Configuration.Cluster.ClusterProviderDetailedException
(01) 2018-03-09 16:04:07 Slp: Message:
(01) 2018-03-09 16:04:07 Slp: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5023. Description: The
group or resource is not in the correct state to perform the requested operation.
(01) 2018-03-09 16:04:07 Slp: .
(01) 2018-03-09 16:04:07 Slp: HResult : 0x86d70002
(01) 2018-03-09 16:04:07 Slp: FacilityCode : 1751 (6d7)
(01) 2018-03-09 16:04:07 Slp: ErrorCode : 2 (0002)
(01) 2018-03-09 16:04:07 Slp: Data:
(01) 2018-03-09 16:04:07 Slp: ExceptionMessage = Generic failure
(01) 2018-03-09 16:04:07 Slp: StatusCode = 5023
(01) 2018-03-09 16:04:07 Slp: Description = The group or resource is not in the correct state to perform the requested operation.(01) 2018-03-09 16:04:07 Slp: WatsonData = Microsoft.SqlServer.Configuration.Cluster.ClusterProviderDetailedException@2
(01) 2018-03-09 16:04:07 Slp: Stack:
(01) 2018-03-09 16:04:07 Slp: at Microsoft.SqlServer.Configuration.Cluster.WmiClusterResource.Online(Int32 timeout)
(01) 2018-03-09 16:04:07 Slp: at Microsoft.SqlServer.Configuration.Cluster.ClusterResource.Online(Int32 timeout)
(01) 2018-03-09 16:04:07 Slp: Inner exception type: System.Management.ManagementException
(01) 2018-03-09 16:04:07 Slp: Message:
(01) 2018-03-09 16:04:07 Slp: Generic failure
(01) 2018-03-09 16:04:07 Slp: HResult : 0x80131501
(01) 2018-03-09 16:04:07 Slp: Data:
(01) 2018-03-09 16:04:07 Slp: WmiErrorCode = Failed
(01) 2018-03-09 16:04:07 Slp: WatsonData = Failed@5023
(01) 2018-03-09 16:04:07 Slp: Description = The group or resource is not in the correct state to perform the requested operation.(01) 2018-03-09 16:04:07 Slp: ErrorType = 1
(01) 2018-03-09 16:04:07 Slp: Operation = ExecMethod
(01) 2018-03-09 16:04:07 Slp: ParameterInfo = MSCluster_Resource.Name=»SQL Server Agent»
(01) 2018-03-09 16:04:07 Slp: ProviderName = WinMgmt
(01) 2018-03-09 16:04:07 Slp: StatusCode = 5023
(01) 2018-03-09 16:04:07 Slp: Stack:
(01) 2018-03-09 16:04:07 Slp: at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
(01) 2018-03-09 16:04:07 Slp: at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject
inParameters, InvokeMethodOptions options)
(01) 2018-03-09 16:04:07 Slp: at Microsoft.SqlServer.Configuration.WMIInterop.Resource.BringOnline(UInt32 TimeOut)
(01) 2018-03-09 16:04:07 Slp: at Microsoft.SqlServer.Configuration.Cluster.WmiClusterResource.Online(Int32 timeout)
(01) 2018-03-09 16:04:07 Slp: —————————————-SQL Server is up and running, the SQL Server Agent cannot be started due to the above mentioned error.
We already tried to re-create DNS entry, re-create AD object, compared the permissions between prod and test system. But we don´t see any differences.
So, now I am hoping anyone of you have an idea.
Regards,
HelenPS: I can test again on Monday CET.
Answers
-
Finally we found the problem.
The service owner had no local admin rights on the server… giving the user the correct rights, everything worked fine.
I had hoped, that the error message would inidcate that kind of error, something with missing rights.
The Windows Event Log was a good hint, because there was a message, that a specfic file could not be read due to missing access rights.
Best regards,
Helen
-
Marked as answer by
Monday, March 12, 2018 12:42 PM
-
Marked as answer by
Hello, our windows server had automatic updates set on. The last update did something and on a couple machines SQL Server will not start. When trying to start the service we receive the error:
Windows could not start SQL Server (ourSQL) 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 5023.
The event:
The SQL Server (ourSQL) service terminated with service-specific error 5023 (0x139F).
I have tried starting the service from service manager, SQL configuration tool, and command line.
Any suggestions?
Thank you.
[edit]SQL server 2008 standard, Windows 2008 standard
We have narrowed it down to Windows 2008 standard boxes. The Windows 2008R2 boxes are okay[/edit]
DennisPost
SSCrazy
Points: 2691
Perhaps this MS Connect issue will help.
Turn off automatic updates 😛
djj
SSCoach
Points: 18831
First thing the systems guy did.
mr_belpitt
SSC Enthusiast
Points: 121
Are you running the service with a useraccount, and if so, is it locked out?
djj
SSCoach
Points: 18831
We used user (with sys admin rights), the network sys admin and the system sys admin accounts. None worked.
Restored without updates finally worked. Bad thing is it was the computer controlling backups.:-)
- Remove From My Forums
-
Question
-
I opened 3 instances of sql 2012 in my laptop. I am not able to mirror with above problem.I manually created 3 end points in different instances with 5022,23,24 port numbers. same problem agai. I don’t know about telnet or pinging between instances. Can
you help me. .please help me
All replies
-
Did you grant the connect permissions on endpoints to account under which you configured mirroring?
http://uk.linkedin.com/in/ramjaddu
-
Proposed as answer by
Tuesday, December 11, 2012 5:30 AM
-
Proposed as answer by
-
you can create mirroring between two databases only. use the wizard to configure to begin with that will create end points for you.
-
please check the startup accounts used to start the SQL Server . all the 3 instances must be started with same user name
Ramesh Babu Vavilla MCTS,MSBI
-
Edited by
Ramesh Babu Vavilla
Tuesday, December 11, 2012 5:33 AM
-
Edited by
-
it is showing you can not grant permissions to your self when I tried all or public. I started services in local system mode. I deleted all end points and let system create default ones. I added trace flag 1400 in start up properties. still I am getting
same error.