Socket error 10013 access denied rs ядро

How to Fix Socket Error 10013 Socket Error 10013 — What is it? Socket error 10013 is an error code that often pops on the screen when you try to access the server. This error code restricts your permission to access. It shows that your permission request was denied. The error message is displayed […]

Содержание

  1. How to Fix Socket Error 10013
  2. Socket Error 10013 — What is it?
  3. Solution
  4. Error Causes
  5. Further Information and Manual Repair
  6. Method 1 — Turn off Firewall
  7. Method 2 — Check the Permissions section of the Firewall Program
  8. Method 3 — Update Drivers
  9. Method 4 — Scan for Viruses and Malware
  10. Advanced System Repair Pro
  11. Share this article:
  12. You might also like
  13. Option 1 – Take ownership of the NGC folder and delete its contents
  14. Option 2 – Try to remove and change the PIN or password
  15. Option 3 – Try to use the Group Policy Editor
  16. Option 4 – Try to reset the ACLs in the Ngc folder
  17. Option 5 – Run the System File Checker scan and the DISM tool
  18. System File Checker:
  19. DISM tool:
  20. Advantages of manual method
  21. Disadvantages of using manual method
  22. Advantages of automatic solutions
  23. Disadvantages of one-click solutions
  24. Should you use an automated solution at all?
  25. Solution
  26. Error Causes
  27. Further Information and Manual Repair
  28. Option 1 – Try to update or rollback your device drivers
  29. Option 2 – Try to recreate the CMUDA.sys file
  30. Option 3 – Run the Blue Screen Troubleshooter
  31. Option 4 – Try running the DISM tool
  32. Option 5 – Run System Restore
  33. Option 1 – Try to disable your antivirus program
  34. Option 2 – Try to make some changes in the Registry
  35. Option 3 – Try to reset the Windows Update components
  36. Option 4 – Run the Windows Update Troubleshooter
  37. Option 1 – Manage the Local Users via Windows PowerShell
  38. Option 2 – Manage the Local User Groups using Windows PowerShell
  39. Option 1 – Try to repair BCD
  40. Option 2 – Try assigning the drive letter to the EFI partition
  41. Option 3 – Try setting the System Partition to Active
  42. Option 1 – Change Disk Signature via Diskpart

How to Fix Socket Error 10013

Socket Error 10013 — What is it?

Socket error 10013 is an error code that often pops on the screen when you try to access the server. This error code restricts your permission to access. It shows that your permission request was denied.

The error message is displayed in the following format:

“Socket.error: [Errno 10013] an attempt was made to access a socket in a way forbidden by its access permissions”

Solution

Error Causes

Narrowing down a particular reason for the cause of socket error 10013 is difficult, typically because this error code can be generated due to several reasons. Here are some of the common reasons for its occurrence on your PC:

  • High-security set up- Firewall or an antivirus program
  • Too many functions tied to the same driver confuses the socket
  • Outdated drivers
  • Malware

The good news is that the socket error 10013 is not fatal. However, it is advisable to fix and resolve the issue to avoid inconvenience.

Further Information and Manual Repair

Here are some of the best, quickest and easiest methods to work around the problem and resolve socket error 10013 without any hassle or delay.

Method 1 — Turn off Firewall

Believe it or not, a high level of internet security measures like Firewalls and anti-virus programs are a common cause of socket error 10013.

Firewalls are made to protect a computer from harmful connections but sometimes it may also restrict server connections, considering them as a threat to your system security.

Due to this, permission access is adamantly denied. To resolve this issue on your PC, the best way to go about is to turn off your Firewall or any other anti-virus programs installed on your system.

Once you turn off these programs, try accessing the server again. The majority of the time the issue is resolved by carrying this step. Nonetheless, if the error still persists, try the methods given below.

Method 2 — Check the Permissions section of the Firewall Program

Another way to resolve this is to check the permission section of the Firewall program and check for the server. If the server is not listed, contact the Internet Service Provider (ISP) and ask for help in adding the server to the list.

Method 3 — Update Drivers

The outdated driver may sometimes be the reason for the socket error 10013. The socket may no longer use the drivers installed on your PC which is why permission to access the server is not granted.

When this is the reason, try updating the drivers to resolve. For new drivers, visit the software manufacturers’ website, download, and install.

Method 4 — Scan for Viruses and Malware

Another alternative is to scan for viruses and malware. Sometimes the cause for the error is a viral infection. Therefore, remove them to resolve.

The best way is to download Restoro. This is a user-friendly and next-generation PC Fixer embedded with 6 scanners including a powerful anti-virus. It scans your entire PC and removes all types of viruses including malware, adware, spyware, and Trojans in seconds.

Click here to download Restoro.

Advanced System Repair Pro

You might also like

Option 1 – Take ownership of the NGC folder and delete its contents

  • Boot your computer first into Safe Mode.
  • Next, you need to take ownership of the Ngc folder first and you can do that using Command Prompt.
  • Type “command prompt” in the Windows Search bar and then right-click on the relevant search result and select “Run as administrator”.
  • After that, if a User Account Control or UAC prompt appears, just click on Yes to proceed.
  • Next, type and enter this command: TAKEOWN /F C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc
  • Note that the

is the location of the folder or file in File Explorer.

  • Now type and enter this second command: ICACLS C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc /grant administrators:F
  • Finally, once the command has been executed, restart your computer.
  • Once your computer has restarted, delete all the contents in the Ngc folder and check if the error is now fixed.
  • Option 2 – Try to remove and change the PIN or password

    Option 3 – Try to use the Group Policy Editor

    • Tap the Win + R keys to open the Run utility and type “gpedit.msc” in the field and tap Enter to open the Group Policy Editor.
    • Next, navigate to this policy setting: Computer Configuration > Administrative Templates > System > Logon
    • After that, double click on the “Turn on convenience PIN Sign-in” option located on the right-side panel.
    • Then set its radio button to Enabled. You will see the following description when you do so:

    “This policy setting allows you to control whether a domain user can sign in using a convenience PIN. If you enable this policy setting, a domain user can set up and sign in with a convenience PIN. If you disable or don’t configure this policy setting, a domain user can’t set up and use a convenience PIN. Note: The user’s domain password will be cached in the system vault when using this feature. To configure Windows Hello for Business, use the Administrative Template policies under Windows Hello for Business.”

    • After setting the radio button to Enabled, it will turn on the Logins in your computer using the PIN.
    • Close the Group Policy Editor and restart your computer for the changes to take effect.

    Option 4 – Try to reset the ACLs in the Ngc folder

    • Type “command prompt” in the Windows Search bar and then right-click on the relevant search result and select “Run as administrator”.
    • After opening Command Prompt with admin privileges, execute this command: C:/Windows/Service/Profiles/Local/Service/AppData/Local/MicrosoftNgc /T /Q /C /RESET
    • The command you entered will start checking for errors and fix them automatically.

    Option 5 – Run the System File Checker scan and the DISM tool

    System File Checker:

    • Tap Win + R to launch Run.
    • Type in cmd in the field and tap Enter.
    • After opening Command Prompt, type in sfc /scannow

    The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:

    1. Windows Resource Protection did not find any integrity violations.
    2. Windows Resource Protection found corrupt files and successfully repaired them.
    3. Windows Resource Protection found corrupt files but was unable to fix some of them.
    • Now restart your computer.

    DISM tool:

    • Open Command Prompt.
    • Then type in the following commands and make sure to hit Enter right after you type each one of them:
      • Dism /Online /Cleanup-Image /CheckHealth
      • Dism /Online /Cleanup-Image /ScanHealth
      • Dism /Online /Cleanup-image /Restorehealth
    • After that, wait until the process is finished and do not close the window as the process will probably take a couple of minutes.
    • Once it’s done, restart your computer.

    Encountering errors is never a pleasant experience and fixing errors can sometimes take a large amount of time. Also depending on your expertise and knowledge about computers and the operating systems themselves could be determining factor would you try to wrestle with error.

    We will explore and analyze the advantages of both methods so you can choose and know when to apply one and when to reach for the other.

    Advantages of manual method

    Full control is the main advantage of manually solving errors, when you go deep dive into manually fixing problematic issues you are one that has control. Complete freedom is also another, sometimes fixing things can be done in several different ways and when you are the man behind the wheel, you are the one that can choose how to approach and what solution to apply in order to solve the issue.

    Disadvantages of using manual method

    The main disadvantage that some users might encounter is that they will need to know ins and outs of computer and operating systems’ workings. Of course, the more complicated errors, the more knowledge it will require in order to apply the proper fix. There is also a risk to break something else if the person that is doing the fixing is not fully competent so this is also something to think about.

    Another thing that goes against manual fixing is the time it will require in order to actually fix it, some more complex stuff will probably depend on searching for some external resources like searching for compatible drivers for example, or navigating complex registry keys inside Windows.

    Advantages of automatic solutions

    If you are a user that has no knowledge about how the operating system works, if you do not know what is a registry or how to properly navigate through the Windows folder then the automated solution is for you. The main advantage of automated systems is that you can easily fix errors without any kind of technical knowledge and usually with just one click of a button.

    Saving time is also one of the advantages of fully automated solutions because they will work much faster than manually locating the problem and then fixing it. Also, most of these systems will have in place active monitoring that will check always if your system is in top form and alert you when something is not right.

    Disadvantages of one-click solutions

    Automated solutions are great, they can solve various issues and errors without any knowledge from the user, but they are not perfect. Like security suites sometimes an automated system can misinterpret something as an error when in fact it is not and fixing it could mean some apps not working anymore, luckily you can choose would you like to apply the suggested solution. So if you are using one do not just click fix without looking at what it is trying to fix and maintain.

    Another problem with this is the price it is carrying, manually solving your computer error will cost you your time and knowledge but good automated software will come with a price tag. Some people might not be too happy to pay for this kind of application but at the end of the day, it will still be cheaper than a professional technician. The last thing that you should be aware of is that in order for the app to do its work properly it will need to be active all the time, now for modern computers, this is not the issue but for some older ones with a small amount of memory might lead to some slowing them down. This is a price to be paid in order to have your system always errors free.

    Should you use an automated solution at all?

    This depends on your knowledge and time available, professional IT technicians will not need this type of solution nor will power users but for most common people this will offer computers free of errors for an affordable price.

    Stop 0x00000050 is an error code that is popularly known as the Blue Screen of Death (BSoD) error. This error occurs when Windows crashes on your system. Stop 0x00000050 error is displayed in a blue screen which is why it is called the BSoD error.

    The error message appears in the following form:

    Stop 0X00000050 (parameter1, 0, parameter3, parameter4)

    However, the parameters within the Stop 0x0000005 error message sometimes vary depending on your PC configuration.

    Solution

    Error Causes

    The most common causes of the Stop 0x0000005 error are:

    • Hardware malfunctioning
    • Overheating of the components
    • Installation of a faulty device driver
    • Incompatible DLL files
    • Corrupt Registry
    • Spyware and Virus Infection

    Whatever the cause may be, the Stop 0x00000050 error message is alarming and should be fixed at the earliest as it indicates major system stability problems that can often lead to data loss and system corruption.

    Further Information and Manual Repair

    To fix and repair the Stop 0x0000005 error you don’t always have to hire an IT professional. In fact, fixing this error is quite easy and you can do it yourself regardless of whether you have a good know-how of computers or not.

    So, let’s get started! Here are some the easy DIY solutions to fix the Stop 0x0000005 error:

    Sometimes this error may occur due to a temporary issue like overheating of the computer components. When this happens all you need to do is switch off the computer and allow the components to cool down. Try starting up your computer after a couple of hours. If the blue screen of death does not occur again, then this means there is nothing to worry about and the problem is resolved.

    However, if the error appears again on your screen, then you need to try something else to solve and fix this error on your PC. If the cause of the error is a faulty device driver, then it is advisable to disable and remove it. Try updating the latest version of the faulty device driver. Using updated software helps ensure your PC keeps running smoothly.

    If the cause of the Stop 0x0000005 error code is your system’s exposure to viruses and spyware, then you must immediately download a powerful antivirus program . After you download it, scan for viruses on your system. Once the scanning is complete, you will see a scan report showing viruses on your PC. Delete all of them and click on repair.

    Furthermore, you can also add more RAM to prevent and fix the Stop 0x0000005 error message on your computer. This solution is suitable when you try to run a program on your PC and you get this error message.

    Option 1 – Try to update or rollback your device drivers

    Option 2 – Try to recreate the CMUDA.sys file

    Option 3 – Run the Blue Screen Troubleshooter

    Option 4 – Try running the DISM tool

    Option 5 – Run System Restore

    The new upgraded Surface Laptop Go 2 is the new iteration of the affordable original Surface Laptop Go aimed to offer good performance at a lower price of under $1000. The new version is not anything vastly different from the original but it comes with much-needed upgrades.

    The biggest and main upgrade is the CPU, the Surface Laptop Go 2 is packing now Intel Core i5 1135G7, an Intels 11th generation CPU that should increase battery life. The laptop is also coming with an improved WEB camera and the cheapest one comes now with 128GB of storage instead of 64GB. Price went up from $550 to $599 which is not a big increase considering what was upgraded.

    The bad news of new models is that sadly they are still packing only 4GB of RAM, that’s really not enough for most applications released in 2022 and the screen is having a relatively low resolution of 1536 X 1024.

    Microsoft is still offering all the color variations as in its first offering but added as well a new Sage color that is muted green in tint.

    When we look at hardware it seems a little weak but for this price, there is not much competition in the field, and after all this line of models is aimed to provide good performance for an affordable price. If you really need something better you will go with a standard Surface or MAC book instead.

    The new laptops are available to pre-order at Best Buy and Microsoft’s online store, and they’ll start shipping on June 7.

    Option 1 – Try to disable your antivirus program

    Option 2 – Try to make some changes in the Registry

    • Tap the Wins key once and type in “command prompt” in the field.
    • From the search results, right-click on Command Prompt and select the “Run as administrator” option to run it with admin privileges.
    • Next, type the following command and tap Enter:

    reg add «HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update» /v AUOptions /t REG_DWORD /d 0 /f

    • After that, type the following command and hit Enter again:

    sc config wuauserv start= auto

    Option 3 – Try to reset the Windows Update components

    Option 4 – Run the Windows Update Troubleshooter

    Option 1 – Manage the Local Users via Windows PowerShell

    • You need to first open Windows PowerShell as an admin. To do that, just tap the Win + X keys and select the Windows PowerShell (Admin) option.
    • After opening PowerShell, you need to execute the “Get-LocalUser” cmdlet so that you can find all the details about all the local user accounts in your computer which would include the Account Name, Enabled status, as well as description.

    Note:On the other hand, you can also get the customized data about several objects that are related to your account. For instance, if you want to check when was the last time the Local account’s password was set, then you need to execute the “Get-LocalUser -Name root | Select-Object PasswordLastSet” cmdlet. Thus, the structure for this cmdlet is “Get-LocalUser -Name root | Select-Object *”. Here are the objects you can use to get different sorts of data:

    • AccountExpires
    • Description
    • Enabled : True
    • FullName
    • PasswordChangeableDate
    • PasswordExpires
    • UserMayChangePassword
    • PasswordRequired
    • PasswordLastSet
    • LastLogon
    • Name
    • SID
    • PrincipalSource
    • ObjectClass

    Option 2 – Manage the Local User Groups using Windows PowerShell

    • Like what you did earlier, open Windows PowerShell as admin and then execute the “Get-LocalGroup” cmdlet so you can get all the information about all the groups of all the local user accounts.
    • Now if you want to create a new Local User Group, just execute the “New-LocalGroup -Name -Description ‘ ‘” cmdlet.
    • And if you want to add Local User Accounts to a specific group, just execute the “Add-LocalGroupMember -Group ‘ ‘) -Verbose” cmdlet. You could also use the “Get-Localuser -Name john | Add-LocalGroupMember -Group ‘ ‘” cmdlet for the same purpose.
    • If you want to display all the User Accounts of a specific group, just use the “Get-LocalGroupMember –Group ‘ ’” cmdlet.
    • Now if you want to remove a local user account from a group, all you have to do is use the “Remove-LocalGroupMember -Group ‘ ‘ –Member ” cmdlet.

    Option 1 – Try to repair BCD

    • Afterward, enter the next command below to rename the BCD file:
    • Next, type the following command and make sure to replace “b:” with the letter of your bootable drive attached to your computer.

    bcdboot c:Windows /l en-us /s b: /f ALL

    • Now, wait until the process is completed and restart your computer to successfully apply the changes made.

    Option 2 – Try assigning the drive letter to the EFI partition

    • Tap the Win + X keys or right-click on the Start button and click on Command Prompt (Admin) to open Command Prompt with admin privileges.
    • Then type the following command to start the Diskpart utility:
    • After that, if you receive a UAC prompt, just click on Yes to proceed.
    • Next, type the following command to list all the volumes created on your PC including both types of partitions that are visible to a normal user in the File Explorer as well as the ones created by Windows 10 by default which helps it in storing the boot files and other important system files:
    • Now type the following command to select the desired volume:

    select volume number

    • Then type the following command to assign a letter to the selected volume:

    Option 3 – Try setting the System Partition to Active

    • Now type the following command:
    • From there, select your primary disk by typing the following command:
    • After that, list all the partitions on the selected disk by entering the following command:
    • The command you just entered will list all the partitions created on your PC including both types of partitions that are visible to a normal user in the File Explorer as well as the ones created by Windows 10 by default which helps it in storing the boot files and other important system files.
    • Now type the following command to select the partition that is usually around 100 MB in size:

    select partition number

    • Finally, type the following command to mark the partition active:
    • Then type the “exit” command to exit the disk part utility.

    Option 1 – Change Disk Signature via Diskpart

    • Type “command prompt” in the Windows Search bar and then right-click on the related search result and select the “Run as administrator” option.
    • After that, type the “diskpart” command and hit Enter to open Diskpart.
    • Next, type the “list disk” command to display all the disks available in the system.
    • Next, take note of the problematic disk number with the status Offline from the list and then type the “Select disk x” command where x is the offline disk to select the offline disk. For instance, if you type “select disk 1”, it will display the “Disk 1 is now the selected disk” message.
    • Now type the “Uniqueid disk” command to display the disk signature and to change the disk’s signature and set the disk online, type the “unique disk signature)” where (New signature) is the new ID in hexadecimal. For instance, you can set the new id as “unique disk If you have given the wrong format ID, the command prompt will display the following error:

    “The specified identifier is not in the correct format. Type the identifier in the correct format: in hexadecimal form for an MBR disk or as a GUID for a GPT disk.”

    Источник

    FORUM_NAME: АРМ Орион Про версии до 1.20
    Описание: АРМ «Орион Про» — пакет программного обеспечения для аппаратно-программного комплекса ИСО «Орион», на котором реализуются системы охранной сигнализации, контроля и управления доступом, охранного видеонаблюдения, автоматика противопожарных систем, сопряженные с инженерными системами объектов.
    Справочная информация, руководства для АРМ Орион Про версии до 1.20
    Модератор: Модераторы

    mr.smart
    Автор темы
    mr.smart
    Автор темы
    Репутация: 0
    Сообщения: 4
    Зарегистрирован: 30.08.2016
    С нами: 6 лет 5 месяцев
    Профессия: Инженер

    Доброго времени суток!

    Установил Орион Про версии 1.12 вместе с патчем 1.12.2. Проблема в том, что после запуска оболочки и самого сервера не запускается ядро Ориона. Если запустить его вручную из папки C:BOLID, то его процесс висит в диспетчере задач несколько секунд и пропадает.

    Система Windows 7 x64. Переустанавливал и перезагружал Орион несколько раз, запускать все под админом пробовал, ветку …/Wiw6432Node/BOLID расшаривал всем пользователям, ничего не помогло.

    Есть идеи?


    pet-and M
    Активный участник
    Активный участник
    pet-and M
    Активный участник
    Активный участник
    Возраст: 44
    Репутация: 138
    Сообщения: 3275
    Зарегистрирован: 11.11.2012
    С нами: 10 лет 2 месяца
    Профессия: инженер
    Откуда: Санкт-Петербург

    Непрочитанное сообщение #2 pet-and » 30.08.2016, 15:44

    Запуск Ядра и Монитора Системы на данном рабочем месте в АБД разрешён?


    Shamaterr
    Shamaterr
    Возраст: 42
    Репутация: 0
    Сообщения: 112
    Зарегистрирован: 19.10.2014
    С нами: 8 лет 3 месяца
    Профессия: Инженер

    Непрочитанное сообщение #3 Shamaterr » 30.08.2016, 15:50

    Был такой глюк с одной из версий ядра. У Вас какая версия? Попробуйте отличную Вашей скинуть в папку с АРМом, предварительно сохранив исходник.


    mr.smart
    Автор темы
    mr.smart
    Автор темы
    Репутация: 0
    Сообщения: 4
    Зарегистрирован: 30.08.2016
    С нами: 6 лет 5 месяцев
    Профессия: Инженер

    Непрочитанное сообщение #4 mr.smart » 30.08.2016, 15:56

    pet-and писал(а):Запуск Ядра и Монитора Системы на данном рабочем месте в АБД разрешён?

    Да, разрешен.

    Shamaterr писал(а):Был такой глюк с одной из версий ядра. У Вас какая версия? Попробуйте отличную Вашей скинуть в папку с АРМом, предварительно сохранив исходник.

    Была версия 4654, тут на форуме нашел версию 4804, закинул в папку, теперь ядро запускается с ошибкой «Socket Error #10013: Access Denied», но все же запускается. Хотя в мониторе ругается на закрытый порт 8080 и утверждает, что конфигурирование через ядро опроса не будет работать.




    • 1
      776

      DruG
      Перейти к последнему сообщению
      30.01.2021, 12:57
    • 10
      2476

      Vlad_ru
      Перейти к последнему сообщению
      27.02.2020, 16:39
    • 5
      1366

      DruG
      Перейти к последнему сообщению
      30.01.2020, 19:08
    • 0
      361

      NSKlon
      Перейти к последнему сообщению
      20.10.2021, 18:03
    • 0
      1635

      aleks-filaret
      Перейти к последнему сообщению
      16.02.2019, 06:59
    • 4
      849

      Vlad_ru
      Перейти к последнему сообщению
      28.12.2020, 17:34
    • 4
      3331

      DruG
      Перейти к последнему сообщению
      12.04.2018, 16:18
    • 1
      1926

      pet-and
      Перейти к последнему сообщению
      08.07.2018, 17:05
    • 1
      496

      kripton80
      Перейти к последнему сообщению
      30.05.2022, 04:41
    • 3
      296

      DoLouen
      Перейти к последнему сообщению
      21.10.2022, 10:12

    Вернуться в «АРМ Орион Про версии до 1.20»

    Кто сейчас на форуме

    Сейчас этот раздел просматривают: 2 гостя

    I get error 10013. msdn says its a permission denied error.

    An attempt was made to access a socket in a way forbidden by its access permissions
    

    My app ran fine. I then made a code change and restarted it. I got that error. I suspected i have to reuse ports so i wrote this in and still had no luck

    server.Server.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, 1);
    

    How do i solve this error?

    -edit-

    I did notice if i close FireFox (with its many tabs) and run the program it works…
    Maybe it has something to do with a connection? (i had ajax communicate with it). I wonder what did it.

    asked Jul 23, 2010 at 1:01

    1

    This error code is caused by attempting to bind to a port that is exclusively in use by another process. The most common cause is accidentally starting the same service twice.

    If in doubt, a quick check of netstat -a TCPView should reveal which process has the port open.

    answered Jul 23, 2010 at 1:37

    Stephen Cleary's user avatar

    Stephen ClearyStephen Cleary

    426k73 gold badges659 silver badges791 bronze badges

    3

    In my case, the solution to Socket Error #10013 Access Denied on a Delphi app when running the executable was to «Run As Administrator». For those of you who normally run outside of local admin, this may be a solution.

    answered Dec 27, 2013 at 10:57

    Malcolm Shore's user avatar

    Another possibility that can yields this error (WCF used) is scenario where you have two endpoints defined on same server using different protocols (http & net.tcp for example) but same port, something like this:

    <service name="yourService">
    <endpoint address="http://localhost:2112/ys" binding="basicHttpBinding" name="basicHttpEndPoint"
      contract="zza.Services.IzzaService" />
    <endpoint address="net.tcp://localhost:**2112**/" binding="netTcpBinding"
      name="netTcpEndPoint" contract="IyourService" />
    <host>
      <baseAddresses>
        <add baseAddress="http://localhost:**2112**" />
      </baseAddresses>
    </host>
    

    answered Sep 15, 2016 at 9:48

    krul's user avatar

    krulkrul

    2,2114 gold badges30 silver badges49 bronze badges

    Содержание

    1. Ошибка подключения к тестовому сетевому сокету 10013
    2. Решения
    3. Причины ошибок
    4. Дополнительная информация и ручной ремонт
    5. Метод 1 — отключите брандмауэр
    6. Метод 2 — проверьте раздел разрешений программы брандмауэра
    7. Метод 3 — Обновите драйверы
    8. Метод 4 — сканирование на вирусы и вредоносное ПО
    9. Симптомы
    10. Причина
    11. Обходной путь
    12. Статус
    13. Дополнительная информация
    14. 1c postgresql ошибка подключения к тестовому сетевому сокету 10013
    15. Обычный PostgreSQL не
    16. Постгрес 9.2.4, который я
    17. http://infostart.ru/public/60
    18. Если говорить с точки зрения
    19. Игорь, это решение не
    20. Как исправить время выполнения Ошибка 10013 Ошибка Pidgin 10013

    Ошибка подключения к тестовому сетевому сокету 10013

    Добавлено через 8 минут
    Проблема решена.

    __________________
    Помощь в написании контрольных, курсовых и дипломных работ здесь

    PgAdmin настройка
    Добрый день. Такой вопрос возник: поставил PostgreSQL 9.3 и pgAdmin III. Из под консоли работаю с.

    postgreSQL и pgAdmin
    Вопрос а какой смысл устанавливать отдельно pgAdmin 4? Если при установке postgreSQL pgAdmin 4 тоже.

    Столкнулся с той же проблемой, не могу решить, подскажите пожалуйста, как вы с ней справились? Затрагивали такие файлы как pg_hba.conf или postgresql.conf? Нет, конкретно в postgresql очень плохо ориентируюсь, поэтому файлы не трогал

    Зашёл, там служба postgresql-x64-13-PostgreSQL Server 13 была запущена, я остановил, запустил, потом перезапустил, но все равно одно и то же
    The pgAdmin 4 server could not be contacted

    Добавлено через 1 час 15 минут
    FerrariF70, чем ещё это может быть вызвано?

    Посмотрите еще лог файлы, какие там ошибки.
    Надо зайти в пользователя c:usersyour_user и далее AppDataLocalpgadminpgadmin4.

    Пишет ошибка системы (class oserror), 10013, сделана ошибка доступа к совету методом, запрещённым правами доступа

    Добавлено через 20 секунд
    Запускаю с админ-правами
    Видимо где-то какое-то разрешение не поставлено

    Добавлено через 39 минут
    Итак решение проблемы было следующим, для тех, кто столкнется:
    Заходим в Users/ваш юзер/appdata/roaming/pgadmin, открываем файл логов pgadmin4.txt, смотрим ошибку
    У меня была 10013
    Причина ошибки либо недостаток прав, либо занятость порта другими процессами
    Почистил и поотключал антивирусы, не помогло
    Командой netstat -ano узнал id процесса на порту 5432 (порт postgresql), узнал его id (столбец PID)
    Дальше ctrl+shift+esc открываем диспетчер задач, вкладка подробности и смотрим, каким процессом занят порт с нужным id (у меня id был 12856), кликаем на процесс и жмём снять задачу
    Запускаем заново pgadmin4, у меня все заработало

    Распределенная БД в pgAdmin
    Подскажите пожалуйста. Как создать распределенную базу данных в pgAdmin III? Если можно, на примере.

    Запросы в Pgadmin
    Объясните, пожалуйста, в pgadmin надо каждый новый запрос в отдельном окне писать?

    Ввод записей в pgAdmin
    Напишите процедуру на ввод записей о преподавателях ВГУ. Идентификационные номера преподавателей.

    Как в pgAdmin-е сменить пароль?
    Всем привет) Как сменить пароль учетной записи СУБД ?

    Открытие уже созданной БД, в в pgAdmin
    Добрый вечер!подскажите как в pgAdmin открыть уже созданную базу данных(то есть БД создавалась на.

    Ошибка при запуске pgAdmin 4
    Добрый день. Установил PostgreSQL 10.5 на Windows 7 x64, все настройки по умолчанию, порт 5432. При.

    Ошибка сокета 10013 это код ошибки, который часто появляется на экране при попытке доступа к серверу. Этот код ошибки ограничивает ваше разрешение на доступ. Это показывает, что ваш запрос на разрешение был отклонен.

    «Socket.error: [Errno 10013] была предпринята попытка получить доступ к сокету способом, запрещенным его правами доступа»

    Решения


    Причины ошибок

    Трудно сузить конкретную причину ошибки сокета 10013, обычно потому, что этот код ошибки может быть сгенерирован по нескольким причинам. Вот некоторые из распространенных причин его появления на вашем компьютере:

    • Настройка высокого уровня безопасности — брандмауэр или антивирусная программа
    • Слишком много функций, привязанных к одному и тому же драйверу, сбивает сокет с толку
    • Устаревшие драйверы
    • вредоносных программ

    Дополнительная информация и ручной ремонт

    Вот некоторые из лучших, быстрых и простых способов обойти проблему и устранить ошибку сокета 10013 без каких-либо хлопот или задержек.

    Метод 1 — отключите брандмауэр

    Вы не поверите, но высокий уровень мер безопасности в Интернете, таких как Брандмауэры и антивирусные программы являются частой причиной ошибки сокета 10013.

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

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

    После выключения этих программ попробуйте снова получить доступ к серверу. В большинстве случаев проблема решается с помощью этого шага. Тем не менее, если ошибка не исчезнет, ​​попробуйте методы, указанные ниже.

    Метод 2 — проверьте раздел разрешений программы брандмауэра

    Другой способ решить эту проблему — проверить раздел разрешений программы брандмауэра и проверить сервер. Если сервера нет в списке, обратитесь в Интернет-провайдер (ISP) и попросить помощи в добавлении сервера в список.

    Метод 3 — Обновите драйверы

    Устаревший драйвер иногда может быть причиной ошибки сокета 10013. Сокет может больше не использовать драйверы, установленные на вашем ПК, поэтому разрешение на доступ к серверу не предоставляется.

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

    Метод 4 — сканирование на вирусы и вредоносное ПО

    Другой альтернативой является сканирование на вирусы и вредоносное ПО. Иногда причиной ошибки является вирусная инфекция. Поэтому удалите их, чтобы решить.

    Лучше всего скачать Restoro. Это удобный в использовании PC Fixer нового поколения, в который встроено 6 сканеров, включая мощный антивирус. Он сканирует весь ваш компьютер и удаляет все типы вирусов, включая вредоносное ПО, рекламное ПО, шпионское ПО и трояны, за считанные секунды.

    В этой статье помогают решить проблему, из-за которой нельзя снова связать исключенный порт, несмотря на SO_REUSEADDR параметра.

    Применяется к: Windows Server 2012 R2
    Исходный номер КБ: 3039044

    Симптомы

    Предположим, что вы исключаете порт, запуская следующую команду на компьютере с Windows Server 2012 R2, Windows Server 2012 или Windows Server 2008 R2:

    Кроме того, предположим, что вы привязываете SO_REUSEADDR к определенному порту TCP на компьютере. В этой ситуации при попытке снова привязать SO_REUSEADDR-розетку к порту TCP, привязка сбой, и вы получите ошибку WSAEACCES (10013)».

    Поэтому если вы используете приложение, которое вызывает два привязки в Windows Server 2012 R2, Windows Server 2012 или Windows Server 2008 R2, оно не может работать правильно.

    • По умолчанию Windows 2008 R2 не может использовать команду netsh для исключения портов. Однако, после применения 2665809,операционная система поддерживает эту функцию.
    • Эта проблема не возникает в Windows Server 2008 или Windows Server 2003.

    Причина

    Эта проблема возникает из-за проблемы в tcpip.sys драйвере. В частности, флаг ПОВТОРНОГО ИСПОЛЬЗОВАНИЯ был перезаписан флагом RESERVED, когда tcpip.sys связывает исключенный порт.

    Обходной путь

    Чтобы обойти эту проблему, воспользуйтесь одним из описанных ниже методов.

    • Используйте порт, не включенный в динамический диапазон порта по умолчанию (от 49 152 до 65 535), и не укажите порт в качестве исключенного порта с помощью netsh команды.
    • Для резервирования порта используйте функции CreatePersistentTcpPortReservation и LookupPersistentTcpPortReservation.

    Статус

    Корпорация Майкрософт подтвердила, что это проблема в продуктах Майкрософт, перечисленных в разделе «Применяется к».

    Дополнительная информация

    Дополнительные информацию о параметре SO_REUSEADDR см. в функции setockopt.

    вот мой пример кода:

    C:python > python TestServer.py Traceback (последний звонок):
    Файл «TestServer.py», строка 19, in сервер= SocketServer.TCPServer ((хост, порт), MyTCPHandler Файл) «C:Python26libSocketServer.py», строка 400, в init личность.server_bind () файл «C:Python26libSocketServer.py», строка 411, в server_bind личность.разъем.bind (self.адрес сервера) Файл»», строка 1, в bind

    гнездо.ошибка: [Errno 10013] попытка доступа к сокету таким образом запрещено его разрешения доступа

    как именно я могу заставить это работать на Windows 7?

    [Edit on 5/5/2010 @ 2344 PDT] это ответ объясняет, что ошибка вызвана необходимостью повышенных / привилегий суперпользователя при доступе к портам ниже 1024. Я собираюсь попробовать использовать более высокий номер порта, чтобы увидеть, если это работает. Однако я все равно хотел бы знать, почему моя учетная запись локального администратора не может получить доступ к порту 80.

    в Windows Vista/7 с помощью UAC учетные записи администратора по умолчанию запускают программы в непривилегированном режиме.

    программы должны запрашивать доступ администратора перед запуском от имени администратора с помощью хорошо знакомого диалога UAC. Поскольку скрипты Python не являются непосредственно исполняемыми, нет опции контекстного меню «запуск от имени администратора».

    можно использовать ctypes.windll.shell32.IsUserAnAdmin() чтобы определить, имеет ли скрипт доступ администратора, и ShellExecuteEx с глаголом ‘runas’ на питон.exe, с sys.argv[0] в качестве параметра для запроса диалога UAC при необходимости.

    McAfee блокировал его для меня. Я должен был разрешить программу в правилах защиты доступа

    1. Открыть VirusScan
    2. щелкните правой кнопкой мыши на защите доступа и выберите Свойства
    3. нажмите на «антивирусная стандартная защита»
    4. выберите правило «предотвратить массовую рассылку червей от отправки почты» и нажмите edit
    5. добавьте приложение в список процессов для исключения и нажмите OK

    для меня это было жаловаться, как на Windows 7 x64, когда у меня был другой процесс, уже прослушивающий тот же порт.

    можно увидеть занятые (связанные) порты, запустив

    гнездо.ошибка: [Errno 10013] была предпринята попытка получить доступ к сокету способом, запрещенным его разрешениями доступа

    означает, что порт, к которому вы пытаетесь привязаться,уже используется другой службой или процесс : получил подсказку об этом в моем коде, разработанном на Eclipse / windows:

    Я должен был позволить .. python27python.exe в Брандмауэре windows. Мне не нужно делать это на WinXP или Win8.

    просто запустите на портах выше 1024, что-нибудь ниже привилегировано, это то же самое дело с Linux, я использую 5000, например, на wins без эскалации UAC priv.

    Я нашел решение для решения этой проблемы в Python.

    перейти к c:python27 каталог и rigtlcick python.вкладка exe и в compaitbility и выберите опцию с правами администратора и применить изменения. Теперь вы выдаете команду, которая позволяет создать соединение сокета.

    Источник

    1c postgresql ошибка подключения к тестовому сетевому сокету 10013

    Всех категорически приветствую!

    На сервере Windows 2003 давно работает сервер БД Postgres 9.0.4, для 1с 8,2.
    Хочется обновить Postgres до версии 9.2.4, однако при установке Pg выдает:

    Ошибка подключения к тестовому сетевому сокету: 10013

    Гугл подсказал решение для Windows 2008, которое к 2003 не подошло
    Как побороть?

    • Войдите или зарегистрируйтесь, чтобы добавлять комментарии

    Обычный PostgreSQL не

    Обычный PostgreSQL не работает с 1С. Нужен специальный и соответственно инструкции от 1C для обновления. Это к ним в поддержку:
    И читаем FAQ конечно
    http://postgresql.ru.net/docs/extented_FAQ.html#Q201

    • Войдите или зарегистрируйтесь, чтобы добавлять комментарии

    Постгрес 9.2.4, который я

    Постгрес 9.2.4, который я пытаюсь установить, скачан с сайта users.v8.1c.ru.
    Когда то оттуда качал 9.0.4 и он сейчас работает.
    Мне бы понять как 9.2.4 установить.

    • Войдите или зарегистрируйтесь, чтобы добавлять комментарии

    http://infostart.ru/public/60

    • Войдите или зарегистрируйтесь, чтобы добавлять комментарии

    Если говорить с точки зрения

    Если говорить с точки зрения обновления PostgreSQL, то его можно установить только вместо действующего.
    Алгоритм такой:
    1. Делаете резервную копию всех БД, например с помощью pg_dumpall
    2. Сносите старый PostgreSQL, ставите новый PostgreSQL
    3. Заливаете дамп обратно.

    Дамп рекомендую делать в текстовом виде.
    Подробности тут:

    • Войдите или зарегистрируйтесь, чтобы добавлять комментарии

    Игорь, это решение не

    Игорь, это решение не подходит для win2003.
    admin, уже разобрался, действительно помогло удаление предыдущей версии Postgres и установка «с нуля».
    Спасибо! Тема исчерпана

    Источник

    Как исправить время выполнения Ошибка 10013 Ошибка Pidgin 10013

    В этой статье представлена ошибка с номером Ошибка 10013, известная как Ошибка Pidgin 10013, описанная как Отключение и ошибка сокета Windows №10013.

    Информация об ошибке

    Имя ошибки: Ошибка Pidgin 10013
    Номер ошибки: Ошибка 10013
    Описание: Отключение и ошибка сокета Windows №10013.
    Программное обеспечение: Pidgin
    Разработчик: Edgewall Software

    Этот инструмент исправления может устранить такие распространенные компьютерные ошибки, как BSODs, зависание системы и сбои. Он может заменить отсутствующие файлы операционной системы и библиотеки DLL, удалить вредоносное ПО и устранить вызванные им повреждения, а также оптимизировать ваш компьютер для максимальной производительности.

    О программе Runtime Ошибка 10013

    Время выполнения Ошибка 10013 происходит, когда Pidgin дает сбой или падает во время запуска, отсюда и название. Это не обязательно означает, что код был каким-то образом поврежден, просто он не сработал во время выполнения. Такая ошибка появляется на экране в виде раздражающего уведомления, если ее не устранить. Вот симптомы, причины и способы устранения проблемы.

    Определения (Бета)

    Здесь мы приводим некоторые определения слов, содержащихся в вашей ошибке, в попытке помочь вам понять вашу проблему. Эта работа продолжается, поэтому иногда мы можем неправильно определить слово, так что не стесняйтесь пропустить этот раздел!

    • Disconnect — разрыв или прерывание существующего соединения, континуума или процесса.
    • Pidgin — Pidgin — это программа чата который позволяет вам входить в учетные записи в нескольких чат-сетях одновременно.
    • Windows — ОБЩАЯ ПОДДЕРЖКА WINDOWS НЕВОЗМОЖНА
    • Socket — Конечная точка двунаправленного потока межпроцессного взаимодействия.
    Симптомы Ошибка 10013 — Ошибка Pidgin 10013

    Ошибки времени выполнения происходят без предупреждения. Сообщение об ошибке может появиться на экране при любом запуске %программы%. Фактически, сообщение об ошибке или другое диалоговое окно может появляться снова и снова, если не принять меры на ранней стадии.

    Возможны случаи удаления файлов или появления новых файлов. Хотя этот симптом в основном связан с заражением вирусом, его можно отнести к симптомам ошибки времени выполнения, поскольку заражение вирусом является одной из причин ошибки времени выполнения. Пользователь также может столкнуться с внезапным падением скорости интернет-соединения, но, опять же, это не всегда так.

    (Ошибка Pidgin 10013) Repair Tool»/>
    (Только для примера)

    Причины Ошибка Pidgin 10013 — Ошибка 10013

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

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

    Методы исправления

    Ошибки времени выполнения могут быть раздражающими и постоянными, но это не совсем безнадежно, существует возможность ремонта. Вот способы сделать это.

    Если метод ремонта вам подошел, пожалуйста, нажмите кнопку upvote слева от ответа, это позволит другим пользователям узнать, какой метод ремонта на данный момент работает лучше всего.

    Источник

    #1

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 11:13 AM

    Hello,

    I’m new here and I like to use Tiny PXE server, it’s exactly what I’m looking for :)

    I have WIndows 10 pro and when I run the programm I have un error «httpd error, Socket Error # 10013 Access denied.» so I turned off my antivirs and the firewalland the same error, I tried the same thing withe Windows 7 and have the same problem.

    Can someone help me? thanks

    Samy

    • Back to top


    #2


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 17 February 2017 — 11:58 AM

    Try to run the software as admin.

    • Back to top


    #3


    asamy

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 12:01 PM

    Hello erwan.I

    I did but I had the same error

    • Back to top


    #4


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 17 February 2017 — 12:07 PM

    Can you post a screenshot ?

    • Back to top


    #5


    asamy

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 01:36 PM

    sorry but I dont know how to post or upload image to the forum :blush: I was looking every where for 30 min and I cant do it

    • Back to top


    #6


    asamy

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 03:27 PM

    • Back to top


    #7


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 17 February 2017 — 03:49 PM

    just out of curiosity, try with «bind» unticked.

    winsock error 10013 is usually triggered by a local firewall and/or anti virus but you reported you have disabled them already.

    • Back to top


    #8


    asamy

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 03:52 PM

    Thanks erwan… but I have the same error

    • Back to top


    #9


    asamy

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 03:53 PM

    The same error on win7 too

    P.S. win7 is a new and fresh installation

    • Back to top


    #10


    asamy

    asamy

    • Members
    • 7 posts
    •  


      Italy

    Posted 17 February 2017 — 03:56 PM

    Firewall windows defender and antivirus, all OFF

    • Back to top


    #11


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 17 February 2017 — 06:26 PM

    would you be ok to try the below and display the content of reset.log.

    if you get error or access denied in that log file then you must have a software or driver messing up.

    netsh winsock reset catalog
    netsh int ip reset reset.log 
    

    • Back to top


    #12


    RCarHar

    RCarHar

    • Members
    • 8 posts
    •  


      United States

    Posted 06 June 2018 — 03:37 AM

    Hello, I am new to the forum, sorry please let me know if I need to make a new thread. Encountering the exact same error in Tiny PXE:

    httpd error, Socket Error # 10013 Access denied.
    

    With all fresh o/s installs, I am hoping this troubleshooting should be relatively straightforward. , as far as I can tell I am configuring everything but I must be missing some crucial step.

    I am using Windows Server 2012 R2 hosting an iSCSI target.

    -initiator has matching MAC to client

    -Tiny PXE is running in admin

    -iSCSI + pxeserv have been allowed in firewall

    The Windows 10 vhdx in the target was created by installing the o/s to the client SSD:

    -during o/s install, diskpart constrain the size & contain the boot folder to a single partition.

    -client successfully wrote the image directly to the shared folder on the server using Disk2vhd.

    -client successfully discovered the target IQN after adding the server ip to target portal in iSCSI initiator.

    -client successfully PXE boots to the correct script & TFTP root on the server

    I can never seem to get past this. Have also been getting stuck with:

    proxy boot filename empty? 
    

    The client booting the script will either hang or say select proper boot device. I have never seen any evidence of network o/s trying to boot yet…

    Is there a better log info that I can provide?

    Am I missing something in the prep config?

    Should I attempt a different image? Is there an example PE.vhdx file to attempt the boot in order to test your iSCSI target connection?

    • Back to top


    #13


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 06 June 2018 — 09:13 AM

    Hello, I am new to the forum, sorry please let me know if I need to make a new thread. Encountering the exact same error in Tiny PXE:

    httpd error, Socket Error # 10013 Access denied.
    

    With all fresh o/s installs, I am hoping this troubleshooting should be relatively straightforward. , as far as I can tell I am configuring everything but I must be missing some crucial step.

    I am using Windows Server 2012 R2 hosting an iSCSI target.

    -initiator has matching MAC to client

    -Tiny PXE is running in admin

    -iSCSI + pxeserv have been allowed in firewall

    The Windows 10 vhdx in the target was created by installing the o/s to the client SSD:

    -during o/s install, diskpart constrain the size & contain the boot folder to a single partition.

    -client successfully wrote the image directly to the shared folder on the server using Disk2vhd.

    -client successfully discovered the target IQN after adding the server ip to target portal in iSCSI initiator.

    -client successfully PXE boots to the correct script & TFTP root on the server

    I can never seem to get past this. Have also been getting stuck with:

    proxy boot filename empty? 
    

    The client booting the script will either hang or say select proper boot device. I have never seen any evidence of network o/s trying to boot yet…

    Is there a better log info that I can provide?

    Am I missing something in the prep config?

    Should I attempt a different image? Is there an example PE.vhdx file to attempt the boot in order to test your iSCSI target connection?

    Hi RCarHar,

    First thing first (i.e one issue at the time) : «httpd error, Socket Error # 10013 Access denied.».

    Usually means that you have another process listening on tcp port 80.

    Either location/shutdown the other process or change TPS http listening port (in which case you will also need to update your pxe scripts).

    I recommend that you use the excellent Misty guide here : http://www.mistyrebo…rver/index.html .

    Regards,

    Erwan

    • Back to top


    #14


    RCarHar

    RCarHar

    • Members
    • 8 posts
    •  


      United States

    Posted 06 June 2018 — 07:17 PM

    another process listening on tcp port 80.

    or change TPS http listening port (in which case you will also need to update your pxe scripts).

    Erwan, I much appreciate the quick response. I applied all the firewall settings as suggested in the guide, and am trying a simpler test config.ini but am encountering the same httpd error when starting Tiny PXE…

    I am unable to find anything listening on port 80 using resmon. I have installed wireshark but I don’t know what I’m doing.

    Would the server having multiple NIC’s require an entry in the config or script? Only one has been used for setup troubleshooting purposes.

    httpderror_tinylog.png

    • Back to top


    #15


    Wonko the Sane

    Wonko the Sane

      The Finder

    • Advanced user
    • 16065 posts
    • Location:The Outside of the Asylum (gate is closed)
    •  


      Italy

    Posted 07 June 2018 — 10:25 AM

    For the experiment, try changing the port:
    http://www.mistyrebo…esrv_config.htm

    [web]

    The following table lists all options that its possible to set in the [web] section of the Tiny PXE Server configuration file config.ini —

    The default port used by the 

    HTTPd daemon is port 80. This may cause conflicts if another web server is running on the network — use this setting to change the port used for HTTP connections. Syntax is «port=PORT_NUMBER»

    Example config.ini entry — port=1024

    :duff:
    Wonko

    • Back to top


    #16


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 07 June 2018 — 07:10 PM

    It may be that you dont need httpd : try to disable it?

    Post a screenshot of TPS so that I can see how what are your plans.

    • Back to top


    #17


    RCarHar

    RCarHar

    • Members
    • 8 posts
    •  


      United States

    Posted 07 June 2018 — 08:37 PM

    I tried changing the port in the config.ini using 1024 & a few arbitrary numbers, the error remains the same when starting Tiny.

    with httpd disabled the error is gone, but unfortunately I guess I don’t know enough to know if I need it or not.

    I just realized I did not change port information in the scripts. If I do need this I may need the script entry context.

    Using httpd=0 in the config file:

    TPS_Report.png

    • Back to top


    #18


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 08 June 2018 — 02:59 PM

    I tried changing the port in the config.ini using 1024 & a few arbitrary numbers, the error remains the same when starting Tiny.

    with httpd disabled the error is gone, but unfortunately I guess I don’t know enough to know if I need it or not.

    I just realized I did not change port information in the scripts. If I do need this I may need the script entry context.

    Using httpd=0 in the config file:

    TPS_Report.png

    ok, at first look it looks all right :

    1-your computer will boot

    2-your built in boot loader will download via tftp the ipxe boot loader (there thus, why go for the kpxe version? i would go for ipxe.pxe)

    3-your pxe boot loader will download your ipxe script (share a copy there)

    4-next logical step is for ipxe to boot an operating system over iscsi from your iscsi target

    You dont need http in that scenario : will bring little to nothing.

    -you dns server looks wrong to me but you may have after all a local dns server.

    -I would leave the router to 0.0.0.0 specially with iscsi.

    -Your IP pool size is definitely wrong (be generous, give it a 10 )

    -you can spare yourself the hassle of a ipxe script and use the root path option but this is another discussion.

    • Back to top


    #19


    RCarHar

    RCarHar

    • Members
    • 8 posts
    •  


      United States

    Posted 08 June 2018 — 06:18 PM

    I really must apologize for my crude illiteracy in configuring PXE. I have encountered the opportunity to learn and I have taken a great interest in becoming proficient enough to start using PXE to multiboot various environments for personal applications every day. However, I must achieve the setup of this project first. I appreciate your promptness & patience in assisting with this matter!! I don’t particularly understand the difference between the script filenames, extensions, or their contents to be honest. I am merely following a guide from here, who are also using WS2012R2 + W10 clients. 

    The guide I am following they use the kpxe file in the boot filename, but never explicitly indicate the contents of that script, or why to use kpxe.

    The iscsi.ipxe script referred to in the guide is set as alt filename, & contains all the basic scripting that I believe I should need, which has line: 

    set net0/gateway 0.0.0.0

    At one point, in tinkering on my own, I had a custom menu script booting on the client — which is what I intend to implement before the target boot; this is about the furthest I’ve gotten — but the actual remote o/s image boot, I have never achieved. I captured a photo of the client & server displays when I successfully booted the custom menu, and the dns server was set to 127.0.0.1 with proxydhcp=0 in that case. Router in the config.ini was

    192.168.1.1, but the 0.0.0.0 line runs in the iscsi.ipxe script. Not sure if this could interfere with booting the disk image.

    I will actually ultimately be using more than 10 diskless clients, but the router is serving dhcp; so it was my understanding in this case, that the proxydhcp=1 and the pool=0 in order to utilize client auto ip assignment from the router. I have the client MAC addresses captured and added to the iSCSI target — but at the moment I am only working with the client PC with the 1st MAC on the list. For setup troubleshooting purposes, my scripts only contain the initiator IQN of this 1st PC. Also, ultimately, I think there will be multiple vhdx’s to achieve multiple disk volumes on the remote booting devices.

    1. Keeping as close to thread topic as possible — «HTTPd» is checked in the guide I follow, but not explained. Can you confirm whether it would serve a purpose in my case? It is great to disable & no longer receive the initial error message, & I am eager to move on, but I have no idea what I am actually disabling here.
    2. What should the logical best practice using router ip line in config, & gateway ip line in ipxe script? Should both be set?
    3. Can you clarify the function of the proxydhcp & pool size, if I have misunderstood them?
    4. Can you please clarify for my case, the purpose & minimum contents of the boot filename + alt-filename scripts with different extensions? Can I just have a single menu.ipxe with no alt-filename? or both files with the same contents? I am unclear whether they chain or one is skipped or what…
    5. How does this differ from proxyboot filename? When is a proxyboot filename entry needed? Which is the boot file that will be used if this is not needed?
    6. Is it feasible to include a vhdx for the o/s + a dynamic vhdx for program installation & user data in the same iSCSI target? Will this be feasible to boot multiple clients to the same target in this case?

    Sorry for all the questions. Let me know if it would be more appropriate to continue or start the conversation elsewhere. If you believe another method for my scenario would simplify the process, I am willing to change the setup to achieve boot from the shared vhdx/s.

    In the meantime, I will attempt to get a menu script booting again…

    • Back to top


    #20


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 08 June 2018 — 08:24 PM

    1. Keeping as close to thread topic as possible — «HTTPd» is checked in the guide I follow, but not explained. Can you confirm whether it would serve a purpose in my case? It is great to disable & no longer receive the initial error message, & I am eager to move on, but I have no idea what I am actually disabling here.
    2. What should the logical best practice using router ip line in config, & gateway ip line in ipxe script? Should both be set?
    3. Can you clarify the function of the proxydhcp & pool size, if I have misunderstood them?
    4. Can you please clarify for my case, the purpose & minimum contents of the boot filename + alt-filename scripts with different extensions? Can I just have a single menu.ipxe with no alt-filename? or both files with the same contents? I am unclear whether they chain or one is skipped or what…
    5. How does this differ from proxyboot filename? When is a proxyboot filename entry needed? Which is the boot file that will be used if this is not needed?
    6. Is it feasible to include a vhdx for the o/s + a dynamic vhdx for program installation & user data in the same iSCSI target? Will this be feasible to boot multiple clients to the same target in this case?

    1.in your case, you dont need httpd : you would use it fi you were to serve a wim file for example (or an iso, etc).

    2.you can either alter (some of) the dhcp parameters in TPS or in a script file

    3.proxydhcp is recommended as like most of us, you probably already have a dhcp on our lan (your router, modem, adsl box, etc).

    pool size will define how many dynamic IP’s you want to serve (in both proxydhcp mode or in dhcp mode)

    4.client boots to its builtin pxe client, download via ftp a first boot loader, possibly download a script file, and boots to some wim, iso, iscsi, etc

    5.not sure what you mean by proxyboot?

    6.the vhdx versus vhd difference here is probably irrevelant since your target (MS here) will abstract the underlying disk container.

    Hope this was clear :)

    About kpxe, kkpxe, pxe extensions, they are just different boot loader formats but they are still all binary «executables».

    See this thread : http://forum.ipxe.or…ad.php?tid=6989 .

    ipxe is a simple text file aka script : look at iscsi.ipxe in TPS.zip file.

    Regards,

    Erwan

    • Back to top


    #21


    RCarHar

    RCarHar

    • Members
    • 8 posts
    •  


      United States

    Posted 08 June 2018 — 11:11 PM

    Thank you!!!!

    I don’t have time to comment on everything right now, but I was finally able to boot a menu script that actually loads the iSCSI target & boots Windows 10 over the network. I successfully booted 3 PCs to Windows 10 simultaneously using the same vhdx, but the rest were booting to either ‘please wait’ which I know means preparing automatic repair, or they booted directly to a chkdsk, wherein they all ultimately rebooted into the ‘Choose your keyboard layout’ recovery utility. The original client PC gave disk write errors when attempting an application install.

    Now I need to understand the way to create one or more images that will allow the client to install applications, etc.

    I am unsure if this weekend I will get to complete any further config or troubleshooting.

    • Back to top


    #22


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 09 June 2018 — 11:10 AM

    Thank you!!!!

    I don’t have time to comment on everything right now, but I was finally able to boot a menu script that actually loads the iSCSI target & boots Windows 10 over the network. I successfully booted 3 PCs to Windows 10 simultaneously using the same vhdx, but the rest were booting to either ‘please wait’ which I know means preparing automatic repair, or they booted directly to a chkdsk, wherein they all ultimately rebooted into the ‘Choose your keyboard layout’ recovery utility. The original client PC gave disk write errors when attempting an application install.

    Now I need to understand the way to create one or more images that will allow the client to install applications, etc.

    I am unsure if this weekend I will get to complete any further config or troubleshooting.

    I believe what you are experiencing is an expected behavior.

    If you were to network boot in memory (wim, etc), then doing so from multiple clients would be fine (each client would have its own readonly instance).

    But because you are network booting on disk (hosted on your target/server), all changes will happen on that disk.

    If you boot multiple clients, you will quickly corrupt your image.

    What you may try is to use differencing vhd’s (one per client).

    That means one target per disk.

    • Back to top


    #23


    RCarHar

    RCarHar

    • Members
    • 8 posts
    •  


      United States

    Posted 12 June 2018 — 03:11 AM

    It’s definitely an expected behaviour, I started another thread to overcome this.

    5.not sure what you mean by proxyboot?

    [arch]
    ;will over rule the bootp filename or opt67 if the client arch matches one of the below
    ;00006=bootia32.efi
    ;00007=bootx64.efi
    ;00009=bootx64.efi
    [dhcp]
    ;needed to tell TFTPd where is the root folder
    root=files
    ;bootp filename as in http://tools.ietf.org/html/rfc951
    ;filename=ipxe-undionly.kpxe
    filename=ipxe.pxe
    ;alternative bootp filename if request comes from ipxe or gpxe
    altfilename=menu.ipxe
    ;start HTTPd
    httpd=1
    binl=0
    start=0
    dnsd=0
    proxydhcp=0
    ;default=1
    bind=1
    ;tftpd=1 by default
    ;will share (netbios) the root folder as PXE
    smb=0
    ;will log to log.txt
    log=0
    ;opt1=
    ;opt3=
    ;opt6=
    ;opt28=
    ;opt15=
    ;opt17=
    ;opt43=
    ;opt51=
    ;opt54=
    ;opt67=
    ;opt66=
    ;opt252=
    ;poolstart=
    ;poolsize=
    ;alternative bootp filename if request comes thru proxydhcp (udp:4011)
    ;proxybootfilename= <------------------------------------------------------This entry right here
    ;any extra dhcp options
    ;my gpxe / ipxe dhcp options
    optextra=175.6.1.1.1.8.1.1
    ;the below will be executed when clicking on the online button
    ;cmd=_test.bat
    ;if log=1, will log to log.txt
    log=0
    [frmDHCPServer]
    top=182
    left=182
    

    Please see line 42 of the current original config.ini above

    Curious — is there a reason log=0 is included twice?

    • Back to top


    #24


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 12 June 2018 — 07:53 AM

    Please see line 42 of the current original config.ini above

    Curious — is there a reason log=0 is included twice?

    No reason, some left over from the past.

    As a whole logging to a file is not recommended/supported anymore (thread issues, triggering issues/crashes).

    Rather, use the logging to syslog (provided client in the zip file).

    • Back to top


    #25


    erwan.l

    erwan.l

      Platinum Member

    • Developer
    • 3041 posts
    • Location:Nantes — France
    •  


      France

    Posted 12 June 2018 — 07:54 AM

    Referencing this thread (continued discussions).

    • Back to top


    RRS feed

    • Remove From My Forums
    • Question

    • Dear all,

      I am facing an error while trying to restart directory service in Windows 2012  R2 server. I tried multiple times but no luck.

      Error screenshot is below.

      «Windows could not start the Directory service on Local Computer

      Error 10013: an attempt was made to access a socket in a way forbidden by its access permissions.»

      Can someone please urgently help me with this?

    All replies

    • Hello!

      Did you make any hardware / software changes to the server prior to the issue?

      The error 10013 can be caused by the antivirus or firewall software. Basically, a needed socket connection is being denied. Socket error 10013 is a message which implies that a port is blocked and/or unreachable.

      Best regards,
      Leon


      Blog:
      https://thesystemcenterblog.com
      LinkedIn:

      • Proposed as answer by

        Friday, August 31, 2018 3:00 PM

    • hi, you can do these steps to do troubleshooting
      1. Restart the windows firewall service
      2. Reboot the problematic machine
      3. Restart the “TCP/IP stack”.  Run CMD as administrator, type “netsh int ip reset resetlog.txt” to reset TCP/IP.
      4. Try to temporarily disable antivirus.

      • Proposed as answer by
        Andy YOUMicrosoft contingent staff
        Wednesday, September 5, 2018 5:55 AM

    Понравилась статья? Поделить с друзьями:

    Читайте также:

  • Socket error 0 ошибка не работает
  • Socket connection error bitrix яндекс касса
  • Socket error errno 22 invalid argument
  • Socket connect error 7 starting server and app
  • Socket error errno 10061

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии