Can't start sabnzbdplus - error
Forum rules
Help us help you:
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.
Can't start sabnzbdplus - error
I had been successfully running Sabnzbd on Ubuntu 12.04 Server. I needed to add the GUI desktop. Since doing that, it will not start, but gets the following error:
** (sabnzbdplus:6373): WARNING **: Command line `dbus-launch --autolaunch=b17eb4ddc112de8b78c63f9a000005fc --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
I believe the version is 0.7.11, but I'm not sure and don't know how to find out without the a browser. Any ideas on what might fix this problem?
** (sabnzbdplus:6373): WARNING **: Command line `dbus-launch --autolaunch=b17eb4ddc112de8b78c63f9a000005fc --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
I believe the version is 0.7.11, but I'm not sure and don't know how to find out without the a browser. Any ideas on what might fix this problem?
Re: Can't start sabnzbdplus - error
Add the -b0 parameter when starting SABnzbd .
Re: Can't start sabnzbdplus - error
I added "-b0" to EXTRAOPTS in /etc/default/sabnzbd (EXTRAOPTS=-b0) and tried to start SABnzbd again, but the error remains the same. I also tried "EXTRAOPTS=b0" with the same error message.
Re: Can't start sabnzbdplus - error
Could be the "NotifyOSD" option.
Stop SABnzbd, find the file sabnzbd.ini, open it and look for this line:
ntfosd_enable = 1
Change it to
ntfosd_enable = 0
Stop SABnzbd, find the file sabnzbd.ini, open it and look for this line:
ntfosd_enable = 1
Change it to
ntfosd_enable = 0
Re: Can't start sabnzbdplus - error
Shy, what is the mechanism that causes this nuisance to block sab from starting? Unrelated error like in the other thread?
Re: Can't start sabnzbdplus - error
After changing ntfosd_enable = 0, the error changed to:
and trying it again:
Code: Select all
** (sabnzbdplus:8888): WARNING **: Command line `dbus-launch --autolaunch=b17eb4ddc112de8b78c63f9a000005fc --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
Code: Select all
** (sabnzbdplus:9060): WARNING **: Command line `dbus-launch --autolaunch=b17eb4ddc112de8b78c63f9a000005fc --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
Re: Can't start sabnzbdplus - error
It may be trying to show the Panic page in the browser.jcfp wrote:Shy, what is the mechanism that causes this nuisance to block sab from starting? Unrelated error like in the other thread?
I'll do some digging.
BTW : any idea why these odd line numbers are shown?
Like: (sabnzbdplus : 8888)
Re: Can't start sabnzbdplus - error
PIDs? So not line numbers?shypike wrote: BTW : any idea why these odd line numbers are shown?
Like: (sabnzbdplus : 8888)
Re: Can't start sabnzbdplus - error
Can you start "sabnzbdplus" directly from a bash session and list the full output?larzeb wrote:I had been successfully running Sabnzbd on Ubuntu 12.04 Server. I needed to add the GUI desktop. Since doing that, it will not start, but gets the following error:
** (sabnzbdplus:6373): WARNING **: Command line `dbus-launch --autolaunch=b17eb4ddc112de8b78c63f9a000005fc --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
The message looks like it's being created by the Python run time libraries,
but I see no relation with the SABnzbd code at all.
In general there are only two things that SABnzbd might need X11 (indirectly) for:
- start the web browser ( to show the UI or a fatal error message).
- Start OSDNotify messaging
Please also check the sabnzbd.log file.
Re: Can't start sabnzbdplus - error
On my headless, non-GUI Ubuntu server, forcing a panic page while logged on with SSH, I get links starting up. That is determined by these settings:shypike wrote:It may be trying to show the Panic page in the browser.jcfp wrote:Shy, what is the mechanism that causes this nuisance to block sab from starting? Unrelated error like in the other thread?
Code: Select all
sander@toverdoos:~$ update-alternatives --query www-browser | grep -i best
Best: /usr/bin/links2
sander@toverdoos:~$ update-alternatives --query x-www-browser | grep -i best
Best: /usr/bin/xlinks2
sander@toverdoos:~$
So, OP, what is your output of
Code: Select all
update-alternatives --query www-browser | grep -i best
update-alternatives --query x-www-browser | grep -i best
Re: Can't start sabnzbdplus - error
+1 for pids.sander wrote:PIDs? So not line numbers?
Makes sense you get appropriate (cli) browsers there, but that may not be guaranteed. For example, for users that install a gui and/or gui-based browser applications on top of a server install like yours but don't boot to a desktop by default - or with the account running sab unable to access the gui even when it is running.sander wrote:On my headless, non-GUI Ubuntu server, forcing a panic page while logged on with SSH, I get links starting up.shypike wrote:It may be trying to show the Panic page in the browser.
It'll be nice to see what the topic starter comes up with. I'm wondering if there's some situation that can trigger all of this without a underlying (startup) error in sab, given that he started out with a fully working setup on his "undiluted" server install.
Re: Can't start sabnzbdplus - error
Code: Select all
$ update-alternatives --query www-browser | grep -i best
Best: /usr/bin/w3m
$ update-alternatives --query x-www-browser | grep -i best
Best: /usr/bin/firefox
It seems to display the same error message as before, but since it goes so fast, I can't be sure. Then almost immediately it displays "SABnzbd Quick-Start Wizard", beginning with the language selection (which defaults to English). When I select "Start Wizard" at the bottom with the TAB key, it proceeds to Step One, Server Details and displays "SABnzbd Version 0.7.12" at the top. All values of the fields are blank.
Re: Can't start sabnzbdplus - error
I get this error running from a bash commandline on Ubuntu 12.04 with GUI running. However, the service does run, and seems normal. I see no mention of any problems in the log file.
I see about 20 different processes running with the exact same command - is this normal? Also, the process number specified in the "error" is slightly lower than the numbers that are running (ie, that process id does not exist).
I don't see anything in the Python code that relates to this error, so it must be something in the Python runtime environment. Maybe I could try running the code line by line? I've never actually used Python, although I've used several other languages.
I see about 20 different processes running with the exact same command - is this normal? Also, the process number specified in the "error" is slightly lower than the numbers that are running (ie, that process id does not exist).
I don't see anything in the Python code that relates to this error, so it must be something in the Python runtime environment. Maybe I could try running the code line by line? I've never actually used Python, although I've used several other languages.
Re: Can't start sabnzbdplus - error
20 processes are all threads, that's normal. Ugly "X11 initialization failed" but sab working could be the osd notifications, try disabling those as described by shypike earlier in this thread.
Re: Can't start sabnzbdplus - error
Sorry, I should have mentioned, I read the whole thread, and tried that mod, but it did not have any effect.jcfp wrote:20 processes are all threads, that's normal. Ugly "X11 initialization failed" but sab working could be the osd notifications, try disabling those as described by shypike earlier in this thread.
Could it be something simple, like trying to initialize X11 when it is already running?