HTTP ERROR: 503

Need help? Post your questions here.

Moderator: moderators

Postby GJ51 » Thu Mar 03, 2011 10:52 pm

You can do this pretty easily with Synctoy.
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

Postby donjulien » Thu Mar 03, 2011 11:24 pm

@GJ51: True. Not a bad idea to use *any* general backup tool for this purpose. SyncToy works pretty well, but my final music server will have be on Linux, so some rsync is in order.

Still, I'm thinking on less tech-savvy users for whom Subsonic would simply "keep on working" transparently even when the db got corrupted.
donjulien
 
Posts: 16
Joined: Fri Oct 22, 2010 12:13 am

Postby GJ51 » Thu Mar 03, 2011 11:33 pm

Yes, that would be a nice feature to have.
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

Postby petej830 » Fri Apr 01, 2011 1:26 am

denney wrote:I just experienced this problem with 3.7 beta 1 on Ubuntu 9.04. I'd say it was due to an unclean reboot of the computer which caused the database to become corrupt. :cry:

Deleting the "db" folder and running Subsonic again fixed the problem. I've taken a backup of the "db" folder after setting all the settings again to safeguard against this next time. :oops:


I'm going through the same thing. i also think it was due to a unclean reboot of the computer...do you know where the "db" folder is working in the terminal...i'm running ubuntu server edition and there is no GUI
petej830
 
Posts: 4
Joined: Fri Apr 01, 2011 12:11 am

Postby petej830 » Fri Apr 01, 2011 1:59 am

denney wrote:I just experienced this problem with 3.7 beta 1 on Ubuntu 9.04. I'd say it was due to an unclean reboot of the computer which caused the database to become corrupt. :cry:

Deleting the "db" folder and running Subsonic again fixed the problem. I've taken a backup of the "db" folder after setting all the settings again to safeguard against this next time. :oops:


is there anyway you think i could get a copy of your "db" folder. i found it under the path /var/subsonic
petej830
 
Posts: 4
Joined: Fri Apr 01, 2011 12:11 am

Re: HTTP ERROR: 503

Postby Mangraa » Fri Apr 01, 2011 8:48 am

utbluesman wrote:First, have to say, great application.
Have been using 3.5beta1 and it's really quite good. Well done.

The server has been running 3.5beta1 for a week or more now without issue.

Suddenly, today, I get.
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/

Powered by jetty://
---------


Yup, same issue, am kinda going bonkers over it, but done for the day ..."glad" to see it's not just me, not to mean I'm glad others have problems, but .. yknow...
Mangraa
 
Posts: 5
Joined: Sat Sep 18, 2010 10:23 pm
Location: Los Angeles

Postby aporia » Mon Apr 04, 2011 10:25 pm

has this been resolved? I'm still having the same problem

on ubuntu 10.10

subsonic version 4.4


deleting db folder in /var/subsonic yielded no results.

reinstalling subsonic yielded no results

rebooting the machine... NO RESULTS!

still the damn 503 service unavailable (powered by jetty).

I've done a -force-restart for the subonic service as well as a start/stop for all of the above-mentioned methods.

running out of ideas... and I've gotten too used to accessing my music remotely!

any help still out there?
aporia
 
Posts: 2
Joined: Mon Apr 04, 2011 10:15 pm

Postby GJ51 » Tue Apr 05, 2011 1:59 am

Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.
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

Postby jaja » Fri Apr 08, 2011 9:45 pm

Hi !

same problem in Kubuntu 10.10 :cry: the port 4040 is open...

database problem I think :

Code: Select all
[2011-04-08 23:42:08,395] INFO DaoHelper - Checking database schema.
[2011-04-08 23:42:08,579] INFO Schema25 - Database table 'version' not found.  Creating it.
[2011-04-08 23:42:08,579] ERROR DaoHelper - Failed to initialize database.
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: User not found: SA
   at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:429)
   at net.sourceforge.subsonic.dao.schema.Schema25.execute(Schema25.java:36)
   at net.sourceforge.subsonic.dao.DaoHelper.checkDatabase(DaoHelper.java:107)
   at net.sourceforge.subsonic.dao.DaoHelper.<init>(DaoHelper.java:64)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
   at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
   at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
   at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
   at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
   at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
   at org.mortbay.jetty.Server.doStart(Server.java:217)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at net.sourceforge.subsonic.booter.deployer.SubsonicDeployer.deployWebApp(SubsonicDeployer.java:131)
   at net.sourceforge.subsonic.booter.deployer.SubsonicDeployer.<init>(SubsonicDeployer.java:65)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
   at net.sourceforge.subsonic.booter.Main.<init>(Main.java:16)
   at net.sourceforge.subsonic.booter.Main.main(Main.java:24)
Caused by: java.sql.SQLException: User not found: SA
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
   at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
   at org.hsqldb.jdbcDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:620)
   at java.sql.DriverManager.getConnection(DriverManager.java:169)
   at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:174)
   at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:165)
   at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
   at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
   at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
   at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
   ... 76 more

[2011-04-08 23:42:08,814] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Sat Apr 09 03:00:00 CEST 2011
[2011-04-08 23:42:11,940] INFO NetworkService - Successfully forwarding port 4040.


java is ON !
regards
jaja
User avatar
jaja
 
Posts: 32
Joined: Mon Jan 24, 2011 1:21 pm

Postby jaja » Sat Apr 09, 2011 8:14 pm

Hi !

I purge subsonic 4.4 and install back => same problem

I install back 4.3 => same problem !

what's happen ?
regards
jaja
User avatar
jaja
 
Posts: 32
Joined: Mon Jan 24, 2011 1:21 pm

subsonic.lck - possible solution

Postby Daneel » Tue Apr 12, 2011 4:59 pm

Hello,

I landed in this thread looking for help about the same error (HTTP ERROR: 503...).

Following the hint about the db folder, I had a look there, and found the file subsonic.lck, an empty file probably related to database locking.
I stopped the subsonic service, removed the file, and restarted. The 503 error was gone :)

Note that I have a subsonic installation done with the provided package (.deb) under ubuntu 10.10, and modified it in order to run subsonic with a dedicated user (not root like default installation does - see http://forum.subsonic.org/forum/viewtopic.php?t=5098). I found out that the subsonic.lck file was owned by root. Now, it is owned by the expected user.

Cheers,
Daneel[/url]
Daneel
 
Posts: 1
Joined: Tue Apr 12, 2011 4:41 pm

Re: Thanks Sindre

Postby HalfEmpty » Tue Jun 14, 2011 5:08 pm

utbluesman wrote:Just as a heads up, I ended up uninstalling the Beta, then crawling through the registry deleting all references to Subsonic, then deleting c:\subsonic as well.
After a reboot, I reinstalled the Beta and all works well.

Not the prettiest solution, but it's up and running.

Thanks for the quick response.

Again, very cool application.


I've been having a tough time with this for a few months. I'm not nearly as PC savvy as most I've encountered here so is there a chance you could outline how I should go about finding all the referrences in my registry? I know how to get into regedit and can find Subsonic in software, but outside of that I have no way of knowing how many other references I have to find and delete

also, is the /db file a hidden file? when I go into C:\subsonic I never see it.

any help would be appreciated, sorry for dredging up an old thread as well. I have programs that I can stream to myself with, but Subsonic was hands down the best to get my music to ANYONE else at ANYTIME (thanks Sindre!) I'd really like to get it running again.
HalfEmpty
 
Posts: 1
Joined: Sun May 08, 2011 3:58 pm

Postby GJ51 » Tue Jun 14, 2011 5:28 pm

What OS are you on?

Assuming Windows. you should do an uninstall from Control panel, then delete the C;\Subsonic directory to do a complete uninstall. I also recommend uninstalling all Java entries through control panel, then go to http://www.java.com/en/download/manual.jsp and install the latest java version before reinstalling the latest Subsonic version.
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

Postby Castius » Tue Jul 19, 2011 8:01 am

I just got this error! Thank goodness i had a resent backup. I do a backup before every version update.

This was either from a random reboot. Or a failed java update install that failed.
Castius
 
Posts: 34
Joined: Wed Sep 02, 2009 9:11 pm

503 Error

Postby Aethies » Tue Jul 19, 2011 1:24 pm

I used to get this error on new installs in Ubuntu Server. The problem that I found was that the subsonic service user was NOT the owner of /var/subsonic and so therefore was not allowed to create folders/subfolders.

A quick line fixed all that...
Code: Select all
# chown -R subsonic:subsonic /var/subsonic


Then a restart on the service (I actually did a reboot) and all was well with the world.
Aethies

Ubuntu Server 12.04
===================
3,281 artists
9,432 albums
113,608 songs
2636.09 GB (10,769 hours)
===================
User avatar
Aethies
 
Posts: 197
Joined: Fri Oct 24, 2008 4:33 pm

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 35 guests