Launch Failure IOError: (9, 'Bad file descriptor') [WIndows}

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Launch Failure IOError: (9, 'Bad file descriptor') [WIndows}

Post by seanvree81 »

Sab ver: Latest
OS: Win10E 1703 CU x64

For some reason this morning, SAB failes to luanch.


Have these two errors in windows event logs:

```
The description for Event ID 4100 from source SABnzbd Binary Newsreader cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

SABnzbd
Panic exit

```

and

```
The instance's SvcRun() method failed
Traceback (most recent call last):
File "win32serviceutil.pyo", line 835, in SvcRun
File "SABnzbd.pyo", line 1602, in SvcDoRun
File "SABnzbd.pyo", line 1006, in main
File "sabnzbd\misc.pyo", line 781, in exit_sab
IOError: (9, 'Bad file descriptor')
%2: %3

```

Helper service runs fine.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Launch Failure IOError: (9, 'Bad file descriptor') [WIndows}

Post by safihre »

What happens if you run SABnzbd not as a service?

Also, did you maybe just install a Windows update? Have you restarted your PC already?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: Launch Failure IOError: (9, 'Bad file descriptor') [WIndows}

Post by seanvree81 »

safihre wrote: July 18th, 2017, 12:35 am What happens if you run SABnzbd not as a service?

Also, did you maybe just install a Windows update? Have you restarted your PC already?

When not as a service it launches fine. Can I run the .exe manually defining my config file? so "sabnzbd.exe -f C:\Sabnzbd\sabnznbd.ini "

No windows updates. Don't know of anything that changed in my enviroment.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Launch Failure IOError: (9, 'Bad file descriptor') [WIndows}

Post by safihre »

Maybe try and remove and reinstall the service? Maybe some path or permission changed.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply