HTTP ERROR 503

Need help? Post your questions here.

Moderator: moderators

Re: HTTP ERROR 503

Postby mudsharkymon » Fri Mar 20, 2020 10:09 pm

Thank you. The chgs to the .properties file was all that was needed.
Playback Application and version: Subsonic
Subsonic Version: 5.1 (build 4310) - January 18, 2015
Server Version: jetty-6.1.x, java 1.7.0_65, FreeBSD (86.2 MB / 148.0 MB)
Hardware Platform: FreeNAS
mudsharkymon
 
Posts: 57
Joined: Mon May 04, 2009 5:36 am

Re: HTTP ERROR 503

Postby pattirules » Sun May 10, 2020 6:19 pm

i would like to try changing the property value but i am not great at this can anyone explain a step by step for me ? thanks
pattirules
 
Posts: 29
Joined: Sun Jan 01, 2012 6:09 am

Re: HTTP ERROR 503

Postby pattirules » Sat Oct 03, 2020 11:38 pm

got this again anyone else????????????????????????
started today
reinstalled and its still there
did not delete first
any suggestions
anyone else experiencing a problem?
pattirules
 
Posts: 29
Joined: Sun Jan 01, 2012 6:09 am

Re: HTTP ERROR 503

Postby hmathieu » Tue Nov 24, 2020 7:37 pm

I get it at every install (on compute engine Ubuntu or my raspberry pi)

doing this fixes it
sudo update-alternatives --config java then try one of the alternatives (1 or 2)

Should look something like this

Code: Select all
pi@raspberrypi:~ $ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-11-openjdk-armhf/bin/java      1111      auto mode
  1            /usr/lib/jvm/java-11-openjdk-armhf/bin/java      1111      manual mode
  2            /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java to provide /usr/bin/java (java) in manual mode

pi@raspberrypi:~ $ sudo service subsonic restart
hmathieu
 
Posts: 4
Joined: Sun Nov 22, 2020 4:32 pm

Re: HTTP ERROR 503

Postby Delvekior » Sat Jan 30, 2021 12:14 pm

Hello Everybody,

I'm new in this forum, but I'm also new with Raspbian (I do not know many of the usual commands) and I just installed Subsonic on my Raspberry Pi 4.

I followed instructions from this website https://www.electromaker.io/tutorial/bl ... spberry-pi (install openjdk-8-jre) and so on...

But when I'm connecting to http://localhost:4040 I obtain the same error page as listed in this thread, but as my first contact with Subsonic Interface:
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/

Powered by jetty://


I stopped and started the service several times (and reboot the system) with no luck.

I understood the db may create troubles so I tried a sudo nano /var/subsonic/db/subsonic.propreties that tells me that "Directory "/var/subsonic/db" does not exist".

My /etc/environment has got only one line:
JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt

My java -version is:
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Raspbian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode)


And the sudo tail /var/subsonic/subsonic_sh.log command returns:
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:24)
at net.sourceforge.subsonic.booter.Main.main(Main.java:63)
10424 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on: http://localhost:4040/
10548 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
10714 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
11164 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:9412](local),objID:[0:0:0, 0]]]]
[3611,302s][info][gc] GC(3) Pause Full (System.gc()) 23M->8M(30M) 98,812ms


I do not understand what I did wrong, and I do not really understand how to uninstall a .deb package (I found the wo-to for apt packages).

I really hope I have rightfully introduced myself and someone may help me to understand the trouble and solve it.

Have a nice day!
Delvekior
 
Posts: 2
Joined: Sat Jan 30, 2021 11:45 am

Re: HTTP ERROR 503

Postby Delvekior » Sat Jan 30, 2021 5:03 pm

PS: I checked the sudo update-alternatives --config java options but it didn't work (every of these options does send me the same error)
Delvekior
 
Posts: 2
Joined: Sat Jan 30, 2021 11:45 am

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests