Page 1 of 1

Sabnzbd 6.1 Windows Service

Posted: May 23rd, 2011, 7:03 am
by Dark-Raider
I've got the following problem:
I installed a fresh installation of Sabnzbd 6.1 on my Windows server 2008 server. After the installation, I installed the Sabnzbd and Sabnzbd-helper service, but when I try to start the Sabnzbd service I get the following error massages in the event log and the Sabnzbd service is stopped again.

Logfile:
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

Second error:
The description for Event ID 3 from source SABnzbd 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:

Traceback (most recent call last):
  File "win32serviceutil.pyo", line 806, in SvcRun
  File "SABnzbd.pyo", line 1529, in SvcDoRun
  File "SABnzbd.pyo", line 989, in main
  File "sabnzbd\misc.pyo", line 887, in exit_sab
IOError: (9, 'Bad file descriptor')

Hope someone can help me. Thanks!

Re: Sabnzbd 6.1 Windows Service

Posted: May 23rd, 2011, 7:12 am
by shypike
There something going wrong with DNS resolution.
Which host address do you use?

Re: Sabnzbd 6.1 Windows Service

Posted: May 23rd, 2011, 7:33 am
by Dark-Raider
It's just a standard installation. Nothing configured yet.

*UPDATE*
Configured Sabnzbd to listen at the address 192.168.0.2 that is the same as the server ip address. First error disappeared but the second one still exists only with other line numbers:
Traceback (most recent call last):
  File "win32serviceutil.pyo", line 806, in SvcRun
  File "SABnzbd.pyo", line 1529, in SvcDoRun
  File "SABnzbd.pyo", line 1120, in main              <-------------!
  File "sabnzbd\misc.pyo", line 887, in exit_sab
IOError: (9, 'Bad file descriptor')

Re: Sabnzbd 6.1 Windows Service

Posted: May 23rd, 2011, 12:40 pm
by shypike
This is what it's trying to tell you:
        print "Can't write to logfile"

Which -f did you use when you created the service?
It looks SABnzbd got a path it cannot write to.
-f should refer to a writable folder that will have sabnzbd.ini
and the admin folders (to be created by SABnzbd).

Re: Sabnzbd 6.1 Windows Service

Posted: May 24th, 2011, 7:27 am
by Dark-Raider
Access rights it was. Service was running with normal user rights and they don't have change/write rights in the program folders.
Added the user to the Sabnzbd folder and it works like a charm!

Thank you for the quick help!