After every reboot: HTTP ERROR: 503 SERVICE_UNAVAILABLE

Need help? Post your questions here.

Moderator: moderators

After every reboot: HTTP ERROR: 503 SERVICE_UNAVAILABLE

Postby fivestones » Sat Feb 19, 2011 5:08 pm

The short:
HTTP ERROR: 503 SERVICE_UNAVAILABLE comes up after every reboot of my ubuntu system. To fix, have to delete the subsonic database and restart subsonic. Don't want to do this every time.

The long:
I'm running subsonic 4.4 on Ubuntu 10.04 and every time I reboot the computer I get HTTP ERROR: 503 SERVICE_UNAVAILABLE instead of subsonic when going to the subsonic page. There are several other posts about this (for example, http://forum.subsonic.org/forum/viewtopic.php?t=3054 and http://forum.subsonic.org/forum/viewtopic.php?p=10297 and many others) and after reading there I've found how to fix it (until the next reboot)--I just delete the database, and then sudo service subsonic restart. This makes it work again, but with all my settings gone. I've done this so many times now that I've started having my backup software back up every permutation of the subsonic database so that after a reboot I can restore the database from right before the reboot. This works but is a big hassle.

It seems that obviously the problem is due to a corrupted database which gets corrupted during rebooting somehow. So how is it getting corrupted? I don't know if this is a subsonic problem or an Ubuntu problem, but either way despite all the posts about this error (and the likelihood that a lot or all of them are also due to a corrupted database) I have yet to see any better solution than to delete the database and restart subsonic.

Any ideas anyone? Any other information I can bring to help someone help me figure out a solution?

...and, THANKS Sindre for the sweet software! :!:
fivestones
 
Posts: 10
Joined: Sun Jul 11, 2010 2:59 pm

Postby fivestones » Fri Mar 04, 2011 3:51 am

Nobody? I know other people have had this same problem...did anyone ever figure out how to fix it or where the problem was stemming from?

Thanks!
fivestones
 
Posts: 10
Joined: Sun Jul 11, 2010 2:59 pm

Postby donpearson » Fri Mar 04, 2011 1:42 pm

maybe a stupid question, but have you uninstalled subsonic rebooted and then reinstalled it?
Facebook Group:
http://www.facebook.com/groups/subsonic.group/

Image
donpearson
 
Posts: 361
Joined: Wed Oct 15, 2008 3:53 pm
Location: UK

Postby tmadison » Fri Mar 04, 2011 9:29 pm

I'm having the same problem.

My config is Opensuse 11.4, w/ apache 2 and tomcat 6 running subsonic 4.4

The logs report that the database is still in use as the database lock file is there.

The first few times I fixed the problem by deleting the /var/subsonic folder, but now I have too much involved on the config. I undeployed the war file with tomcat and then reployed it. I also deleted the lock file. That seemed to work.
tmadison
 
Posts: 1
Joined: Fri Mar 04, 2011 9:08 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 11 guests