Ошибка 10048 sql server

in the Console , SQL Server Configuration Manager

I get error 10048 when start sql service

and this in event history:

The SQL server service terminated with server-specific error. Only one usage of each socket (protcol/network address/port) is normall permitted. Any idea howto fix this ? Port set is the default 1433… If this is turned off, which is default of course, SQL service starts like a champ. I have done this config many times on other servers with no problem.

saber tabatabaee yazdi's user avatar

asked Oct 26, 2012 at 21:24

ebel's user avatar

1

Figured it out. Right clicking the TCP/IP option there is an option to set ‘Listeners’ to all. Which is default, I changed this ‘no’, and it started so something must be up with my interfaces…

answered Oct 29, 2012 at 14:28

ebel's user avatar

ebelebel

811 gold badge1 silver badge6 bronze badges

1

Sounds like there’s something else already running on TCP port 1433. Stop the SQL Server. Then from a command prompt run

netstat -a -b

This will show you all the TCP ports which are in use and the name of the application which is using it. Find the application which is using TCP port 1433 and change that application to use a different port number.

answered Oct 27, 2012 at 22:44

mrdenny's user avatar

mrdennymrdenny

27.2k4 gold badges41 silver badges69 bronze badges

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

SQL server error 10048 occurs while starting the SQL server.

Here at Bobcares, we have seen several causes for this error while troubleshooting SQL issues as part of our Server Management Services for SQL database users, web hosts, and online service providers.

Today we’ll take a look at the cause for this error and how to fix it.

What causes SQL server error 10048 to occur?

Now let’s see what causes this error to occur. Port 1433 is a standard port number for SQL Server.

However, in some cases, the TCP port where the SQL server is listening is already used by another service or process.

These changes lead to the 10048 error. For instance, the error appears as:

SQL server error 10048

How we resolve SQL server error 10048?

Now let’s dig into the solution part of this error. Here are some of the solutions that our Support Engineers follow to fix this error.

Find the process which is using that port and stop that process.

We run the below command in the command prompt to check the TCP ports which are in use. This also displays the name of the application which is using it.

netstat -a -b

Here, we find the application which is using TCP port 1433 and change that application to use a different port number.

Change port of SQL Server to a port that is not used by any other process.

We follow the below steps to change the port of the SQL server.

1. Initially, we open the SQL Server Configuration Manager. For that, we click on Start >> Programs >> Microsoft SQL Server 2005 >> Configuration Tools >> SQL Server Configuration Manager.
2. A Dropdown is available under the SQL Server 2005 Network Configuration and then we select the instance.
3. Here we right-click on TCP/IP and select Properties option.
4. Then we select the IP Addresses Tab to change to an open port.
5. Finally, we restart the SQL SERVER to fix this error.

[Need any further assistance in fixing SQL errors? – We’re available 24*7]

Conclusion

In short, SQL server error 10048 occurs when the TCP port where SQL server must run is used by other processes. Today, we saw 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-сервер не найден или недоступен, ошибки соединения с SQL-сервером
      • Ошибка SQL-сервера 26
      • Ошибка SQL-сервера 18456
      • Не удалось запустить SQL-server — код ошибки 3417
    • Повреждена база данных
      • Код ошибки SQL-сервера 945
      • Код ошибки SQL-сервера 5172
      • Ошибка SQL-сервера 823
      • Ошибка SQL-сервера 8946
    • Другие ошибки SQL Server
      • Код ошибки SQL-сервера 1814
      • Код ошибки SQL-сервера 1067
      • SQL-сервер запускается, но работает слишком медленно
  • Если SQL-сервер не найден, убедитесь, что ваш экземпляр SQL-сервера действительно установлен и запущен. Для этого зайдите на компьютер, где он установлен, запустите диспетчер конфигурации SQL и проверьте, есть ли там тот экземпляр, к которому вы пытаетесь подключиться и запущен ли он. Нелишним будет также получить отчет об обнаружении компонентов SQL-серверов.
  • Если вы проделали п1. и не обнаружили источник проблемы, возможно, неверно указан IP-адрес компьютера или номер порта TCP. Перепроверьте их настройки.
  • Причиной того, что невозможно подключиться к SQL-серверу, также может быть сеть, убедитесь, что компьютер с SQL-сервером доступен по сети.
  • Проверьте, может ли клиентское приложение, установленное на том же компьютере, что и сервер, подключиться к SQL-серверу. Запустите SQL Server Management Studio(SSMS), в диалоговом окне “Подключиться к серверу” выберите тип сервера Database Engine, укажите способ аутентификации “Аутентификация Windows”, введите имя компьютера и экземпляра SQL-сервера. Проверьте подключение.

Обратите внимание, что многие сообщения об ошибках могут быть не показаны или не содержат достаточной информации для устранения проблемы. Это сделано из соображений безопасности, чтобы при попытке взлома злоумышленники не могли получить информацию об SQL-сервере. Полные сведения содержатся в логе ошибок, который обычно хранится по адресу C:Program FilesMicrosoft SQL ServerMSSQL13.MSSQLSERVERMSSQLLogERRORLOG, или там, куда его поместил администратор системы.

Ошибка SQL-сервера 26

Одна из наиболее часто встречающихся ошибок подключения к SQL-серверу, обычно связана с тем, что в настройках SQL-сервера не разрешены или ограничены удаленные соединения. Чтобы это исправить, попробуйте:

  • в SSMS в настройках SQL-сервера включите аутентификацию Windows
  • для брандмауэра Windows  создайте новое правило, которое разрешает подключение для всех программ и протоколов с указанного IP-адреса
  • убедитесь, что запущена служба SQL Server Browser

Ошибка SQL-сервера 18456

Эта ошибка означает, что попытка подключиться к серверу не успешна из-за проблем с именем пользователя или паролем. По коду ошибки в журнале ошибок можно узнать более точную причину, чтобы устранить ее.

Не удалось запустить SQL-server — код ошибки 3417

Возникает в случае, если были изменены настройки Windows или перемещена папка с файлами MSSQL.

  • зайдите в C:Program FilesMicrosoft SQLServerMSSQL.1MSSqLData — БезопасностьНастройки доступа — Учетная запись сетевой службы — добавьте учетную запись сетевой службы
  • проверьте, что MDF-файл не сжимается. Если это не так, отключите “Сжимать содержимое для экономии места на диске” в свойствах файла

Иногда ни один из этих способов не помогает, это значит, что файлы БД повреждены и ее придется восстанавливать из резервной копии.

Повреждена база данных

Код ошибки SQL-сервера 945

Ошибка 945 возникает, когда БД SQL-сервера помечена как IsShutdown. Проверьте, достаточно ли места на диске, достаточно ли прав у учетной записи для операций с БД, файлы MDF и LDF не должны быть помечены “Только для чтения”.

Код ошибки SQL-сервера 5172

SQL-сервер хранит свою физическую БД в первичном файле, в котором информация разбита постранично. Первая страница содержит информацию о заголовке mdf-файла и называется страницей заголовка. Она состоит из разнообразной информации о БД, такой как размер файла, подпись и т.д. В процессе прикрепления MDF на SQL-сервере часто возникает ошибка 5172. Это в основном происходит, если MDF-файл поврежден, информация в его заголовке тоже и соответственно сложно добраться до данных. Причиной может быть вирус, аварийное выключение системы, ошибка оборудования.

Ошибка SQL-сервера 823

SQL использует API Windows для операций ввода-вывода, но кроме завершения этих операций SQL проверяет все ошибки обращений к API. Если эти обращения несовместимы с ОС, появляется ошибка 823. Сообщение об ошибке 823 означает, что существует проблема с базовым оборудованием для хранения данных или с драйвером, который находится на пути запроса ввода-вывода. Пользователи могут столкнуться с этой ошибкой, если в файловой системе есть противоречия или поврежден файл базы данных.

Ошибка SQL-сервера 8946

Основной причиной ошибки 8946 так же, как и для 5172, является повреждение заголовков страниц БД SQL вследствие сбоя питания, вирусной атаки, отказа оборудования — SQL-сервер больше не может прочесть эти страницы.

Перечисленные ошибки 945, 5172, 823, 8946 можно устранить двумя методами:

  • если у вас есть свежая резервная копия базы — восстановить базу из этой копии
  • можно попробовать использовать специализированное ПО, такое как SQL Recovery Tool, чтобы восстановить поврежденные файлы

Желательно определить, что именно привело к возникновению ошибок и принять меры, чтобы это не повторялось — заменить плохо работающее оборудование, повысить информационную безопасность.

Код ошибки SQL-сервера 1814

SQL-сервер не может создать базу данных tempdb.  Убедитесь, что на выделенном под нее диске достаточно места и что у учетной записи хватает прав для записи в указанную директорию.

Код ошибки SQL-сервера 1067

Эта ошибка может возникать по разным причинам. Наиболее часто оказывается, что повреждены или отсутствуют конфигурационные файлы, SQL-сервер обращается к поврежденным системным файлам, ошибочные данные пользователя, нет информации про лицензию. В самых тяжелых случаях придется переустанавливать SQL-сервер. Но иногда помогает восстановление поврежденных файлов или изменение настроек SQL-сервера — вы можете создать новую учетную запись в домене и использовать ее для службы MSSQL.

SQL-сервер запускается, но работает слишком медленно

Проанализируйте журнал сервера, индексы (фрагментацию), запросы, задания, возможность взаимных блокировок.  Причин может быть масса.

Мы работаем с разными версиями SQL-сервера уже много лет, знакомы со всевозможными инструкциями SQL-сервера, видели самые разные варианты его настройки и использования на проектах у своих клиентов. В целом мы можем выделить четыре основных источника неполадок:

  • Индексы — причина проблем номер один. Неправильные индексы, отсутствующие индексы, слишком много индексов и подобное. Чаще всего при проблеме с индексами пользователи или администраторы базы данных не получают сообщения об ошибке, они просто видят, что база работает очень медленно и докопаться до причин бывает очень нелегко
  • изначально плохая архитектура сервера баз данных — ошибка, которую очень сложно и дорого исправлять на этапе, когда база уже используется
  • плохой код, в котором возможны блокировки и тупиковые места
  • использование конфигурации по умолчанию,

Если у вас не получается устранить ошибки сервера SQL-server самостоятельно, если они появляются снова и снова, то скорее всего в основе лежит одна из этих причин. В таком случае — если у вас произошла ошибка с SQL сервером, ваше ПО не видит SQL-сервер, либо нужно развернуть кластер SQL-серверов — вы всегда можете обратиться за консультацией и технической поддержкой к специалистам Интегруса, отправив заявку с сайта, написав на e-mail, либо позвонив в колл-центр нашей компании.

in the Console , SQL Server Configuration Manager

I get error 10048 when start sql service

and this in event history:

The SQL server service terminated with server-specific error. Only one usage of each socket (protcol/network address/port) is normall permitted. Any idea howto fix this ? Port set is the default 1433… If this is turned off, which is default of course, SQL service starts like a champ. I have done this config many times on other servers with no problem.

saber tabatabaee yazdi's user avatar

asked Oct 26, 2012 at 21:24

ebel's user avatar

1

Figured it out. Right clicking the TCP/IP option there is an option to set ‘Listeners’ to all. Which is default, I changed this ‘no’, and it started so something must be up with my interfaces…

answered Oct 29, 2012 at 14:28

ebel's user avatar

ebelebel

811 gold badge1 silver badge6 bronze badges

1

Sounds like there’s something else already running on TCP port 1433. Stop the SQL Server. Then from a command prompt run

netstat -a -b

This will show you all the TCP ports which are in use and the name of the application which is using it. Find the application which is using TCP port 1433 and change that application to use a different port number.

answered Oct 27, 2012 at 22:44

mrdenny's user avatar

mrdennymrdenny

27.2k4 gold badges41 silver badges69 bronze badges

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

  • Remove From My Forums
  • Question

  • Hello.  I am experiencing the issue with SQL Server 2005 service not able to start when TCP/IP is enabled.  I have researched this issue extensively and what I come up with are fixes for checkpoints on clustered instances.  ISSUE: I am running
    a machine with XP Pro and not Server 2003, so I CANNOT have clustered instances.  ALL the fixes out there refer to commands such as «cluster res» which do not exist in Win XP Pro.  Here is the error log which looks exactly like everyone
    else’s (when they are dealing with clusters on Server 2003).  Can anyone shed ANY light on how to deal with this on a Win XP machine?  I’m going totally crazy here.  I can get the local server to load by disabling TCP/IP in SSCM.  VIA does
    not need to be disabled, just TCP/IP.   Of course you know this issue came up when I attempted to change the Listen Port / IP address.  I was starting and restarting and stopping and starting the SQL service in order to apply changes within
    SSCM and must have attempted to apply a change while the SQL server wasn’t running.  Thank you in advance for any help.  FYI, I attempted to run the GUI clusterrecovery.com but it failed miserably.  The «browse» function gave me an
    ActiveX error and I couldn’t locate my Cluster because I don’t think I have one.   Please, someone, any one… HELP.

    2013-01-21 10:56:42.12 Server      Microsoft SQL Server 2005 — 9.00.5000.00 (Intel X86)

        Dec 10 2010 10:56:29
        Copyright (c) 1988-2005 Microsoft Corporation
        Express Edition with Advanced Services on Windows NT 5.1 (Build 2600: Service Pack 3)

    2013-01-21 10:56:42.23 Server      (c) 2005 Microsoft Corporation.
    2013-01-21 10:56:42.25 Server      All rights reserved.
    2013-01-21 10:56:42.26 Server      Server process ID is 4280.
    2013-01-21 10:56:42.28 Server      Authentication mode is MIXED.
    2013-01-21 10:56:42.29 Server      Logging SQL Server messages in file ‘C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG’.
    2013-01-21 10:56:42.32 Server      This instance of SQL Server last reported using a process ID of 5292 at 1/21/2013 10:53:24 AM (local) 1/21/2013 5:53:24 PM (UTC). This is an informational message only; no user action is required.
    2013-01-21 10:56:42.37 Server      Registry startup parameters:
    2013-01-21 10:56:42.39 Server           -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
    2013-01-21 10:56:42.42 Server           -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
    2013-01-21 10:56:42.45 Server           -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
    2013-01-21 10:56:42.48 Server      Command Line Startup Parameters:
    2013-01-21 10:56:42.50 Server           -s advisorsassist
    2013-01-21 10:56:42.53 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2013-01-21 10:56:42.56 Server      Detected 2 CPUs. This is an informational message; no user action is required.
    2013-01-21 10:56:43.23 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-01-21 10:56:43.29 Server      Database mirroring has been enabled on this instance of SQL Server.
    2013-01-21 10:56:43.32 spid5s      Starting up database ‘master’.
    2013-01-21 10:56:43.46 spid5s      1 transactions rolled forward in database ‘master’ (1). This is an informational message only. No user action is required.
    2013-01-21 10:56:43.51 spid5s      0 transactions rolled back in database ‘master’ (1). This is an informational message only. No user action is required.
    2013-01-21 10:56:43.54 spid5s      Recovery is writing a checkpoint in database ‘master’ (1). This is an informational message only. No user action is required.
    2013-01-21 10:56:43.67 spid5s      SQL Trace ID 1 was started by login «sa».
    2013-01-21 10:56:43.68 spid5s      Starting up database ‘mssqlsystemresource’.
    2013-01-21 10:56:43.74 spid5s      The resource database build version is 9.00.5000. This is an informational message only. No user action is required.
    2013-01-21 10:56:43.96 spid8s      Starting up database ‘model’.
    2013-01-21 10:56:43.96 Server      Virtual Interface Architecture protocol is not supported for this particular edition of SQL Server.
    2013-01-21 10:56:43.98 spid5s      Server name is ‘LOWELL\ADVISORSASSIST’. This is an informational message only. No user action is required.
    2013-01-21 10:56:44.12 spid8s      Clearing tempdb database.
    2013-01-21 10:56:44.28 spid8s      Starting up database ‘tempdb’.
    2013-01-21 10:56:44.43 spid11s     The Service Broker protocol transport is disabled or not configured.
    2013-01-21 10:56:44.46 spid11s     The Database Mirroring protocol transport is disabled or not configured.
    2013-01-21 10:56:44.54 spid11s     Service Broker manager has started.
    2013-01-21 10:56:44.57 Server      A self-generated certificate was successfully loaded for encryption.
    2013-01-21 10:56:44.62 Server      Server is listening on [ ‘any’ <ipv4> 3136].
    2013-01-21 10:56:44.64 Server      Error: 26023, Severity: 16, State: 1.
    2013-01-21 10:56:44.64 Server      Server TCP provider failed to listen on [ ‘any’ <ipv4> 3136]. Tcp port is already in use.
    2013-01-21 10:56:44.68 Server      Error: 17182, Severity: 16, State: 1.
    2013-01-21 10:56:44.68 Server      TDSSNIClient initialization failed with error 0x2740, status code 0xa.
    2013-01-21 10:56:44.73 Server      Error: 17182, Severity: 16, State: 1.
    2013-01-21 10:56:44.73 Server      TDSSNIClient initialization failed with error 0x2740, status code 0x1.
    2013-01-21 10:56:44.78 Server      Error: 17826, Severity: 18, State: 3.
    2013-01-21 10:56:44.78 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.
    2013-01-21 10:56:44.84 Server      Error: 17120, Severity: 16, State: 1.
    2013-01-21 10:56:44.84 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.

Answers

  • «Server TCP provider failed to listen on [ ‘any’ <ipv4> 3136]. Tcp port is already in use.»

    Looks like the TCP port 3136 which SQL is listening is on is already being used by some other process. You need to find the process which is using this port or change SQL Server TCP port to some thing else which is available to use

    • Marked as answer by

      Wednesday, January 30, 2013 9:46 AM

Понравилась статья? Поделить с друзьями:
  • Ошибка 1002 рокстар геймс
  • Ошибка 10022 easyanticheat fortnite
  • Ошибка 1004 epson easy photo print как исправить
  • Ошибка 10048 beammp
  • Ошибка 1004 приора