503 Service Unavailable

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: 503 Service Unavailable

Postby moredruid » Sun Nov 21, 2010 12:03 pm

Yay,

sabnzbd is broken again (version 0.5.4), reinstalling the app didn't work, according to netstat I have a TIME_WAIT on the same port as configured in the 1002-sabnzbd file in /etc/http/conf.d/ (ending in 14).

first I had to sort out a permission issue (the log files from the previous version were owned by root) before sabnzbd could even start.

I updated my system but that didn't help as well.

That's all the info I have at the moment.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

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

Re: 503 Service Unavailable

Postby bigfoot65 » Sun Nov 21, 2010 1:06 pm

I just tried it on my F12 VM and it worked fine. There may be something going on with your HDA. If you can find anything for us to go on, we can see if we can affect a change.

I have noticed with some apps that it leaves stuff behind and that could cause issues. I had that problem with Nagios. Just a thought.
ßîgƒσστ65
Applications Manager

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

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: 503 Service Unavailable

Postby moredruid » Mon Nov 22, 2010 12:31 am

Well, the point is that I didn't change anything. The app itself gave notice that an update was available but I ignored that. It basically went from running to stopped to not being able to start anymore.

Now I'm able to start the process (I can see it running) but the webinterface is not available.

In my previous post I mentioned a lot of symlinks I needed to create because the download directory is hardcoded to /var instead of /var/hda/files (and on my system that means a completely different mount point!) so that might be an issue.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

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

Re: 503 Service Unavailable

Postby bigfoot65 » Mon Nov 22, 2010 7:33 am

Understand. Wonder if the hard coded path is by default in the app? If not, it might be something we can customize in the rpm.
ßîgƒσστ65
Applications Manager

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

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: 503 Service Unavailable

Postby moredruid » Mon Nov 22, 2010 8:17 am

well yes and no, they're in the sabnzbd.ini file, which assumes a working directory /var/ IIRC.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

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

Re: 503 Service Unavailable

Postby bigfoot65 » Mon Nov 22, 2010 9:08 am

That ini file is part of the RPM I believe. If so, we can change it and recompile. Might be a good thing to do with the next version. It seems this app gets updates a lot lately.

I may try to make the change and recompile. Then once tested, we can put it live.
ßîgƒσστ65
Applications Manager

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

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: 503 Service Unavailable

Postby moredruid » Tue Nov 23, 2010 12:23 am

OK, thanks for picking this one up.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: 503 Service Unavailable

Postby kikkegek » Tue Aug 09, 2011 11:43 am

OK, just in case anyone is interested, I managed to solve the problem.

/etc/httpd/conf.d/1002-sabnzbd.conf was mapping to localhost on port 25914:

Code: Select all

ProxyPass / http://localhost:25914/sabnzbd/ ProxyPassReverse / http://localhost:25914/sabnzbd/
My SABnzbd installation is currently set up to listen on port 25919. All I had to do was update the 1002-sabnzbd.conf file to map to port 25919, reload the httpd service, and everything was back up and running.

I have no idea how the port mapping got out of sync, although I wouldn't be surprised if it had something to do with the manual update I tried to perform.

I hope this helps out others :)
thanks man! this also solved it for me.

I just got an error rebooting the httpd service:

Code: Select all

[root@AMAHI conf.d]# service httpd restart Stopping httpd: [ OK ] Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName [ OK ] [root@AMAHI conf.d]#

Who is online

Users browsing this forum: No registered users and 35 guests