Revisit: 503 errors [Resolved]

Need help? Post your questions here.

Moderator: moderators

Revisit: 503 errors [Resolved]

Postby MyD0j0 » Fri Apr 27, 2012 6:10 pm

Hi all and thanks for the forums! I see where there are a lot of posts about this 503 error when trying to access subsonic and haven't had any luck with the suggestions for fixing, so I thought I would ask it again! In following some of the other forum suggestions, I have deleted /var/subsonic/db directory and restarted so to rebuild; I have even ap-get remove and then deleted all the reminaing files and re-installed. I have had it runnning in the past and used it with my android until the trial ended; it took me a while to do the donation to get the license, so I'm not sure when it stopped working.

I'm running subsonic on an Ubuntu 11.10 headless server connected to my local network with wired lan to my belkin N600 wireless router; I am forwarding port 4040 to the ip of my server in the router. I've attached copies of subsonic.log and subsonic_sh.log; I see a warn (no upnp router found [note that I'm port forwarding as stated above]) and also several lines saying along the lines of "[Full GC 8053K->7174K(20636K), 0.1162790 secs]"

Java version:
Code: Select all
root@CentralD0j0:~# java -version
java version "1.6.0_23"

root@CentralD0j0:~# uname -a
Linux CentralD0j0 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux


(edited for kernel version)

Anyone with experience in interpreting the logs that can help me figure out why this isn't running?

Thanks so much!
MyD0j0
 
Posts: 5
Joined: Wed Apr 25, 2012 6:51 pm

Re: Revisit: 503 errors

Postby bushman4 » Fri Apr 27, 2012 6:35 pm

I didn't re-read your whole thread, but in the subsonic_sh.log is this line:

Code: Select all
5478 [main] WARN org.mortbay.log - failed SelectChannelConnector@0.0.0.0:4040


Which tells me you already have a service running on port 4040...

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Fixed: Revisit: 503 errors

Postby MyD0j0 » Fri Apr 27, 2012 7:19 pm

Thanks bushman4! It appears java was running on tcp6 port 4040 (though I'm not using tcp v6...something to look into I suppose). Changed the port and port forwarding and I'm back up and running!
MyD0j0
 
Posts: 5
Joined: Wed Apr 25, 2012 6:51 pm

Re: Revisit: 503 errors [Resolved]

Postby MyD0j0 » Fri May 04, 2012 1:31 am

Well, that was short lived. Now I'm seeing the same error using port 5050.
here is the output of 'service subsonic restart' and 'netstat -lp -t'

Code: Select all
root@CentralD0j0:~# service subsonic restart
* Restarting Subsonic Daemon subsonic                                                                                         Started Subsonic [PID 5221, /var/subsonic/subsonic_sh.log]
                                                                                                                        [ OK ]
root@CentralD0j0:~# netstat -lp -t
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:nfs                   *:*                     LISTEN      -               
tcp        0      0 *:53032                 *:*                     LISTEN      -               
tcp        0      0 localhost:mysql         *:*                     LISTEN      1085/mysqld     
tcp        0      0 *:sunrpc                *:*                     LISTEN      850/rpcbind     
tcp        0      0 *:webmin                *:*                     LISTEN      1334/perl       
tcp        0      0 *:www                   *:*                     LISTEN      1091/apache2   
tcp        0      0 *:54706                 *:*                     LISTEN      1262/rpc.mountd
tcp        0      0 *:33814                 *:*                     LISTEN      1262/rpc.mountd
tcp        0      0 *:ssh                   *:*                     LISTEN      947/sshd       
tcp        0      0 *:40953                 *:*                     LISTEN      954/rpc.statd   
tcp        0      0 *:49152                 *:*                     LISTEN      1310/ushare     
tcp        0      0 *:40640                 *:*                     LISTEN      1262/rpc.mountd
tcp6       0      0 [::]:nfs                [::]:*                  LISTEN      -               
tcp6       0      0 [::]:9412               [::]:*                  LISTEN      1358/java       
tcp6       0      0 [::]:54823              [::]:*                  LISTEN      -               
tcp6       0      0 [::]:4040               [::]:*                  LISTEN      1358/java       
tcp6       0      0 [::]:38538              [::]:*                  LISTEN      1262/rpc.mountd
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN      850/rpcbind     
tcp6       0      0 [::]:60081              [::]:*                  LISTEN      1358/java       
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      947/sshd       
tcp6       0      0 [::]:42392              [::]:*                  LISTEN      1262/rpc.mountd
tcp6       0      0 [::]:40892              [::]:*                  LISTEN      954/rpc.statd   
tcp6       0      0 [::]:51038              [::]:*                  LISTEN      1262/rpc.mountd
MyD0j0
 
Posts: 5
Joined: Wed Apr 25, 2012 6:51 pm

Re: Revisit: 503 errors [Resolved]

Postby BKKKPewsey » Fri May 04, 2012 2:45 pm

Me eyes aint wot they used to be :shock: but I cannot see any port #5050 shown in that log :?
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Revisit: 503 errors [Resolved]

Postby bushman4 » Fri May 04, 2012 3:04 pm

Nor do I... I would suspect that Subsonic is not shutting down completely and releasing the port.

Does a reboot make it work again?

Just a suggested testing step, not a solution...

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Revisit: 503 errors [Resolved]

Postby GJ51 » Fri May 04, 2012 3:59 pm

Just a thought:

I seem to recall that many times this is related to a file with an .lck extension in the db folder that doesn't get undone properly. Deleting it has fixed the issue in the past.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Revisit: 503 errors [Resolved]

Postby MyD0j0 » Mon May 07, 2012 2:43 am

Sorry I haven't responded sooner, guys, I really do appreciate the help.

We've had some rough storms around here in the central midwest and I lost power on the box. Somehow several sub-directories on my raid disk were deleted (mounted nfs issue?) and I've been working with extundelete to get my data back (I know, backup...but the box was only a couple months old and I hadn't been able to aford a viable backup disk for the nearly 1Tb of data I had yet; a ups is now also on my list of things to get).

Anyway, I'm not ignoring you--I just haven't been able to try your suggestions yet! ):
MyD0j0
 
Posts: 5
Joined: Wed Apr 25, 2012 6:51 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests