Page 1 of 1

Didnt succeed to install properly subsonic on debian

PostPosted: Sun Nov 11, 2012 5:47 pm
by Rodrive
Hi,
first of all sorry for my english.
I wanted to install subsonic on my debian server so i did like it said in the installations guide. openjdk is installed, i installed the package and i opened the good port on iptables. But when i try to go to xxx.xxx.xxx:4040 i have nothing...
I try to reinstall it, i have enabled all port on iptables but nothing change. Here is my subsonic_sh.log file :
Code: Select all
32 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@620b66cc: display name [org.springframework.context.support.ClassPathXmlAp$
[GC 2176K->208K(7936K), 0.0070570 secs]
184 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
[GC 2375K->276K(7936K), 0.0047850 secs]
[GC 2452K->329K(7936K), 0.0051730 secs]
[GC 2504K->464K(7936K), 0.0037940 secs]
827 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@620b66cc]: org.springframework.beans.factory.s$
[GC 2640K->430K(7936K), 0.0039900 secs]
898 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@538f1d7e: defining beans [service,org.springfram$
924 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Using WAR file: /usr/share/subsonic/subsonic.war
Extracting webapp to /var/subsonic/jetty/3105
Using WAR file: /usr/share/subsonic/subsonic.war
964 [main] INFO org.mortbay.log - jetty-6.1.x
[GC 2603K->473K(7936K), 0.0037770 secs]
[GC 2649K->816K(7936K), 0.0054210 secs]
[GC 2979K->948K(7936K), 0.0022860 secs]
[GC 3105K->955K(7936K), 0.0014780 secs]
[GC 3125K->998K(7936K), 0.0006330 secs]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/subsonic/jetty/3105/webapp/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[GC 3174K->1088K(7936K), 0.0032990 secs]
[GC 3264K->1151K(7936K), 0.0035720 secs]
[GC 3327K->1180K(7936K), 0.0014260 secs]
[GC 3350K->1176K(7936K), 0.0021870 secs]
[GC 3352K->1389K(7936K), 0.0035830 secs]
2287 [main] INFO / - Initializing Spring root WebApplicationContext
2287 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
2386 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@d18d189: display name [Root WebApplicationContext]; startup date [Sun Nov 11$
[GC 3555K->1287K(7936K), 0.0019810 secs]
2510 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml]
[GC 3463K->1561K(7936K), 0.0024710 secs]
2884 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
3014 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-cache.xml]
[GC 3737K->1987K(7936K), 0.0047870 secs]
3114 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@d18d189]: org.springframework.beans.factory.suppo$
[GC 4163K->1817K(7936K), 0.0022810 secs]
3412 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67c7980c: defining beans [playerDao,mediaFileDa$
[GC 3993K->1823K(7936K), 0.0556990 secs]
3520 [main] INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: org.hsqldb.jdbcDriver
[GC 3964K->2116K(7936K), 0.0052130 secs]
[GC 4289K->2954K(7936K), 0.0066720 secs]
[GC 4943K->3486K(7936K), 0.0077160 secs]


Maybe something here but i dont know what i have to do (i'm a new linux's user)

Code: Select all
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/subsonic/jetty/3105/webapp/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.


Thank you for your help

Re: Didnt succeed to install properly subsonic on debian

PostPosted: Tue Nov 13, 2012 11:23 pm
by landgazr
I'm somewhat of a Subsonic/Linux newbie myself. I just got Subsonic up on Debian (squeeze) about three days ago, so I'm not an expert. But I followed the instructions and I was up and running in no time. What version of Debian do you have?

I would attack it by a process of elimination. First, can you access Subsonic on the machine you installed it on using a browser (or if you have no desktop environment, is port 4040 open)?

If you do have a graphical environment, try opening up something like Iceweasel and going to http://localhost:4040. If not, try using the netstat tool to determine if the port is accepting connections. If you're not familiar with netstat, just do a web search for "netstat". You could perhaps try entering "netstat -aop" at the command line and look for 4040 in the output...

-If you can't access Subsonic locally, then I'd say you'd need to peruse the logs more which should all be in /var/subsonic. And did you change any configuration files?

-If you can access Subsonic locally, then problem must have been accessing Subsonic from another box (unless you used the wrong address from the local box). So if you couldn't access Subsonic from another box, then it sounds like iptables might be the culprit. Where is iptables running? What if you temporarily shut down the service? What command did you enter to open the port (maybe it is restricting port 4040 traffic by traffic type or IP)? What IP address or name did you use to access the Subsonic server? If you tried to access Subsonic from another box, are both of them on the same network?

-gabe

Re: Didnt succeed to install properly subsonic on debian

PostPosted: Tue Nov 13, 2012 11:25 pm
by landgazr
PS: I'm not so sure if the log statements you highlighted have any bearing on the issue. Those only appear to pertain to the logging subsystem.