Centos 5 install problem!

Need help? Post your questions here.

Moderator: moderators

Centos 5 install problem!

Postby bushtucker » Mon Jul 16, 2012 2:25 pm

I am having big problem trying to get subsonic to install on Centos 5.

I am using a script that automates the install found at:

Subsonic 4.5 on CentOS 5.X - YouTube:

http://www.youtube.com/watch?v=oSae40YgNtI

The install seems to go all OK with no errors but when i try to load http://localhost:4040 i get the following page load:

Code: Select all
Directory: /
WEB-INF/    4096 bytes    Jul 16, 2012 12:18:11 AM
ad/    4096 bytes    Jul 16, 2012 12:18:11 AM
crossdomain.xml    203 bytes    Jul 16, 2012 1:56:18 PM
error.jsp    2122 bytes    Jan 22, 2010 6:47:02 PM
flash/    4096 bytes    Jul 16, 2012 12:18:11 AM
icons/    4096 bytes    Jul 16, 2012 12:18:11 AM
script/    4096 bytes    Jul 16, 2012 12:18:11 AM
style/    4096 bytes    Jul 16, 2012 12:18:11 AM
xsd/    4096 bytes    Jul 16, 2012 12:18:11 AM


This is the error log from /var/subsonic:

Code: Select all
35 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@16cd7d5: display name [org.springframework.context.support.ClassPathXmlApplicationContext@16cd7d5]; startup date [Mon Jul 16 14:05:10 GMT 2012]; root of context hierarchy
[GC 2176K->202K(7936K), 0.0047280 secs]
118 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
[GC 2378K->247K(7936K), 0.0036180 secs]
[GC 2401K->346K(7936K), 0.0047700 secs]
[GC 2497K->472K(7936K), 0.0034500 secs]
551 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@16cd7d5]: org.springframework.beans.factory.support.DefaultListableBeanFactory@10dc6b5
[GC 2648K->733K(7936K), 0.0030490 secs]
582 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@10dc6b5: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
606 [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/2585
Using WAR file: /usr/share/subsonic/subsonic.war
644 [main] INFO org.mortbay.log - jetty-6.1.x
[GC 2909K->779K(7936K), 0.0038060 secs]
[GC 2955K->913K(7936K), 0.0025560 secs]
5139 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on: http://localhost:4040/
[GC 3084K->993K(7936K), 0.0041570 secs]
5206 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
5234 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
5274 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[89.238.172.27:9412](local),objID:[0:0:0, 0]]]]
[Full GC 2761K->993K(7936K), 0.0327050 secs]


This is what i get when i run java -version:

Code: Select all
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.8) (rhel-1.27.1.10.8.el5_8-i386)
OpenJDK Client VM (build 20.0-b11, mixed mode)


I have tried finding the problem but my skills are limited so i need some help, can anyone point me in the right direction so that i can fix the problem. :(

I am very keen to get this working because i have had subsonic working on Centos 5 (about a year ago) and I think it is the best software available to stream music from a webserver :D

Please i am desperate to get this to work and will try anything - even changing the OS i use on my VPS to debian/fedora etc.

Any help will be greatly appreciated, thanks in advance!
bushtucker
 
Posts: 1
Joined: Mon Jul 16, 2012 2:00 pm

Re: Centos 5 install problem!

Postby gurutech » Fri Jul 20, 2012 3:50 am

Do you have SELinux in "enforcing" mode, or "permissive"? If enforcing, you may need to edit the iptables file, or use system-config-firewall to edit it and allow port 4040 on both TCP and UDP.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests