Page 1 of 1

SOLVED: Subsonic Won't Start Ubuntu Server 11.10

PostPosted: Wed Dec 07, 2011 4:05 am
by theskudder
<-------------------------Subsonic Help Request---------------------->
Problem Description: When I run the command
Code: Select all
sudo /etc/init.d/subsonic start
the command will output
Code: Select all
Started Subsonic [PID 11840, /var/subsonic/subsonic_sh.log
however, nothing works, I cannot open the web interface (I get a could not connect error), and if I send
Code: Select all
sudo /etc/init.d/subsonic stop
to the server I get
Code: Select all
start-stop-daemon: warning: failed to kill 11840: No such process

Troubleshooting Steps: I have tried uninstalling and reinstalling openjdk-6-jre and subsonic both twice. When I run a port scan on the server port 4040 is not open.
Playback Application and version: None, I haven't gotten to that stage yet.
Subsonic Version: 4.6 (the latest version as of 7th December 2011)
Server Version: Can't access about screen but I am running Ubuntu Server 11.10 with Apache version 2.2.20 (from Webmin) and I can't find the java version, when I try
Code: Select all
java -version
I get
Code: Select all
The program 'java' can be found in the following packages:
* gcj-4.4-jre-headless
* gcj-4.6-jre-headless
* openjdk-6-jre-headless
* gcj-4.5-jre-headless
* openjdk-7-jre-headless
Try: apt-get install <selected package>
but openjdk-6-jre-headless is definitely installed.
Hardware Platform: Ubuntu Server 11.10 on a box with a 2.8GHz P4 and 1GB of RAM.
Java Memory Limit: Unknown
Output from ffmpeg -i:
Code: Select all
The program 'ffmpeg' is currently not installed.  You can install it by typing:
apt-get install ffmpeg

Last ten log file lines:
Code: Select all
/usr/bin/subsonic: 124: java: not found

<-------------------------Subsonic Help Request---------------------->

Re: Subsonic Won't Start

PostPosted: Fri Dec 09, 2011 12:49 am
by theskudder
Can someone please help. I'm quite stuck on this one.

Re: Subsonic Won't Start Ubuntu Server 11.10

PostPosted: Fri Dec 09, 2011 1:19 am
by BKKKPewsey
I have edited the thread title which might help.
I think the problem is that java is not being installed correctly but you will have to wait for a Ubuntu user for further help.
:mrgreen:

Re: Subsonic Won't Start Ubuntu Server 11.10

PostPosted: Fri Dec 09, 2011 5:25 am
by theskudder
Oh thanks, well I guess I'll keep trying while I wait

Re: Subsonic Won't Start Ubuntu Server 11.10

PostPosted: Fri Dec 09, 2011 5:32 am
by theskudder
Oooh I fixed it. I had to install openjdk-7-jre-headless instead of openjdk-6-jre like it said in the instructions.

Re: SOLVED: Subsonic Won't Start Ubuntu Server 11.10

PostPosted: Tue Dec 13, 2011 7:23 am
by spookybathtub
I have the exact same symptoms as the OP. It started today, which seems to coincide with my last software update. But oddly, I don't think I updated anything related to java. I've attached my update history from synaptic, if that's helpful.

For several months, I've had sun-java6-jdk installed with no error. Does anyone know what this could be?

Re: SOLVED: Subsonic Won't Start Ubuntu Server 11.10

PostPosted: Tue Dec 13, 2011 7:38 am
by spookybathtub
Well I just updated to subsonic 4.6 and the problem is solved.