SABnzbd 503 Error

vinke
Posts: 2
Joined: Sat Oct 15, 2011 3:52 am

SABnzbd 503 Error

Postby vinke » Sat Oct 15, 2011 4:33 am

Hello Amahi folks :D

I've got a issue with my SABnzbd install and I can't figure out what's wrong.
I've been reading the forums a lot but I can't seem to fix it myself.

I think the problems started after I deleted Couchpotato and Sickbeard.
I'm not 100% sure but this is the first time I noticed the 503 error.

I then deleted the SABnzbd application and tried to reinstall it, without succes.
I tried to update everything with a: yum update all and reinstall it, still without succes.
(Maybe I made that a part of my problem now, but I'm not sure.)

Anyway when I look inside the HTML folder (/var/hda/web-apps/sabnzbd/html) it is completely empty. The log folder isn't and tells me:

Code: Select all

[Sat Oct 15 00:23:18 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:19 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:19 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:20 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:20 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:21 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:21 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:22 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 00:23:22 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 11:48:22 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:25914 (localhost) failed [Sat Oct 15 11:48:22 2011] [error] ap_proxy_connect_backend disabling worker for (localhost) [Sat Oct 15 11:48:22 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 11:48:22 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 11:48:22 2011] [error] proxy: HTTP: disabled connection for (localhost) [Sat Oct 15 12:18:38 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:25914 (localhost) failed [Sat Oct 15 12:18:38 2011] [error] ap_proxy_connect_backend disabling worker for (localhost)
When i try service sabnzbd status i get:

Code: Select all

[root@homeserver html]# service sabnzbd restart Stopping sabnzbd: [ OK ] Starting sabnzbd: [ OK ] [root@homeserver html]# service sabnzbd status sabnzbd dead but subsys locked [root@homeserver html]#
I also tried to change localhost in /var/spool/sabnzbd/sabnzbd.ini to 127.0.0.1:
(from this topic: http://forums.amahi.org/viewtopic.php?f=23&t=2683)

Code: Select all

web_color2 = "" host = 127.0.0.1 port = 25919 web_dir = smpl
and i tried:

Code: Select all

web_color2 = "" host = 127.0.0.1 port = 8080 web_dir = smpl
my /var/log/amahi-app-installer.log also tells me:
App: SABnzbd installed
======= app install end @ Sat Oct 15 00:11:43 +0200 2011 ==========
======= app uninstall begin @ Sat Oct 15 00:12:40 +0200 2011 ==========
Uninstalling app id wsl3fc8t0d under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
App: SABnzbd uninstalled
======= app uninstall end @ Sat Oct 15 00:12:43 +0200 2011 ==========
======= app install begin @ Sat Oct 15 00:14:03 +0200 2011 ==========
Installing app id wsl3fc8t0d under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
App: SABnzbd installed
======= app install end @ Sat Oct 15 00:14:31 +0200 2011 ==========
I also tried to modify /etc/httpd/conf.d/1001-sabnzbd.conf without any succes:

Code: Select all

GNU nano 2.2.4 File: /etc/httpd/conf.d/1001-sabnzbd.conf <VirtualHost *:80> ServerName sabnzbd ServerAlias sabnzbd.home.com ProxyPass / http://127.0.0.1:25914/sabnzbd/ ProxyPassReverse / http://127.0.0.1:25914/sabnzbd/ DocumentRoot /var/hda/web-apps/sabnzbd/html <Directory "/var/hda/web-apps/sabnzbd/html"> Options Indexes FollowSymLinks +ExecCGI AddHandler fcgid-script .fcg AllowOverride AuthConfig Order allow,deny Allow from all </Directory> ErrorLog /var/hda/web-apps/sabnzbd/logs/error_log CustomLog /var/hda/web-apps/sabnzbd/logs/access_log combined env=!dontlog </VirtualHost> Allow from all </Directory> ErrorLog /var/hda/web-apps/sabnzbd/logs/error_log CustomLog /var/hda/web-apps/sabnzbd/logs/access_log combined env=!dontlog </VirtualHost>
I guess that's about everything I tried for now and I'm completely clueless.

Any help would be really appriciated, but please keep the answers a little easy to follow since i'm really a complete linux noob, I just take my time to figure things out as good as I possibly can :-)

Thanks a lot already!

Jos

Edit:

I tried to install sickbeard again, and the webinterface works without any problems.
I thought it might be usefull to check another 1-click web application, to be sure the problem is with SABnzbd only, but for now it seems to be.

Edit 2:

I've got the idea that SABnzbd itself is running but that it's just really the webinterface because if i look into: /var/hda/files/Sab/Logs I see logs from since I first installed SABnzbd. But to just show a little bit of it:

Code: Select all

-------------------------------- 2011-10-15 14:12:03,228::INFO::[SABnzbd:974] SABnzbd.py-0.5.5 (rev=2498) 2011-10-15 14:12:03,228::INFO::[SABnzbd:984] Platform = posix 2011-10-15 14:12:03,228::INFO::[SABnzbd:985] Python-version = 2.7 (r27:82500, Sep 16 2010, 18:03:06) [GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] 2011-10-15 14:12:03,277::INFO::[__init__:702] /var/hda/files/Sab/Cache/bookmarks.sab removed 2011-10-15 14:12:03,278::INFO::[postproc:139] Loading postproc queue 2011-10-15 14:12:03,279::INFO::[__init__:702] /var/hda/files/Sab/Cache/postproc1.sab removed 2011-10-15 14:12:03,281::INFO::[downloader:334] Resuming 2011-10-15 14:12:03,293::INFO::[__init__:251] All processes started 2011-10-15 14:12:03,294::INFO::[SABnzbd:269] Web dir is /usr/share/sabnzbd/interfaces/smpl 2011-10-15 14:12:03,352::INFO::[SABnzbd:1038] Starting SABnzbd.py-0.5.5 2011-10-15 14:12:03,393::INFO::[dirscanner:375] Dirscanner starting up 2011-10-15 14:12:03,401::INFO::[SABnzbd:390] _yenc module... found! 2011-10-15 14:12:03,402::INFO::[SABnzbd:398] par2 binary... found (/usr/bin/par2) 2011-10-15 14:12:03,402::INFO::[SABnzbd:406] unrar binary... found (/usr/bin/unrar) 2011-10-15 14:12:03,402::INFO::[SABnzbd:411] unzip binary... found (/usr/bin/unzip) 2011-10-15 14:12:03,403::INFO::[SABnzbd:417] nice binary... found (/bin/nice) 2011-10-15 14:12:03,403::INFO::[SABnzbd:421] ionice binary... found (/usr/bin/ionice) 2011-10-15 14:12:03,404::INFO::[SABnzbd:426] pyOpenSSL... found (True) 2011-10-15 14:12:03,408::INFO::[SABnzbd:1136] Starting web-interface on 127.0.0.1:25919 2011-10-15 14:12:03,409::INFO::[_cplogging:55] [15/Oct/2011:14:12:03] ENGINE Bus STARTING 2011-10-15 14:12:03,412::INFO::[urlgrabber:103] URLGrabber starting up 2011-10-15 14:12:03,417::INFO::[_cplogging:55] [15/Oct/2011:14:12:03] ENGINE Started monitor thread '_TimeoutMonitor'. 2011-10-15 14:12:03,621::INFO::[_cplogging:55] [15/Oct/2011:14:12:03] ENGINE Serving on 127.0.0.1:25919 2011-10-15 14:12:03,622::INFO::[_cplogging:55] [15/Oct/2011:14:12:03] ENGINE Bus STARTED 2011-10-15 14:12:18,278::INFO::[rss:376] Running scheduled RSS scan 2011-10-15 14:12:23,280::INFO::[newzbin:365] Fetching Newzbin bookmarks
/var/hda/files/Sab/Logs/sabnzbd.error is empty.
To me it looks all good, but i'm no expert :-)

vinke
Posts: 2
Joined: Sat Oct 15, 2011 3:52 am

Re: SABnzbd 503 Error

Postby vinke » Sat Oct 15, 2011 6:08 am

Allright!

I fixed it!

When I was reading through my Logs again and reading this topic again: http://forums.amahi.org/viewtopic.php?f ... 7&start=10

It came to my attention that my installation was also on the wrong port!

Code: Select all

[Sat Oct 15 12:18:38 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:25914 (localhost) failed
and:

Code: Select all

web_color2 = "" host = 127.0.0.1 port = 25919 web_dir = smpl
Just didn't look right.

So after setting the right port and restarting my httpd service everything is fixed now.

Appologize me for the question I could find a solution for on the forum,
but hopefully it can help someone else now :-)

Who is online

Users browsing this forum: No registered users and 18 guests