No Web Interface under Ubuntu Server

Need help? Post your questions here.

Moderator: moderators

No Web Interface under Ubuntu Server

Postby mozicodo » Wed Dec 01, 2010 4:32 am

I installed Subsonic 4.2 on Ubuntu server 10.10. It's fairly vanilla except for Samba and Apache. It has OpenJDK on it as per the instructions. When I browse to Subsonic I just see the contents of the war and not an actual interface:

Code: Select all
Directory: /
WEB-INF/    4096 bytes    Nov 30, 2010 9:12:26 PM
ad/    4096 bytes    Nov 30, 2010 9:12:26 PM
error.jsp    2122 bytes    Jan 22, 2010 6:47:02 PM
flash/    4096 bytes    Nov 30, 2010 9:12:26 PM
icons/    4096 bytes    Nov 30, 2010 9:12:26 PM
script/    4096 bytes    Nov 30, 2010 9:12:26 PM
style/    4096 bytes    Nov 30, 2010 9:12:26 PM
xsd/    4096 bytes    Nov 30, 2010 9:12:26 PM


Here's my log file:

Code: Select all
19 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.sp
ringframework.context.support.ClassPathXmlApplicationContext@1ed2ae8: display name [org.springframewo
rk.context.support.ClassPathXmlApplicationContext@1ed2ae8]; startup date [Tue Nov 30 21:26:29 MST 201
0]; root of context hierarchy
100 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean defi
nitions from class path resource [applicationContext-deployer.xml]
679 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for
application context [org.springframework.context.support.ClassPathXmlApplicationContext@1ed2ae8]: or
g.springframework.beans.factory.support.DefaultListableBeanFactory@1125127
696 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiat
ing singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1125127: defin
ing beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
729 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mor
tbay.log.Slf4jLog
Using WAR file: /usr/share/subsonic/subsonic.war
Extracting webapp to /var/subsonic/jetty/1944
Using WAR file: /usr/share/subsonic/subsonic.war
785 [main] INFO org.mortbay.log - jetty-6.1.x
41452 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on http://localhost:4040/
41526 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at p
ort '9412'
41553 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry
- creating new one
41602 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDepl
oyerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:9412](loca
l),objID:[0:0:0, 0]]]]
mozicodo
 
Posts: 9
Joined: Wed Dec 01, 2010 4:27 am

Postby mozicodo » Wed Dec 01, 2010 4:15 pm

Yes it's running. The files that are listed above when I browse to http://localhost:4040 are the same ones in the /var/subsonic/jetty/1944/webapp directory.
mozicodo
 
Posts: 9
Joined: Wed Dec 01, 2010 4:27 am

Postby mozicodo » Wed Dec 01, 2010 11:21 pm

I have Apache running on here so if I go to http://localhost/ I get the default Apache screen. I haven't made any changes to any files.
mozicodo
 
Posts: 9
Joined: Wed Dec 01, 2010 4:27 am

Postby mozicodo » Wed Dec 01, 2010 11:26 pm

'ps ax' will list running processes.

Also, if it weren't running I wouldn't get anything at port 4040 and if I shutdown the subsonic service nothing is there.
mozicodo
 
Posts: 9
Joined: Wed Dec 01, 2010 4:27 am

Postby mozicodo » Wed Dec 01, 2010 11:35 pm

Well it's a problem with 4.2. The 4.2 beta1 deb worked fine.
mozicodo
 
Posts: 9
Joined: Wed Dec 01, 2010 4:27 am

Postby oeh » Thu Dec 02, 2010 6:32 am

to see whether subsonic are running or not:

Code: Select all
$ sudo service subsonic staus


all commands for subsonic:

{start|stop|status|restart|force-reload}
Regards
OEH ;-}
User avatar
oeh
 
Posts: 89
Joined: Wed Apr 21, 2010 9:26 pm
Location: Oslo Norway

Postby ootuoyetahi » Fri Dec 03, 2010 1:36 pm

mozicodo wrote:I have Apache running on here so if I go to http://localhost/ I get the default Apache screen. I haven't made any changes to any files.


The .deb is packaged with jetty i believe. To make it work with Apache you will need to make changes, a significant amount i believe. I found the tomcat/war file route was easier, plus it was fairly easy to set up SSL.
ootuoyetahi
 
Posts: 53
Joined: Wed Mar 24, 2010 7:10 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests