Page 1 of 1

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

Posted: July 18th, 2017, 12:17 am
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.

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

Posted: July 18th, 2017, 12:35 am
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?

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

Posted: July 18th, 2017, 12:43 am
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.

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

Posted: July 18th, 2017, 1:04 am
by safihre
Maybe try and remove and reinstall the service? Maybe some path or permission changed.