Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install Red5 on cPanel/WHM (CentOS) server
02-18-2011, 10:46 PM, (This post was last modified: 02-21-2011, 03:49 PM by RVC Video Chat.)
#11
RE: Install Red5 on cPanel/WHM (CentOS) server
Great info!

This also may be helpful: here is a tutorial for installing latest JDK from their site and latest Red5 from subversion:
http://www. videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/
Reply
10-25-2011, 01:07 AM,
#12
RE: Install Red5 on cPanel/WHM (CentOS) server
I'm using CentOS 6 with Red5 0.8.0. I've almost got this thing working, but am still getting the following error in /usr/local/red5/log/error.log despite having tomcat-dbcp.jar and commons-dbcp-1.4.jar in /usr/local/red5/webapps/ChatrouletteApp/WEB-INF/lib. Any help would be immensely appreciated. The applications show up properly in the Red5 admin panel, but of course don't work yet as a result of this problem.

Code:
2011-10-24 10:49:56,111 [main] WARN  o.a.c.core.NamingContextListener - Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]
Reply
05-03-2012, 01:34 AM,
#13
RE: Install Red5 on cPanel/WHM (CentOS) server
Question: How do I test it to know if it is installed correctly? I have a working admin login but no clue what to do with it.

I am trying to add the RVC 8 but even though it loads on the site, provides the popup to input a user name, nothing else happens when clicking start.

Also, the config instructions indicate I can turn of the login but I cannot find those options in config file?
Reply
05-03-2012, 08:19 AM,
#14
RE: Install Red5 on cPanel/WHM (CentOS) server
After reading your posts, it seems you are confusing RVC with SVC. These two are different.
Reply
09-07-2012, 04:22 PM,
#15
RE: Install Red5 on cPanel/WHM (CentOS) server
Hi

I have a problem when start red5 . here is a log file for your ref.

Setting default logging context: default
[INFO] [main] org.red5.server.Launcher – Red5 Server 1.0.0 RC3 $Rev: 4407 $ (http://code.google.com/p/red5/)
Red5 Server 1.0.0 RC3 $Rev: 4407 $ (http://code.google.com/p/red5/)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext – Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@7b5a6029: startup date [Fri Sep 07 09:24:02 SGT 2012]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader – Loading XML bean definitions from class path resource [red5.xml]
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader – Loading XML bean definitions from class path resource [jee-container.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer – Loading properties file from class path resource [red5.properties]
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@44cbbe: defining beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.ser​ver]; root of factory hierarchy
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext – Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@fc54796: startup date [Fri Sep 07 09:24:02 SGT 2012]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader – Loading XML bean definitions from class path resource [red5-common.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer – Loading properties file from class path resource [red5.properties]
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2ba99347: defining beans [placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.su​pport.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEnc​oder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remoting​CodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,str​eamService,providerService,consumerService,schedulingService,warDeployService,re​motingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,​mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBea​n#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamE​xecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean – Creating new RMI registry
[INFO] [main] org.springframework.jmx.support.ConnectorServerFactoryBean – JMX connector server started: javax.management.remote.rmi.RMIConnectorServer@79b4748
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Registering beans for JMX exposure on startup
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Bean with name ‘org.springframework.jmx.support.ConnectorServerFactoryBean#0′ has been autodetected for JMX exposure
[INFO] [main] org.quartz.core.SchedulerSignalerImpl – Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO] [main] org.quartz.core.QuartzScheduler – Quartz Scheduler v.1.8.5 created.
[INFO] [main] org.quartz.simpl.RAMJobStore – RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler – Scheduler meta-data: Quartz Scheduler (v1.8.5) ‘Red5_Scheduler’ with instanceId ‘vps.healthbook.sg1346981043069′
Scheduler class: ‘org.quartz.core.QuartzScheduler’ – running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool ‘org.quartz.simpl.SimpleThreadPool’ – with 4 threads.
Using job-store ‘org.quartz.simpl.RAMJobStore’ – which does not support persistence. and is not clustered.

[INFO] [main] org.quartz.impl.StdSchedulerFactory – Quartz scheduler ‘Red5_Scheduler’ initialized from default resource file in Quartz package: ‘quartz.properties’
[INFO] [main] org.quartz.impl.StdSchedulerFactory – Quartz scheduler version: 1.8.5
[INFO] [main] org.quartz.core.QuartzScheduler – Scheduler Red5_Scheduler_$_vps.healthbook.sg1346981043069 started.
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Bean with name ’schedulingService’ has been autodetected for JMX exposure
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Bean with name ‘clientBroadcastStream’ has been autodetected for JMX exposure
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Located MBean ‘org.springframework.jmx.support.ConnectorServerFactoryBean#0′: registering with JMX server as MBean [org.red5.server:name=org.springframework.jmx.support.ConnectorServerFactoryBean#​0,type=RMIConnectorServer]
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Located MBean ’schedulingService’: registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
[INFO] [main] org.red5.server.service.WarDeployer – War deployer service created
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2ba99347: defining beans [placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.su​pport.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEnc​oder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remoting​CodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,str​eamService,providerService,consumerService,schedulingService,warDeployService,re​motingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,​mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBea​n#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamE​xecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter – Unregistering JMX-exposed beans on shutdown
[INFO] [main] org.quartz.core.QuartzScheduler – Scheduler Red5_Scheduler_$_vps.healthbook.sg1346981043069 shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler – Scheduler Red5_Scheduler_$_vps.healthbook.sg1346981043069 paused.
[INFO] [main] org.quartz.core.QuartzScheduler – Scheduler Red5_Scheduler_$_vps.healthbook.sg1346981043069 shutdown complete.
[INFO] [main] org.springframework.jmx.support.ConnectorServerFactoryBean – Stopping JMX connector server: javax.management.remote.rmi.RMIConnectorServer@79b4748
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean – Unexporting RMI registry
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory – Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@44cbbe: defining beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.ser​ver]; root of factory hierarchy
Exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘red5.common’ defined in class path resource [red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.beans.factory.config.MethodInvokingFactoryBean#0′ defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is java.lang.ClassNotFoundException:
org.red5.io.flv.impl.FLVReader

Pls advice
Gopi
Reply
09-19-2012, 10:24 AM,
#16
RE: Install Red5 on cPanel/WHM (CentOS) server
the Red5 discussion group may be able to help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)