Поделиться через


MSSQLSERVER_17120

Применимо к:SQL Server

Сведения

Атрибут значение
Название продукта SQL Server
Идентификатор события 17120
Источник событий MSSQLSERVER
Компонент SQLEngine
Символическое имя INIT_SPAWN
Текст сообщения Серверу SQL Server не удалось создать поток %s. Проверьте журнал ошибок SQL Server и журнал ошибок операционной системы, чтобы получить сведения о возможных проблемах.

Пояснение

Ошибка 17120 возникает при сбое создания потока, выполняющего системные или фоновые задачи. Примеры фоновых задач включают контрольную точку, отложенный модуль записи, задачу восстановления базы данных, средство чтения журналов, запись журналов, задачу автоматического сжатия, диспетчер коммуникации, рабочую задачу Параллельного повтора и многое другое. В %s ошибке содержится имя задачи. Ниже приведены примеры того, как эта ошибка может отображаться в журналах ошибок:

Error: 17120, Severity: 16, State: 1.
SQL Server could not spawn checkpoint thread. Check the SQL Server error log and the operating system error log for information about possible related problems.
Error: 17120, Severity: 16, State: 1.
SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the operating system error log for information about possible related problems.
Error: 17120, Severity: 16, State: 1.
SQL Server could not spawn log writer thread. Check the SQL Server error log and the operating system error log for information about possible related problems.

Причина

SQL Server не может создать поток для фоновой задачи, чтобы начать выполнение. Наиболее вероятные причины:

  • Низкая или недоступная память в системе или в SQL Server
  • SQL Server находится в середине завершения работы
  • Служба SQL Server не может запуститься из-за неправильной настройки или проблемы с ресурсом

Действие пользователя

Диагностика других ошибок и в системе и повторная попытка операции.

  1. Проблемы с памятью: первый шаг для начала исследования — проверить наличие низкой памяти или нехватки памяти. Проверьте журнал событий системы и журналы ошибок SQL. Сведения об устранении неполадок см. в статье "Устранение неполадок с нехваткой памяти" или "Проблемы с низкой памятью" в SQL Server

  2. Устранение неправильно настроенных протоколов — общая проблема, которая была обнаружена, включает в себя неправильно настроенные протоколы SQL Server. Дополнительные сведения см. в статье SQL Server не удается запустить, если все протоколы отключены. В журнале ошибок может наблюдаться следующая последовательность ошибок:

    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0xd, status code 0x4. Reason: **All protocols are disabled. The data is invalid**.
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0xd, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The data is    invalid.
    Error: 17826, Severity: 18, State: 3.
    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.
    Error: 17120, Severity: 16, State: 1.
    SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the operating system error log for information about possible related    problems.
    
  3. Устранение проблем с конфигурацией TLS и обновлением другой распространенной проблемы, включаемой в конфигурацию TLS на сервере, не позволяя SQL Server создавать фоновую задачу обмена данными.

    Error: 26011, Severity: 16, State: 1.
    The server was unable to initialize encryption because of a problem with a security library. The security library may be missing. Verify that security.dll exists on  the    system.
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x139f, status code 0x80. Reason: Unable to initialize SSL support. The group or resource is not in the correct state  to    perform the requested operation.
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x139f, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The group  or    resource is not in the correct state to perform the requested operation.
    Error: 17826, Severity: 18, State: 3.
    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.
    Error: 17120, Severity: 16, State: 1.
    SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    

    Убедитесь, что tls настроен правильно для SQL Server. Сведения о необходимых обновлениях см. в статье о поддержке TLS 1.2 для Microsoft SQL Server

  4. Устранение проблем с сертификатами шифрования является другой распространенной проблемой является неправильное настройка TLS/SSL-сертификатов, что приводит к тому, что SQL Server не сможет запустить и запустить поток.

    Error: 26014, Severity: 16, State: 1.
    Unable to load user-specified certificate [Cert Hash(sha1) "%hs"]. The server will not accept a connection. You should verify that the certificate is correctly installed.    See "Configuring Certificate for Use by SSL" in Books Online.
    
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
    
    Error: 17826, Severity: 18, State: 3.
    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.
    
    Error: 17120, Severity: 16, State: 1.
    SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    

    Дополнительные сведения см. в статье sql Server service не удается запустить после настройки экземпляра для использования сертификата Secure Sockets Layer