503 on clean install from PAID app. Amahi 6

Feanor
Posts: 12
Joined: Tue Mar 08, 2011 3:15 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby Feanor » Thu Mar 10, 2011 3:48 pm

Also, I get:

Code: Select all

# service sabnzbd status sabnzbd dead but subsys locked
and the /var/hda/web-apps/sabnzbd/logs/error_log contains:

Code: Select all

[Thu Mar 10 22:52:49 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:25914 (localhost) failed [Thu Mar 10 22:52:49 2011] [error] ap_proxy_connect_backend disabling worker for (localhost)
for each access attempt.

I bet I know what it is - is it because I run headless?

*edit* That was it - changed

Code: Select all

host = 127.0.0.1
in /var/spool/sabnzbd/sabnzbd.ini to the actual IP, and accessed it on port 8080 - no problems.[/color]

Changing the port to 25914 still doesn't let me access it from the HDA dashboard though :/

thegeebs
Posts: 32
Joined: Tue Feb 15, 2011 10:38 pm
Location: Michigan, USA

Re: 503 on clean install from PAID app. Amahi 6

Postby thegeebs » Fri Mar 11, 2011 4:09 pm

@Feanor: If you read above they're aware Sabnzbd isn't working due to the "unrar" package not being available. Most likely causing the 503 error.

What I don't understand is why did it work 1 week before when I was running Amahi 5 on 12? Any news on when unrar will be fixed?
Linux is not user friendly!

thegeebs
Posts: 32
Joined: Tue Feb 15, 2011 10:38 pm
Location: Michigan, USA

Re: 503 on clean install from PAID app. Amahi 6

Postby thegeebs » Sat Mar 12, 2011 2:00 pm

I think you should have left it at 0.0.0.0. Prior to Amahi 6 if I changed the port or IP I got 503 errors. When I had it as 0.0.0.0 I was able to access it from directly typing the HDA's ip with port 25914. I think that directs it to all adapters instead of just localhost.
Changing the port to 25914 still doesn't let me access it from the HDA dashboard though :/
Aside from Sab being broken, I think that's because the Amahi script doesn't know you change a port and will only direct to the default. In CouchPotato I left it as 0.0.0.0 but changed the port to 8082. This broke the link from the Dashboard but it could still be accessed at 192.168.1.1:8082 (for examble.) When I changed it back to port 5000 the link worked.
Linux is not user friendly!

Feanor
Posts: 12
Joined: Tue Mar 08, 2011 3:15 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby Feanor » Sun Mar 13, 2011 2:24 am

It's not due to unrar not being present, those weren't the errors I was getting - unrar is installed fine, and working fine. Other than not being able to use http://sabnzbd to get to it, everything with sabnzbd, sickbeard and couchpotato is working perfectly now :)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby bigfoot65 » Sun Mar 13, 2011 7:04 am

So it is working, but not the URL? Are you using Amahi as your DHCP and DNS server?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Feanor
Posts: 12
Joined: Tue Mar 08, 2011 3:15 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby Feanor » Sun Mar 13, 2011 8:13 am

Yep - sickbeard works on http://sickbeard but sabnzbd does not work on http://sabnzbd - only by entering the ip:port. It's not a major problem, and of course I can live with it, but I'd rather it worked :)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby bigfoot65 » Sun Mar 13, 2011 8:35 am

It is a big deal for us though. Need to figure out why its not working. Can you please look at the .conf file located in /etc/httpd/conf.d for sabnzbd?

I am interested in the top 10 lines. Also, did you modify anything with this app, i.e. the config file for it or this file by chance?

I have not been able to repeat the issue, so I want to understand what is going on and troubleshoot to ensure this does not reoccur.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Feanor
Posts: 12
Joined: Tue Mar 08, 2011 3:15 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby Feanor » Sun Mar 13, 2011 1:57 pm

/etc/httpd/conf.d/1009-sabnzbd.conf:

Code: Select all

<VirtualHost *:80> ServerName sabnzbd ServerAlias sabnzbd.home.com ProxyPass / http://localhost:25914/sabnzbd/ ProxyPassReverse / http://localhost: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>
Haven't modified this at all - I have modified /var/spool/sabnzbd/sabnzbd.ini, changing:

Code: Select all

host = 127.0.0.1
to the actual ip:port as before this I couldn't access it at all. I still get 503's either way when trying to access from within the HDA Control Panel.

Thank you for looking into this, much appreciated!

Feanor
Posts: 12
Joined: Tue Mar 08, 2011 3:15 pm

Re: 503 on clean install from PAID app. Amahi 6

Postby Feanor » Tue Mar 29, 2011 11:44 am

Does anybody have any more suggestions?

thegeebs
Posts: 32
Joined: Tue Feb 15, 2011 10:38 pm
Location: Michigan, USA

Re: 503 on clean install from PAID app. Amahi 6

Postby thegeebs » Tue Mar 29, 2011 12:18 pm

What if you edited /etc/httpd/conf.d/1009-sabnzbd.conf and changed localhost to 127.0.0.1?

I don't know if it's safe, but it's an idea. Should be okay if you backup the file before editing so you can reload it if something goes awry

Example

Code: Select all

ProxyPass / http://127.0.0.1:25914/sabnzbd/ ProxyPassReverse / http://127.0.0.1:25914/sabnzbd/
Linux is not user friendly!

Who is online

Users browsing this forum: No registered users and 24 guests