I am just starting with SFS and Red5, but I seem to be running into a small startup problem. I have run both servers fine locally on my Windows PC, and I am trying to implement it on my VPS running RedHat linux and SFS version 1.6.3.
The SFS server runs fine, and I can connect with other apps. When I start the Red5 server, it hangs at the last line shown below. Compared to startup in Windows, this seems to be right before it is binding to port 1935? I verified the port is open and available from adminstrators of my VPS. Any ideas? Here is the output:
Code: Select all
[ddemmon][~/SFS/SFS_PRO_1.6.2/Server/RedBox]$ ./red5.sh
[INFO] 2008-12-13 05:55:43,709 main:(
org.red5.server.Standalone.main ) RED5 Server
(http://www.osflash.org/red5)
[INFO] 2008-12-13 05:55:43,716 main:(
org.red5.server.Standalone.main ) Loading red5 global context from:
red5.xml
[INFO] 2008-12-13 05:55:43,719 main:(
org.red5.server.Standalone.main ) Setting Red5 root
to //usr/home/ddemmon/SFS/SFS_PRO_1.6.2/Server/RedBox
[INFO] 2008-12-13 05:55:43,720 main:(
org.red5.server.Standalone.main ) Setting configuation root
to /usr/home/ddemmon/SFS/SFS_PRO_1.6.2/Server/RedBox/conf
[INFO] 2008-12-13 05:55:43,858 main:(
org.springframework.context.support.ClassPathXmlApplicationContext.pre
pareRefresh ) Refreshing
org.springframework.context.support.ClassPathXmlApplicationContext@34
1960: display name
[org.springframework.context.support.ClassPathXmlApplicationContext@3
41960]; startup date [Sat Dec 13 05:55:43 GMT 2008]; root of context
hierarchy
[INFO] 2008-12-13 05:55:44,937 main:(
org.springframework.context.support.ClassPathXmlApplicationContext.obt
ainFreshBeanFactory ) Bean factory for application context
[org.springframework.context.support.ClassPathXmlApplicationContext@3
41960]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@f
acf0b
[INFO] 2008-12-13 05:55:45,019 main:(
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.l
oadProperties ) Loading properties file from class path resource
[red5.properties]
[INFO] 2008-12-13 05:55:45,031 main:(
org.springframework.beans.factory.support.DefaultListableBeanFactory.pr
eInstantiateSingletons ) Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@f
acf0b: defining beans
[placeholderConfig,red5.common,red5.core,context.loader,jetty6.server];
root of factory hierarchy
[INFO] 2008-12-13 05:55:45,068 main:(
org.springframework.context.support.FileSystemXmlApplicationContext.pr
epareRefresh ) Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@2
38a47: display name
[org.springframework.context.support.FileSystemXmlApplicationContext@
238a47]; startup date [Sat Dec 13 05:55:45 GMT 2008]; root of context
hierarchy
[INFO] 2008-12-13 05:55:45,149 main:(
org.springframework.context.support.FileSystemXmlApplicationContext.ob
tainFreshBeanFactory ) Bean factory for application context
[org.springframework.context.support.FileSystemXmlApplicationContext@
238a47]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@3
3f0de
[INFO] 2008-12-13 05:55:45,219 main:(
org.springframework.beans.factory.support.DefaultListableBeanFactory.pr
eInstantiateSingletons ) Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3
3f0de: defining beans
[placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserialize
r,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCod
ecFactory,streamableFileFactory,sharedObjectService,streamService,provi
derService,consumerService,BWControlService,schedulingService,threadF
actory,remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,
flvreader.impl,mp3reader.impl,org.springframework.beans.factory.config.
MethodInvokingFactoryBean,org.springframework.beans.factory.config.Me
thodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clie
ntBroadcastStream]; root of factory hierarchy
[INFO] 2008-12-13 05:55:45,312 main:(
org.red5.server.jmx.JMXAgent.init ) JMX HTML adapter was not enabled
[INFO] 2008-12-13 05:55:45,345 main:(
org.red5.server.jmx.JMXAgent.init ) RMI Registry server was not found
on port 9999
[INFO] 2008-12-13 05:55:45,346 main:(
org.red5.server.jmx.JMXAgent.init ) Starting an internal RMI registry
[INFO] 2008-12-13 05:55:45,502 main:(
org.red5.server.jmx.JMXAgent.init ) JMX RMI connector server
successfully started
[INFO] 2008-12-13 05:55:45,729 main:(
org.red5.io.StreamableFileFactory.setServices ) StreamableFileFactory
set services
[INFO] 2008-12-13 05:55:45,970 main:(
org.springframework.context.support.FileSystemXmlApplicationContext.pr
epareRefresh ) Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@1
5b123b: display name
[org.springframework.context.support.FileSystemXmlApplicationContext@
15b123b]; startup date [Sat Dec 13 05:55:45 GMT 2008]; parent:
org.springframework.context.support.FileSystemXmlApplicationContext@2
38a47
[INFO] 2008-12-13 05:55:46,020 main:(
org.springframework.context.support.FileSystemXmlApplicationContext.ob
tainFreshBeanFactory ) Bean factory for application context
[org.springframework.context.support.FileSystemXmlApplicationContext@
15b123b]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@7
75121
[INFO] 2008-12-13 05:55:46,054 main:(
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.l
oadProperties ) Loading properties file from class path resource
[red5.properties]
[INFO] 2008-12-13 05:55:46,057 main:(
org.springframework.beans.factory.support.DefaultListableBeanFactory.pr
eInstantiateSingletons ) Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@7
75121: defining beans
[customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandl
er,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptServlet,rtmptCo
nnection,rtmpt.server]; parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@3
3f0de
[INFO] 2008-12-13 05:55:46,089 main:(
org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP Mina Transport
Settings
[INFO] 2008-12-13 05:55:46,089 main:(
org.red5.server.net.rtmp.RTMPMinaTransport.start ) IO Threads: 2+1
[INFO] 2008-12-13 05:55:46,090 main:(
org.red5.server.net.rtmp.RTMPMinaTransport.start ) Event Threads: core:
16+1 max: 32+1 queue: -1 keepalive: 60
When I try to run red5_debug.sh I get the following:
Code: Select all
[ddemmon][~/SFS/SFS_PRO_1.6.2/Server/RedBox]$ ./red5_debug.sh
Listening for transport dt_socket at address: 8787
And it hangs there. This server seems like it is exactly what I'm looking for, but I just need to get over this hurdle of running on my VPS.
Thanks