RED5 not starting properly

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

RED5 not starting properly

Y. A.
good morning,

I have installed RED5 on my server. 

Installation was fine and red5 start as usual it seems (although there are a couple of errors I have checked and it seems those are not a problem)...but unfortunately, I cannot access the application

This is RED5 Folder:
-rw-rw-r-- 1 1000 1000  24283 Dec 23 09:33 commons-daemon-1.0.15.jar
drwxr-xr-x 2 root root   4096 May 30 18:28 conf
-rw-rw-r-- 1 1000 1000   4080 May 18  2016 install-service.bat
drwxr-xr-x 2 root root   4096 May 30 18:28 lib
-rw-r--r-- 1 1000 1000   1339 Apr  7  2014 license.txt
drwxr-xr-x 2 root root   4096 May 30 18:35 log
drwxr-xr-x 2 root root   4096 May 30 18:28 plugins
-rwxr-xr-x 1 1000 1000   3350 Jul  6  2016 red5
-rw-rw-r-- 1 1000 1000   1678 Nov 23  2016 red5.bat
-rw-r--r-- 1 1000 1000    510 Jan 11  2016 red5-debug.bat
-rwxr-xr-x 1 1000 1000    541 May 19  2016 red5-debug.sh
drwxrwxr-x 6 1000 1000   4096 Dec 23 09:46 red5-server
-rw-rw-r-- 1 1000 1000 282742 Dec 23 09:46 red5-server.jar
-rwxr-xr-x 1 1000 1000    112 May 19  2016 red5.service
-rw-rw-r-- 1 1000 1000  20059 Dec 23 09:33 red5-service.jar
-rwxr-xr-x 1 1000 1000   2107 Nov 23  2016 red5.sh
-rw-r--r-- 1 1000 1000    156 May 19  2016 red5-shutdown.bat
-rwxr-xr-x 1 1000 1000    613 Nov  2  2016 red5-shutdown.sh
-rw-r--r-- 1 root root     36 May 30 20:02 shutdown.token
-rw-rw-r-- 1 1000 1000    124 Dec 20  2014 uninstall-service.bat
drwxr-xr-x 8 root root   4096 May 30 18:28 webapps
drwxr-xr-x 3 root root   4096 May 30 18:35 work
[root@yourdomain red5]#


This are the RED5 logs when it start 
Starting Red5
Red5 root: /usr/local/red5
Configuation root: /usr/local/red5/conf
Red5 server jar was found
URL list: [file:/usr/local/red5/red5-server.jar]
Selected libraries: (62 items)
file:/usr/local/red5/red5-server.jar
file:/usr/local/red5/lib/bcprov-jdk15on-1.55.jar
file:/usr/local/red5/lib/commons-lang3-3.5.jar
file:/usr/local/red5/lib/gson-2.2.4.jar
file:/usr/local/red5/lib/asm-5.0.4.jar
file:/usr/local/red5/lib/pdfbox-tools-2.0.3.jar
file:/usr/local/red5/lib/mina-integration-jmx-2.0.16.jar
file:/usr/local/red5/lib/pdfbox-debugger-2.0.3.jar
file:/usr/local/red5/lib/spring-expression-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/red5-io-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/slf4j-api-1.7.22.jar
file:/usr/local/red5/lib/jmatio-1.2.jar
file:/usr/local/red5/lib/jul-to-slf4j-1.7.22.jar
file:/usr/local/red5/lib/boilerpipe-1.1.0.jar
file:/usr/local/red5/lib/ehcache-core-2.6.11.jar
file:/usr/local/red5/lib/tika-core-1.14.jar
file:/usr/local/red5/lib/apache-mime4j-core-0.7.2.jar
file:/usr/local/red5/lib/rome-utils-1.5.1.jar
file:/usr/local/red5/lib/commons-beanutils-1.9.3.jar
file:/usr/local/red5/lib/apache-mime4j-dom-0.7.2.jar
file:/usr/local/red5/lib/ognl-3.1.11.jar
file:/usr/local/red5/lib/spring-web-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/cors-filter-2.5.jar
file:/usr/local/red5/lib/isoparser-1.1.17.jar
file:/usr/local/red5/lib/jempbox-1.8.12.jar
file:/usr/local/red5/lib/rome-1.5.1.jar
file:/usr/local/red5/lib/spring-context-support-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/xmpcore-5.1.2.jar
file:/usr/local/red5/lib/tagsoup-1.2.1.jar
file:/usr/local/red5/lib/tika-parsers-1.14.jar
file:/usr/local/red5/lib/commons-compress-1.12.jar
file:/usr/local/red5/lib/jackson-core-2.8.1.jar
file:/usr/local/red5/lib/javassist-3.20.0-GA.jar
file:/usr/local/red5/lib/metadata-extractor-2.9.1.jar
file:/usr/local/red5/lib/logback-classic-1.1.7.jar
file:/usr/local/red5/lib/spring-context-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/httpclient-4.5.2.jar
file:/usr/local/red5/lib/juniversalchardet-1.0.3.jar
file:/usr/local/red5/lib/red5-server-common-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/jcl-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/logback-core-1.1.7.jar
file:/usr/local/red5/lib/spring-core-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/commons-io-2.5.jar
file:/usr/local/red5/lib/quartz-2.2.3.jar
file:/usr/local/red5/lib/commons-collections-3.2.2.jar
file:/usr/local/red5/lib/spring-beans-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/spring-aop-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/java-property-utils-1.9.1.jar
file:/usr/local/red5/lib/spring-webmvc-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/mina-integration-beans-2.0.16.jar
file:/usr/local/red5/lib/mina-core-2.0.16.jar
file:/usr/local/red5/lib/log4j-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/commons-codec-1.10.jar
file:/usr/local/red5/lib/httpcore-4.4.4.jar
file:/usr/local/red5/conf/
file:/usr/local/red5/plugins/
file:/usr/local/red5/plugins/tomcat-embed-core-8.5.9.jar
file:/usr/local/red5/plugins/websocket-1.7.jar
file:/usr/local/red5/plugins/tomcat-embed-el-8.5.9.jar
file:/usr/local/red5/plugins/tomcat-embed-jasper-8.5.9.jar
file:/usr/local/red5/plugins/tomcatplugin-1.18.jar
file:/usr/local/red5/plugins/ecj-4.5.1.jar

Root: /usr/local/red5
Deploy type: bootstrap
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.8 (https://github.com/Red5)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; 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.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Wed May 31 04:26:37 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711
[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.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
[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.2.2.3 created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'
  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 32 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 the specified file : '/usr/local/red5/conf/quartz.properties'
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.
[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 '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 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
[INFO] [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
Acceptor style: default I/O threads: 16
TCP no-delay: true keep-alive: false
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0
[INFO] [main] org.red5.server.ContextLoader - ContextLoader init
[INFO] [main] org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/red5/webapps/red5-default.xml
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45: startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/red5/webapps/red5-default.xml]
[INFO] [main] org.red5.server.Context - Setting parent bean factory as core
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [main] org.red5.server.tomcat.WarDeployer - War deployer service created
[INFO] [main] org.red5.server.tomcat.WarDeployer - Starting WarDeployer
[INFO] [main] org.red5.server.tomcat.WarDeployer - Deploy wars without app start
[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket (ws) will be bound to [0.0.0.0:8081]
[ERROR] [main] org.red5.net.websocket.WebSocketTransport - Exception occurred during resolve / bind
java.io.IOException: Error while binding on /0.0.0.0:8081
original message : Address already in use
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:238)
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:586)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:71)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:454)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading Tomcat
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/red5
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/red5/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/red5/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
May 31, 2017 4:26:39 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
[INFO] [main] org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
May 31, 2017 4:26:39 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
[INFO] [main] org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
[INFO] [main] org.apache.catalina.core.StandardService - Starting service Tomcat
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.9
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.9
May 31, 2017 4:26:39 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.startup.ContextConfig - No global web.xml found
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/live] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/chat] - No Spring WebApplicationInitializer types detected on classpath
Context init: chat
Context logger config found: file:/usr/local/red5/webapps/chat/WEB-INF/classes/logback-chat.xml
Filter init: chat
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/vod] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/installer] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/oflaDemo] - No Spring WebApplicationInitializer types detected on classpath
Context init: oflaDemo
Context logger config found: file:/usr/local/red5/webapps/oflaDemo/WEB-INF/classes/logback-oflaDemo.xml
Filter init: oflaDemo
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/red5/webapps/root/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /live path: /usr/local/red5/webapps/live/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /chat path: /usr/local/red5/webapps/chat/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /vod path: /usr/local/red5/webapps/vod/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /installer path: /usr/local/red5/webapps/installer/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /oflaDemo path: /usr/local/red5/webapps/oflaDemo/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
Token: 2e4f2911-6ae2-48ed-b889-040fefb91fe0
Bootstrap complete
Bootstrap exit
[INFO] [Loader:] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:39 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap[[empty]]]
[INFO] [Loader:] org.red5.server.scope.Scope - Scope null name reset to:  disallowed
[INFO] [Loader:] org.red5.server.Server - Add mapping global: default host:  context: null
[INFO] [Loader:] org.red5.server.scope.Scope - Invalid scope name, null is not allowed
[WARN] [Loader:] org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200008, depth=1, enabled=true, running=false]
[WARN] [Loader:] org.red5.server.scope.Scope - Scope not added to parent
[INFO] [Loader:] org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.
[INFO] [Loader:/live] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/live] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/live] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/live] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/live] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/' -> 'default']]
[INFO] [Loader:/live] org.red5.server.Server - Add mapping global: default host:  context: live
[INFO] [Loader:/chat] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/chat] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/chat] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/chat] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/chat] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/chat] org.red5.server.Server - Add mapping global: default host:  context: chat
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - Application scope: Scope [name=chat, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200071, depth=1, enabled=true, running=false]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScopeManager - addWebSocketScope: WebSocketScope [path=default, listeners=1, connections=0]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket scope added
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket app added: chat
[INFO] [Loader:/vod] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/vod] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/vod] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/vod] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/vod] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/vod] org.red5.server.Server - Add mapping global: default host:  context: vod
[INFO] [Loader:/installer] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/installer] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/installer] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/installer] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/installer] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default']]
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost context: installer
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost:5080 context: installer
[INFO] [Loader:/installer] org.red5.server.service.Installer - Installer service created
[INFO] [Loader:/oflaDemo] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/oflaDemo] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/oflaDemo] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default', 'localhost:5080/installer' -> 'default', 'localhost/installer' -> 'default']]
[INFO] [Loader:/oflaDemo] org.red5.server.Server - Add mapping global: default host:  context: oflaDemo
oflaDemo appStart
[INFO] [pool-4-thread-1] org.red5.server.tomcat.WarDeployer - Deploy wars with app start

This is the port scans check:
[root@yourdomain red5]# ps aux | grep red5
root      3007  5.6 12.7 3402312 262644 pts/0  Sl   04:26   0:08 /opt/jdk1.8.0_131/bin/java -Dred5.root=/usr/local/red5 -Djava.security.debug=failure -Xms256m -Xmx1g -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:MaxMetaspaceSize=128m -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -Dcatalina.home=/usr/local/red5 -Dcatalina.useNaming=true -Djava.library.path=/usr/local/red5/lib/native -Dpython.home=lib -cp /usr/local/red5/red5-service.jar:/usr/local/red5/conf:.:/usr/lib/jvm/java/lib/classes.zip org.red5.server.Bootstrap 9999
root      3130  0.0  0.0 103328   884 pts/0    S+   04:29   0:00 grep red5

[root@yourdomain red5]# netstat -anp | grep 1935
tcp        0      0 0.0.0.0:1935                0.0.0.0:*                   LISTEN      3007/java

Any Help? I really need to get this working.

Cheers
 


 

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RED5 not starting properly

Mondain
Red5 is not able to use port 8081 due to something else already being bound to it.

Error while binding on /0.0.0.0:8081 original message : Address already in use


On Wed, May 31, 2017 at 1:38 AM Y. A. <[hidden email]> wrote:
good morning,

I have installed RED5 on my server. 

Installation was fine and red5 start as usual it seems (although there are a couple of errors I have checked and it seems those are not a problem)...but unfortunately, I cannot access the application

This is RED5 Folder:
-rw-rw-r-- 1 1000 1000  24283 Dec 23 09:33 commons-daemon-1.0.15.jar
drwxr-xr-x 2 root root   4096 May 30 18:28 conf
-rw-rw-r-- 1 1000 1000   4080 May 18  2016 install-service.bat
drwxr-xr-x 2 root root   4096 May 30 18:28 lib
-rw-r--r-- 1 1000 1000   1339 Apr  7  2014 license.txt
drwxr-xr-x 2 root root   4096 May 30 18:35 log
drwxr-xr-x 2 root root   4096 May 30 18:28 plugins
-rwxr-xr-x 1 1000 1000   3350 Jul  6  2016 red5
-rw-rw-r-- 1 1000 1000   1678 Nov 23  2016 red5.bat
-rw-r--r-- 1 1000 1000    510 Jan 11  2016 red5-debug.bat
-rwxr-xr-x 1 1000 1000    541 May 19  2016 red5-debug.sh
drwxrwxr-x 6 1000 1000   4096 Dec 23 09:46 red5-server
-rw-rw-r-- 1 1000 1000 282742 Dec 23 09:46 red5-server.jar
-rwxr-xr-x 1 1000 1000    112 May 19  2016 red5.service
-rw-rw-r-- 1 1000 1000  20059 Dec 23 09:33 red5-service.jar
-rwxr-xr-x 1 1000 1000   2107 Nov 23  2016 red5.sh
-rw-r--r-- 1 1000 1000    156 May 19  2016 red5-shutdown.bat
-rwxr-xr-x 1 1000 1000    613 Nov  2  2016 red5-shutdown.sh
-rw-r--r-- 1 root root     36 May 30 20:02 shutdown.token
-rw-rw-r-- 1 1000 1000    124 Dec 20  2014 uninstall-service.bat
drwxr-xr-x 8 root root   4096 May 30 18:28 webapps
drwxr-xr-x 3 root root   4096 May 30 18:35 work
[root@yourdomain red5]#


This are the RED5 logs when it start 
Starting Red5
Red5 root: /usr/local/red5
Configuation root: /usr/local/red5/conf
Red5 server jar was found
URL list: [file:/usr/local/red5/red5-server.jar]
Selected libraries: (62 items)
file:/usr/local/red5/red5-server.jar
file:/usr/local/red5/lib/bcprov-jdk15on-1.55.jar
file:/usr/local/red5/lib/commons-lang3-3.5.jar
file:/usr/local/red5/lib/gson-2.2.4.jar
file:/usr/local/red5/lib/asm-5.0.4.jar
file:/usr/local/red5/lib/pdfbox-tools-2.0.3.jar
file:/usr/local/red5/lib/mina-integration-jmx-2.0.16.jar
file:/usr/local/red5/lib/pdfbox-debugger-2.0.3.jar
file:/usr/local/red5/lib/spring-expression-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/red5-io-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/slf4j-api-1.7.22.jar
file:/usr/local/red5/lib/jmatio-1.2.jar
file:/usr/local/red5/lib/jul-to-slf4j-1.7.22.jar
file:/usr/local/red5/lib/boilerpipe-1.1.0.jar
file:/usr/local/red5/lib/ehcache-core-2.6.11.jar
file:/usr/local/red5/lib/tika-core-1.14.jar
file:/usr/local/red5/lib/apache-mime4j-core-0.7.2.jar
file:/usr/local/red5/lib/rome-utils-1.5.1.jar
file:/usr/local/red5/lib/commons-beanutils-1.9.3.jar
file:/usr/local/red5/lib/apache-mime4j-dom-0.7.2.jar
file:/usr/local/red5/lib/ognl-3.1.11.jar
file:/usr/local/red5/lib/spring-web-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/cors-filter-2.5.jar
file:/usr/local/red5/lib/isoparser-1.1.17.jar
file:/usr/local/red5/lib/jempbox-1.8.12.jar
file:/usr/local/red5/lib/rome-1.5.1.jar
file:/usr/local/red5/lib/spring-context-support-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/xmpcore-5.1.2.jar
file:/usr/local/red5/lib/tagsoup-1.2.1.jar
file:/usr/local/red5/lib/tika-parsers-1.14.jar
file:/usr/local/red5/lib/commons-compress-1.12.jar
file:/usr/local/red5/lib/jackson-core-2.8.1.jar
file:/usr/local/red5/lib/javassist-3.20.0-GA.jar
file:/usr/local/red5/lib/metadata-extractor-2.9.1.jar
file:/usr/local/red5/lib/logback-classic-1.1.7.jar
file:/usr/local/red5/lib/spring-context-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/httpclient-4.5.2.jar
file:/usr/local/red5/lib/juniversalchardet-1.0.3.jar
file:/usr/local/red5/lib/red5-server-common-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/jcl-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/logback-core-1.1.7.jar
file:/usr/local/red5/lib/spring-core-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/commons-io-2.5.jar
file:/usr/local/red5/lib/quartz-2.2.3.jar
file:/usr/local/red5/lib/commons-collections-3.2.2.jar
file:/usr/local/red5/lib/spring-beans-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/spring-aop-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/java-property-utils-1.9.1.jar
file:/usr/local/red5/lib/spring-webmvc-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/mina-integration-beans-2.0.16.jar
file:/usr/local/red5/lib/mina-core-2.0.16.jar
file:/usr/local/red5/lib/log4j-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/commons-codec-1.10.jar
file:/usr/local/red5/lib/httpcore-4.4.4.jar
file:/usr/local/red5/conf/
file:/usr/local/red5/plugins/
file:/usr/local/red5/plugins/tomcat-embed-core-8.5.9.jar
file:/usr/local/red5/plugins/websocket-1.7.jar
file:/usr/local/red5/plugins/tomcat-embed-el-8.5.9.jar
file:/usr/local/red5/plugins/tomcat-embed-jasper-8.5.9.jar
file:/usr/local/red5/plugins/tomcatplugin-1.18.jar
file:/usr/local/red5/plugins/ecj-4.5.1.jar

Root: /usr/local/red5
Deploy type: bootstrap
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.8 (https://github.com/Red5)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; 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.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Wed May 31 04:26:37 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711
[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.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
[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.2.2.3 created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'
  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 32 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 the specified file : '/usr/local/red5/conf/quartz.properties'
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.
[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 '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 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
[INFO] [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
Acceptor style: default I/O threads: 16
TCP no-delay: true keep-alive: false
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0
[INFO] [main] org.red5.server.ContextLoader - ContextLoader init
[INFO] [main] org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/red5/webapps/red5-default.xml
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45: startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/red5/webapps/red5-default.xml]
[INFO] [main] org.red5.server.Context - Setting parent bean factory as core
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [main] org.red5.server.tomcat.WarDeployer - War deployer service created
[INFO] [main] org.red5.server.tomcat.WarDeployer - Starting WarDeployer
[INFO] [main] org.red5.server.tomcat.WarDeployer - Deploy wars without app start
[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket (ws) will be bound to [0.0.0.0:8081]
[ERROR] [main] org.red5.net.websocket.WebSocketTransport - Exception occurred during resolve / bind
java.io.IOException: Error while binding on /0.0.0.0:8081
original message : Address already in use
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:238)
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:586)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:71)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:454)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading Tomcat
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/red5
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/red5/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/red5/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
May 31, 2017 4:26:39 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
[INFO] [main] org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
May 31, 2017 4:26:39 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
[INFO] [main] org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
[INFO] [main] org.apache.catalina.core.StandardService - Starting service Tomcat
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.9
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.9
May 31, 2017 4:26:39 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.startup.ContextConfig - No global web.xml found
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/live] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/chat] - No Spring WebApplicationInitializer types detected on classpath
Context init: chat
Context logger config found: file:/usr/local/red5/webapps/chat/WEB-INF/classes/logback-chat.xml
Filter init: chat
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/vod] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/installer] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/oflaDemo] - No Spring WebApplicationInitializer types detected on classpath
Context init: oflaDemo
Context logger config found: file:/usr/local/red5/webapps/oflaDemo/WEB-INF/classes/logback-oflaDemo.xml
Filter init: oflaDemo
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/red5/webapps/root/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /live path: /usr/local/red5/webapps/live/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /chat path: /usr/local/red5/webapps/chat/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /vod path: /usr/local/red5/webapps/vod/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /installer path: /usr/local/red5/webapps/installer/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /oflaDemo path: /usr/local/red5/webapps/oflaDemo/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
Token: 2e4f2911-6ae2-48ed-b889-040fefb91fe0
Bootstrap complete
Bootstrap exit
[INFO] [Loader:] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:39 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap[[empty]]]
[INFO] [Loader:] org.red5.server.scope.Scope - Scope null name reset to:  disallowed
[INFO] [Loader:] org.red5.server.Server - Add mapping global: default host:  context: null
[INFO] [Loader:] org.red5.server.scope.Scope - Invalid scope name, null is not allowed
[WARN] [Loader:] org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200008, depth=1, enabled=true, running=false]
[WARN] [Loader:] org.red5.server.scope.Scope - Scope not added to parent
[INFO] [Loader:] org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.
[INFO] [Loader:/live] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/live] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/live] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/live] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/live] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/' -> 'default']]
[INFO] [Loader:/live] org.red5.server.Server - Add mapping global: default host:  context: live
[INFO] [Loader:/chat] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/chat] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/chat] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/chat] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/chat] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/chat] org.red5.server.Server - Add mapping global: default host:  context: chat
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - Application scope: Scope [name=chat, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200071, depth=1, enabled=true, running=false]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScopeManager - addWebSocketScope: WebSocketScope [path=default, listeners=1, connections=0]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket scope added
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket app added: chat
[INFO] [Loader:/vod] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/vod] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/vod] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/vod] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/vod] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/vod] org.red5.server.Server - Add mapping global: default host:  context: vod
[INFO] [Loader:/installer] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/installer] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/installer] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/installer] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/installer] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default']]
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost context: installer
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost:5080 context: installer
[INFO] [Loader:/installer] org.red5.server.service.Installer - Installer service created
[INFO] [Loader:/oflaDemo] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/oflaDemo] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/oflaDemo] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default', 'localhost:5080/installer' -> 'default', 'localhost/installer' -> 'default']]
[INFO] [Loader:/oflaDemo] org.red5.server.Server - Add mapping global: default host:  context: oflaDemo
oflaDemo appStart
[INFO] [pool-4-thread-1] org.red5.server.tomcat.WarDeployer - Deploy wars with app start

This is the port scans check:
[root@yourdomain red5]# ps aux | grep red5
root      3007  5.6 12.7 3402312 262644 pts/0  Sl   04:26   0:08 /opt/jdk1.8.0_131/bin/java -Dred5.root=/usr/local/red5 -Djava.security.debug=failure -Xms256m -Xmx1g -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:MaxMetaspaceSize=128m -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -Dcatalina.home=/usr/local/red5 -Dcatalina.useNaming=true -Djava.library.path=/usr/local/red5/lib/native -Dpython.home=lib -cp /usr/local/red5/red5-service.jar:/usr/local/red5/conf:.:/usr/lib/jvm/java/lib/classes.zip org.red5.server.Bootstrap 9999
root      3130  0.0  0.0 103328   884 pts/0    S+   04:29   0:00 grep red5

[root@yourdomain red5]# netstat -anp | grep 1935
tcp        0      0 0.0.0.0:1935                0.0.0.0:*                   LISTEN      3007/java

Any Help? I really need to get this working.

Cheers
 


 

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RED5 not starting properly

Y. A.
Hello Mondain,

Thanks for your reply. I have seen that and I was also assuming that;s the only thing from preventing the server to run.

Is there any way I can configure red5 to use a different port? 

Cheers
Yuri

Best Regards
Yuri Alfano

Phone:   +44 7542993266


On Wed, May 31, 2017 at 2:15 PM, Mondain <[hidden email]> wrote:
Red5 is not able to use port 8081 due to something else already being bound to it.

Error while binding on /0.0.0.0:8081 original message : Address already in use


On Wed, May 31, 2017 at 1:38 AM Y. A. <[hidden email]> wrote:
good morning,

I have installed RED5 on my server. 

Installation was fine and red5 start as usual it seems (although there are a couple of errors I have checked and it seems those are not a problem)...but unfortunately, I cannot access the application

This is RED5 Folder:
-rw-rw-r-- 1 1000 1000  24283 Dec 23 09:33 commons-daemon-1.0.15.jar
drwxr-xr-x 2 root root   4096 May 30 18:28 conf
-rw-rw-r-- 1 1000 1000   4080 May 18  2016 install-service.bat
drwxr-xr-x 2 root root   4096 May 30 18:28 lib
-rw-r--r-- 1 1000 1000   1339 Apr  7  2014 license.txt
drwxr-xr-x 2 root root   4096 May 30 18:35 log
drwxr-xr-x 2 root root   4096 May 30 18:28 plugins
-rwxr-xr-x 1 1000 1000   3350 Jul  6  2016 red5
-rw-rw-r-- 1 1000 1000   1678 Nov 23  2016 red5.bat
-rw-r--r-- 1 1000 1000    510 Jan 11  2016 red5-debug.bat
-rwxr-xr-x 1 1000 1000    541 May 19  2016 red5-debug.sh
drwxrwxr-x 6 1000 1000   4096 Dec 23 09:46 red5-server
-rw-rw-r-- 1 1000 1000 282742 Dec 23 09:46 red5-server.jar
-rwxr-xr-x 1 1000 1000    112 May 19  2016 red5.service
-rw-rw-r-- 1 1000 1000  20059 Dec 23 09:33 red5-service.jar
-rwxr-xr-x 1 1000 1000   2107 Nov 23  2016 red5.sh
-rw-r--r-- 1 1000 1000    156 May 19  2016 red5-shutdown.bat
-rwxr-xr-x 1 1000 1000    613 Nov  2  2016 red5-shutdown.sh
-rw-r--r-- 1 root root     36 May 30 20:02 shutdown.token
-rw-rw-r-- 1 1000 1000    124 Dec 20  2014 uninstall-service.bat
drwxr-xr-x 8 root root   4096 May 30 18:28 webapps
drwxr-xr-x 3 root root   4096 May 30 18:35 work
[root@yourdomain red5]#


This are the RED5 logs when it start 
Starting Red5
Red5 root: /usr/local/red5
Configuation root: /usr/local/red5/conf
Red5 server jar was found
URL list: [file:/usr/local/red5/red5-server.jar]
Selected libraries: (62 items)
file:/usr/local/red5/red5-server.jar
file:/usr/local/red5/lib/bcprov-jdk15on-1.55.jar
file:/usr/local/red5/lib/commons-lang3-3.5.jar
file:/usr/local/red5/lib/gson-2.2.4.jar
file:/usr/local/red5/lib/asm-5.0.4.jar
file:/usr/local/red5/lib/pdfbox-tools-2.0.3.jar
file:/usr/local/red5/lib/mina-integration-jmx-2.0.16.jar
file:/usr/local/red5/lib/pdfbox-debugger-2.0.3.jar
file:/usr/local/red5/lib/spring-expression-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/red5-io-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/slf4j-api-1.7.22.jar
file:/usr/local/red5/lib/jmatio-1.2.jar
file:/usr/local/red5/lib/jul-to-slf4j-1.7.22.jar
file:/usr/local/red5/lib/boilerpipe-1.1.0.jar
file:/usr/local/red5/lib/ehcache-core-2.6.11.jar
file:/usr/local/red5/lib/tika-core-1.14.jar
file:/usr/local/red5/lib/apache-mime4j-core-0.7.2.jar
file:/usr/local/red5/lib/rome-utils-1.5.1.jar
file:/usr/local/red5/lib/commons-beanutils-1.9.3.jar
file:/usr/local/red5/lib/apache-mime4j-dom-0.7.2.jar
file:/usr/local/red5/lib/ognl-3.1.11.jar
file:/usr/local/red5/lib/spring-web-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/cors-filter-2.5.jar
file:/usr/local/red5/lib/isoparser-1.1.17.jar
file:/usr/local/red5/lib/jempbox-1.8.12.jar
file:/usr/local/red5/lib/rome-1.5.1.jar
file:/usr/local/red5/lib/spring-context-support-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/xmpcore-5.1.2.jar
file:/usr/local/red5/lib/tagsoup-1.2.1.jar
file:/usr/local/red5/lib/tika-parsers-1.14.jar
file:/usr/local/red5/lib/commons-compress-1.12.jar
file:/usr/local/red5/lib/jackson-core-2.8.1.jar
file:/usr/local/red5/lib/javassist-3.20.0-GA.jar
file:/usr/local/red5/lib/metadata-extractor-2.9.1.jar
file:/usr/local/red5/lib/logback-classic-1.1.7.jar
file:/usr/local/red5/lib/spring-context-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/httpclient-4.5.2.jar
file:/usr/local/red5/lib/juniversalchardet-1.0.3.jar
file:/usr/local/red5/lib/red5-server-common-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/jcl-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/logback-core-1.1.7.jar
file:/usr/local/red5/lib/spring-core-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/commons-io-2.5.jar
file:/usr/local/red5/lib/quartz-2.2.3.jar
file:/usr/local/red5/lib/commons-collections-3.2.2.jar
file:/usr/local/red5/lib/spring-beans-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/spring-aop-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/java-property-utils-1.9.1.jar
file:/usr/local/red5/lib/spring-webmvc-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/mina-integration-beans-2.0.16.jar
file:/usr/local/red5/lib/mina-core-2.0.16.jar
file:/usr/local/red5/lib/log4j-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/commons-codec-1.10.jar
file:/usr/local/red5/lib/httpcore-4.4.4.jar
file:/usr/local/red5/conf/
file:/usr/local/red5/plugins/
file:/usr/local/red5/plugins/tomcat-embed-core-8.5.9.jar
file:/usr/local/red5/plugins/websocket-1.7.jar
file:/usr/local/red5/plugins/tomcat-embed-el-8.5.9.jar
file:/usr/local/red5/plugins/tomcat-embed-jasper-8.5.9.jar
file:/usr/local/red5/plugins/tomcatplugin-1.18.jar
file:/usr/local/red5/plugins/ecj-4.5.1.jar

Root: /usr/local/red5
Deploy type: bootstrap
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.8 (https://github.com/Red5)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; 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.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Wed May 31 04:26:37 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711
[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.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
[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.2.2.3 created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'
  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 32 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 the specified file : '/usr/local/red5/conf/quartz.properties'
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.
[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 '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 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
[INFO] [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
Acceptor style: default I/O threads: 16
TCP no-delay: true keep-alive: false
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0
[INFO] [main] org.red5.server.ContextLoader - ContextLoader init
[INFO] [main] org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/red5/webapps/red5-default.xml
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45: startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/red5/webapps/red5-default.xml]
[INFO] [main] org.red5.server.Context - Setting parent bean factory as core
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [main] org.red5.server.tomcat.WarDeployer - War deployer service created
[INFO] [main] org.red5.server.tomcat.WarDeployer - Starting WarDeployer
[INFO] [main] org.red5.server.tomcat.WarDeployer - Deploy wars without app start
[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket (ws) will be bound to [0.0.0.0:8081]
[ERROR] [main] org.red5.net.websocket.WebSocketTransport - Exception occurred during resolve / bind
java.io.IOException: Error while binding on /0.0.0.0:8081
original message : Address already in use
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:238)
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:586)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:71)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:454)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading Tomcat
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/red5
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/red5/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/red5/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
May 31, 2017 4:26:39 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
[INFO] [main] org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
May 31, 2017 4:26:39 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
[INFO] [main] org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
[INFO] [main] org.apache.catalina.core.StandardService - Starting service Tomcat
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.9
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.9
May 31, 2017 4:26:39 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.startup.ContextConfig - No global web.xml found
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/live] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/chat] - No Spring WebApplicationInitializer types detected on classpath
Context init: chat
Context logger config found: file:/usr/local/red5/webapps/chat/WEB-INF/classes/logback-chat.xml
Filter init: chat
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/vod] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/installer] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/oflaDemo] - No Spring WebApplicationInitializer types detected on classpath
Context init: oflaDemo
Context logger config found: file:/usr/local/red5/webapps/oflaDemo/WEB-INF/classes/logback-oflaDemo.xml
Filter init: oflaDemo
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/red5/webapps/root/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /live path: /usr/local/red5/webapps/live/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /chat path: /usr/local/red5/webapps/chat/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /vod path: /usr/local/red5/webapps/vod/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /installer path: /usr/local/red5/webapps/installer/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /oflaDemo path: /usr/local/red5/webapps/oflaDemo/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
Token: 2e4f2911-6ae2-48ed-b889-040fefb91fe0
Bootstrap complete
Bootstrap exit
[INFO] [Loader:] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:39 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap[[empty]]]
[INFO] [Loader:] org.red5.server.scope.Scope - Scope null name reset to:  disallowed
[INFO] [Loader:] org.red5.server.Server - Add mapping global: default host:  context: null
[INFO] [Loader:] org.red5.server.scope.Scope - Invalid scope name, null is not allowed
[WARN] [Loader:] org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200008, depth=1, enabled=true, running=false]
[WARN] [Loader:] org.red5.server.scope.Scope - Scope not added to parent
[INFO] [Loader:] org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.
[INFO] [Loader:/live] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/live] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/live] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/live] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/live] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/' -> 'default']]
[INFO] [Loader:/live] org.red5.server.Server - Add mapping global: default host:  context: live
[INFO] [Loader:/chat] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/chat] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/chat] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/chat] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/chat] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/chat] org.red5.server.Server - Add mapping global: default host:  context: chat
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - Application scope: Scope [name=chat, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200071, depth=1, enabled=true, running=false]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScopeManager - addWebSocketScope: WebSocketScope [path=default, listeners=1, connections=0]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket scope added
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket app added: chat
[INFO] [Loader:/vod] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/vod] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/vod] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/vod] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/vod] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/vod] org.red5.server.Server - Add mapping global: default host:  context: vod
[INFO] [Loader:/installer] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/installer] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/installer] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/installer] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/installer] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default']]
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost context: installer
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost:5080 context: installer
[INFO] [Loader:/installer] org.red5.server.service.Installer - Installer service created
[INFO] [Loader:/oflaDemo] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/oflaDemo] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/oflaDemo] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default', 'localhost:5080/installer' -> 'default', 'localhost/installer' -> 'default']]
[INFO] [Loader:/oflaDemo] org.red5.server.Server - Add mapping global: default host:  context: oflaDemo
oflaDemo appStart
[INFO] [pool-4-thread-1] org.red5.server.tomcat.WarDeployer - Deploy wars with app start

This is the port scans check:
[root@yourdomain red5]# ps aux | grep red5
root      3007  5.6 12.7 3402312 262644 pts/0  Sl   04:26   0:08 /opt/jdk1.8.0_131/bin/java -Dred5.root=/usr/local/red5 -Djava.security.debug=failure -Xms256m -Xmx1g -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:MaxMetaspaceSize=128m -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -Dcatalina.home=/usr/local/red5 -Dcatalina.useNaming=true -Djava.library.path=/usr/local/red5/lib/native -Dpython.home=lib -cp /usr/local/red5/red5-service.jar:/usr/local/red5/conf:.:/usr/lib/jvm/java/lib/classes.zip org.red5.server.Bootstrap 9999
root      3130  0.0  0.0 103328   884 pts/0    S+   04:29   0:00 grep red5

[root@yourdomain red5]# netstat -anp | grep 1935
tcp        0      0 0.0.0.0:1935                0.0.0.0:*                   LISTEN      3007/java

Any Help? I really need to get this working.

Cheers
 


 

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/h5zkP9VMyOo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RED5 not starting properly

Mondain
Port 8081 is used by our websocket plugin, if you don't need ws, comment out the block in the configuration file; to simply change the port, open the red5.properties file and change it to something else.

On Wed, May 31, 2017 at 6:22 AM Yuri A. <[hidden email]> wrote:
Hello Mondain,

Thanks for your reply. I have seen that and I was also assuming that;s the only thing from preventing the server to run.

Is there any way I can configure red5 to use a different port? 

Cheers
Yuri

Best Regards
Yuri Alfano

Phone:   <a href="tel:+44%207542%20993266" value="+447542993266" target="_blank">+44 7542993266


On Wed, May 31, 2017 at 2:15 PM, Mondain <[hidden email]> wrote:
Red5 is not able to use port 8081 due to something else already being bound to it.

Error while binding on /0.0.0.0:8081 original message : Address already in use


On Wed, May 31, 2017 at 1:38 AM Y. A. <[hidden email]> wrote:
good morning,

I have installed RED5 on my server. 

Installation was fine and red5 start as usual it seems (although there are a couple of errors I have checked and it seems those are not a problem)...but unfortunately, I cannot access the application

This is RED5 Folder:
-rw-rw-r-- 1 1000 1000  24283 Dec 23 09:33 commons-daemon-1.0.15.jar
drwxr-xr-x 2 root root   4096 May 30 18:28 conf
-rw-rw-r-- 1 1000 1000   4080 May 18  2016 install-service.bat
drwxr-xr-x 2 root root   4096 May 30 18:28 lib
-rw-r--r-- 1 1000 1000   1339 Apr  7  2014 license.txt
drwxr-xr-x 2 root root   4096 May 30 18:35 log
drwxr-xr-x 2 root root   4096 May 30 18:28 plugins
-rwxr-xr-x 1 1000 1000   3350 Jul  6  2016 red5
-rw-rw-r-- 1 1000 1000   1678 Nov 23  2016 red5.bat
-rw-r--r-- 1 1000 1000    510 Jan 11  2016 red5-debug.bat
-rwxr-xr-x 1 1000 1000    541 May 19  2016 red5-debug.sh
drwxrwxr-x 6 1000 1000   4096 Dec 23 09:46 red5-server
-rw-rw-r-- 1 1000 1000 282742 Dec 23 09:46 red5-server.jar
-rwxr-xr-x 1 1000 1000    112 May 19  2016 red5.service
-rw-rw-r-- 1 1000 1000  20059 Dec 23 09:33 red5-service.jar
-rwxr-xr-x 1 1000 1000   2107 Nov 23  2016 red5.sh
-rw-r--r-- 1 1000 1000    156 May 19  2016 red5-shutdown.bat
-rwxr-xr-x 1 1000 1000    613 Nov  2  2016 red5-shutdown.sh
-rw-r--r-- 1 root root     36 May 30 20:02 shutdown.token
-rw-rw-r-- 1 1000 1000    124 Dec 20  2014 uninstall-service.bat
drwxr-xr-x 8 root root   4096 May 30 18:28 webapps
drwxr-xr-x 3 root root   4096 May 30 18:35 work
[root@yourdomain red5]#


This are the RED5 logs when it start 
Starting Red5
Red5 root: /usr/local/red5
Configuation root: /usr/local/red5/conf
Red5 server jar was found
URL list: [file:/usr/local/red5/red5-server.jar]
Selected libraries: (62 items)
file:/usr/local/red5/red5-server.jar
file:/usr/local/red5/lib/bcprov-jdk15on-1.55.jar
file:/usr/local/red5/lib/commons-lang3-3.5.jar
file:/usr/local/red5/lib/gson-2.2.4.jar
file:/usr/local/red5/lib/asm-5.0.4.jar
file:/usr/local/red5/lib/pdfbox-tools-2.0.3.jar
file:/usr/local/red5/lib/mina-integration-jmx-2.0.16.jar
file:/usr/local/red5/lib/pdfbox-debugger-2.0.3.jar
file:/usr/local/red5/lib/spring-expression-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/red5-io-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/slf4j-api-1.7.22.jar
file:/usr/local/red5/lib/jmatio-1.2.jar
file:/usr/local/red5/lib/jul-to-slf4j-1.7.22.jar
file:/usr/local/red5/lib/boilerpipe-1.1.0.jar
file:/usr/local/red5/lib/ehcache-core-2.6.11.jar
file:/usr/local/red5/lib/tika-core-1.14.jar
file:/usr/local/red5/lib/apache-mime4j-core-0.7.2.jar
file:/usr/local/red5/lib/rome-utils-1.5.1.jar
file:/usr/local/red5/lib/commons-beanutils-1.9.3.jar
file:/usr/local/red5/lib/apache-mime4j-dom-0.7.2.jar
file:/usr/local/red5/lib/ognl-3.1.11.jar
file:/usr/local/red5/lib/spring-web-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/cors-filter-2.5.jar
file:/usr/local/red5/lib/isoparser-1.1.17.jar
file:/usr/local/red5/lib/jempbox-1.8.12.jar
file:/usr/local/red5/lib/rome-1.5.1.jar
file:/usr/local/red5/lib/spring-context-support-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/xmpcore-5.1.2.jar
file:/usr/local/red5/lib/tagsoup-1.2.1.jar
file:/usr/local/red5/lib/tika-parsers-1.14.jar
file:/usr/local/red5/lib/commons-compress-1.12.jar
file:/usr/local/red5/lib/jackson-core-2.8.1.jar
file:/usr/local/red5/lib/javassist-3.20.0-GA.jar
file:/usr/local/red5/lib/metadata-extractor-2.9.1.jar
file:/usr/local/red5/lib/logback-classic-1.1.7.jar
file:/usr/local/red5/lib/spring-context-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/httpclient-4.5.2.jar
file:/usr/local/red5/lib/juniversalchardet-1.0.3.jar
file:/usr/local/red5/lib/red5-server-common-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/jcl-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/logback-core-1.1.7.jar
file:/usr/local/red5/lib/spring-core-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/commons-io-2.5.jar
file:/usr/local/red5/lib/quartz-2.2.3.jar
file:/usr/local/red5/lib/commons-collections-3.2.2.jar
file:/usr/local/red5/lib/spring-beans-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/spring-aop-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/java-property-utils-1.9.1.jar
file:/usr/local/red5/lib/spring-webmvc-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/mina-integration-beans-2.0.16.jar
file:/usr/local/red5/lib/mina-core-2.0.16.jar
file:/usr/local/red5/lib/log4j-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/commons-codec-1.10.jar
file:/usr/local/red5/lib/httpcore-4.4.4.jar
file:/usr/local/red5/conf/
file:/usr/local/red5/plugins/
file:/usr/local/red5/plugins/tomcat-embed-core-8.5.9.jar
file:/usr/local/red5/plugins/websocket-1.7.jar
file:/usr/local/red5/plugins/tomcat-embed-el-8.5.9.jar
file:/usr/local/red5/plugins/tomcat-embed-jasper-8.5.9.jar
file:/usr/local/red5/plugins/tomcatplugin-1.18.jar
file:/usr/local/red5/plugins/ecj-4.5.1.jar

Root: /usr/local/red5
Deploy type: bootstrap
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.8 (https://github.com/Red5)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; 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.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Wed May 31 04:26:37 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711
[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.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
[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.2.2.3 created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'
  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 32 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 the specified file : '/usr/local/red5/conf/quartz.properties'
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.
[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 '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 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
[INFO] [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
Acceptor style: default I/O threads: 16
TCP no-delay: true keep-alive: false
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0
[INFO] [main] org.red5.server.ContextLoader - ContextLoader init
[INFO] [main] org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/red5/webapps/red5-default.xml
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45: startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/red5/webapps/red5-default.xml]
[INFO] [main] org.red5.server.Context - Setting parent bean factory as core
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [main] org.red5.server.tomcat.WarDeployer - War deployer service created
[INFO] [main] org.red5.server.tomcat.WarDeployer - Starting WarDeployer
[INFO] [main] org.red5.server.tomcat.WarDeployer - Deploy wars without app start
[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket (ws) will be bound to [0.0.0.0:8081]
[ERROR] [main] org.red5.net.websocket.WebSocketTransport - Exception occurred during resolve / bind
java.io.IOException: Error while binding on /0.0.0.0:8081
original message : Address already in use
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:238)
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:586)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:71)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:454)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading Tomcat
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/red5
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/red5/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/red5/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
May 31, 2017 4:26:39 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
[INFO] [main] org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
May 31, 2017 4:26:39 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
[INFO] [main] org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
[INFO] [main] org.apache.catalina.core.StandardService - Starting service Tomcat
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.9
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.9
May 31, 2017 4:26:39 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.startup.ContextConfig - No global web.xml found
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/live] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/chat] - No Spring WebApplicationInitializer types detected on classpath
Context init: chat
Context logger config found: file:/usr/local/red5/webapps/chat/WEB-INF/classes/logback-chat.xml
Filter init: chat
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/vod] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/installer] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/oflaDemo] - No Spring WebApplicationInitializer types detected on classpath
Context init: oflaDemo
Context logger config found: file:/usr/local/red5/webapps/oflaDemo/WEB-INF/classes/logback-oflaDemo.xml
Filter init: oflaDemo
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/red5/webapps/root/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /live path: /usr/local/red5/webapps/live/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /chat path: /usr/local/red5/webapps/chat/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /vod path: /usr/local/red5/webapps/vod/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /installer path: /usr/local/red5/webapps/installer/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /oflaDemo path: /usr/local/red5/webapps/oflaDemo/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
Token: 2e4f2911-6ae2-48ed-b889-040fefb91fe0
Bootstrap complete
Bootstrap exit
[INFO] [Loader:] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:39 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap[[empty]]]
[INFO] [Loader:] org.red5.server.scope.Scope - Scope null name reset to:  disallowed
[INFO] [Loader:] org.red5.server.Server - Add mapping global: default host:  context: null
[INFO] [Loader:] org.red5.server.scope.Scope - Invalid scope name, null is not allowed
[WARN] [Loader:] org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200008, depth=1, enabled=true, running=false]
[WARN] [Loader:] org.red5.server.scope.Scope - Scope not added to parent
[INFO] [Loader:] org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.
[INFO] [Loader:/live] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/live] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/live] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/live] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/live] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/' -> 'default']]
[INFO] [Loader:/live] org.red5.server.Server - Add mapping global: default host:  context: live
[INFO] [Loader:/chat] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/chat] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/chat] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/chat] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/chat] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/chat] org.red5.server.Server - Add mapping global: default host:  context: chat
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - Application scope: Scope [name=chat, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200071, depth=1, enabled=true, running=false]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScopeManager - addWebSocketScope: WebSocketScope [path=default, listeners=1, connections=0]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket scope added
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket app added: chat
[INFO] [Loader:/vod] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/vod] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/vod] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/vod] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/vod] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/vod] org.red5.server.Server - Add mapping global: default host:  context: vod
[INFO] [Loader:/installer] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/installer] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/installer] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/installer] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/installer] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default']]
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost context: installer
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost:5080 context: installer
[INFO] [Loader:/installer] org.red5.server.service.Installer - Installer service created
[INFO] [Loader:/oflaDemo] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/oflaDemo] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/oflaDemo] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default', 'localhost:5080/installer' -> 'default', 'localhost/installer' -> 'default']]
[INFO] [Loader:/oflaDemo] org.red5.server.Server - Add mapping global: default host:  context: oflaDemo
oflaDemo appStart
[INFO] [pool-4-thread-1] org.red5.server.tomcat.WarDeployer - Deploy wars with app start

This is the port scans check:
[root@yourdomain red5]# ps aux | grep red5
root      3007  5.6 12.7 3402312 262644 pts/0  Sl   04:26   0:08 /opt/jdk1.8.0_131/bin/java -Dred5.root=/usr/local/red5 -Djava.security.debug=failure -Xms256m -Xmx1g -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:MaxMetaspaceSize=128m -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -Dcatalina.home=/usr/local/red5 -Dcatalina.useNaming=true -Djava.library.path=/usr/local/red5/lib/native -Dpython.home=lib -cp /usr/local/red5/red5-service.jar:/usr/local/red5/conf:.:/usr/lib/jvm/java/lib/classes.zip org.red5.server.Bootstrap 9999
root      3130  0.0  0.0 103328   884 pts/0    S+   04:29   0:00 grep red5

[root@yourdomain red5]# netstat -anp | grep 1935
tcp        0      0 0.0.0.0:1935                0.0.0.0:*                   LISTEN      3007/java

Any Help? I really need to get this working.

Cheers
 


 

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/h5zkP9VMyOo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RED5 not starting properly

Y. A.
Hello again,

thank you Mondain, I am making the changes in the file now. 

For reference there are a few posts around of people with the same problem.

Thanks again and have a good day

Best Regards
Yuri Alfano

Phone:   +44 7542993266


On Wed, May 31, 2017 at 2:29 PM, Mondain <[hidden email]> wrote:
Port 8081 is used by our websocket plugin, if you don't need ws, comment out the block in the configuration file; to simply change the port, open the red5.properties file and change it to something else.

On Wed, May 31, 2017 at 6:22 AM Yuri A. <[hidden email]> wrote:
Hello Mondain,

Thanks for your reply. I have seen that and I was also assuming that;s the only thing from preventing the server to run.

Is there any way I can configure red5 to use a different port? 

Cheers
Yuri

Best Regards
Yuri Alfano

Phone:   <a href="tel:+44%207542%20993266" value="+447542993266" target="_blank">+44 7542993266


On Wed, May 31, 2017 at 2:15 PM, Mondain <[hidden email]> wrote:
Red5 is not able to use port 8081 due to something else already being bound to it.

Error while binding on /0.0.0.0:8081 original message : Address already in use


On Wed, May 31, 2017 at 1:38 AM Y. A. <[hidden email]> wrote:
good morning,

I have installed RED5 on my server. 

Installation was fine and red5 start as usual it seems (although there are a couple of errors I have checked and it seems those are not a problem)...but unfortunately, I cannot access the application

This is RED5 Folder:
-rw-rw-r-- 1 1000 1000  24283 Dec 23 09:33 commons-daemon-1.0.15.jar
drwxr-xr-x 2 root root   4096 May 30 18:28 conf
-rw-rw-r-- 1 1000 1000   4080 May 18  2016 install-service.bat
drwxr-xr-x 2 root root   4096 May 30 18:28 lib
-rw-r--r-- 1 1000 1000   1339 Apr  7  2014 license.txt
drwxr-xr-x 2 root root   4096 May 30 18:35 log
drwxr-xr-x 2 root root   4096 May 30 18:28 plugins
-rwxr-xr-x 1 1000 1000   3350 Jul  6  2016 red5
-rw-rw-r-- 1 1000 1000   1678 Nov 23  2016 red5.bat
-rw-r--r-- 1 1000 1000    510 Jan 11  2016 red5-debug.bat
-rwxr-xr-x 1 1000 1000    541 May 19  2016 red5-debug.sh
drwxrwxr-x 6 1000 1000   4096 Dec 23 09:46 red5-server
-rw-rw-r-- 1 1000 1000 282742 Dec 23 09:46 red5-server.jar
-rwxr-xr-x 1 1000 1000    112 May 19  2016 red5.service
-rw-rw-r-- 1 1000 1000  20059 Dec 23 09:33 red5-service.jar
-rwxr-xr-x 1 1000 1000   2107 Nov 23  2016 red5.sh
-rw-r--r-- 1 1000 1000    156 May 19  2016 red5-shutdown.bat
-rwxr-xr-x 1 1000 1000    613 Nov  2  2016 red5-shutdown.sh
-rw-r--r-- 1 root root     36 May 30 20:02 shutdown.token
-rw-rw-r-- 1 1000 1000    124 Dec 20  2014 uninstall-service.bat
drwxr-xr-x 8 root root   4096 May 30 18:28 webapps
drwxr-xr-x 3 root root   4096 May 30 18:35 work
[root@yourdomain red5]#


This are the RED5 logs when it start 
Starting Red5
Red5 root: /usr/local/red5
Configuation root: /usr/local/red5/conf
Red5 server jar was found
URL list: [file:/usr/local/red5/red5-server.jar]
Selected libraries: (62 items)
file:/usr/local/red5/red5-server.jar
file:/usr/local/red5/lib/bcprov-jdk15on-1.55.jar
file:/usr/local/red5/lib/commons-lang3-3.5.jar
file:/usr/local/red5/lib/gson-2.2.4.jar
file:/usr/local/red5/lib/asm-5.0.4.jar
file:/usr/local/red5/lib/pdfbox-tools-2.0.3.jar
file:/usr/local/red5/lib/mina-integration-jmx-2.0.16.jar
file:/usr/local/red5/lib/pdfbox-debugger-2.0.3.jar
file:/usr/local/red5/lib/spring-expression-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/red5-io-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/slf4j-api-1.7.22.jar
file:/usr/local/red5/lib/jmatio-1.2.jar
file:/usr/local/red5/lib/jul-to-slf4j-1.7.22.jar
file:/usr/local/red5/lib/boilerpipe-1.1.0.jar
file:/usr/local/red5/lib/ehcache-core-2.6.11.jar
file:/usr/local/red5/lib/tika-core-1.14.jar
file:/usr/local/red5/lib/apache-mime4j-core-0.7.2.jar
file:/usr/local/red5/lib/rome-utils-1.5.1.jar
file:/usr/local/red5/lib/commons-beanutils-1.9.3.jar
file:/usr/local/red5/lib/apache-mime4j-dom-0.7.2.jar
file:/usr/local/red5/lib/ognl-3.1.11.jar
file:/usr/local/red5/lib/spring-web-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/cors-filter-2.5.jar
file:/usr/local/red5/lib/isoparser-1.1.17.jar
file:/usr/local/red5/lib/jempbox-1.8.12.jar
file:/usr/local/red5/lib/rome-1.5.1.jar
file:/usr/local/red5/lib/spring-context-support-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/xmpcore-5.1.2.jar
file:/usr/local/red5/lib/tagsoup-1.2.1.jar
file:/usr/local/red5/lib/tika-parsers-1.14.jar
file:/usr/local/red5/lib/commons-compress-1.12.jar
file:/usr/local/red5/lib/jackson-core-2.8.1.jar
file:/usr/local/red5/lib/javassist-3.20.0-GA.jar
file:/usr/local/red5/lib/metadata-extractor-2.9.1.jar
file:/usr/local/red5/lib/logback-classic-1.1.7.jar
file:/usr/local/red5/lib/spring-context-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/httpclient-4.5.2.jar
file:/usr/local/red5/lib/juniversalchardet-1.0.3.jar
file:/usr/local/red5/lib/red5-server-common-1.0.8-RELEASE.jar
file:/usr/local/red5/lib/jcl-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/logback-core-1.1.7.jar
file:/usr/local/red5/lib/spring-core-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/commons-io-2.5.jar
file:/usr/local/red5/lib/quartz-2.2.3.jar
file:/usr/local/red5/lib/commons-collections-3.2.2.jar
file:/usr/local/red5/lib/spring-beans-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/spring-aop-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/java-property-utils-1.9.1.jar
file:/usr/local/red5/lib/spring-webmvc-4.3.5.RELEASE.jar
file:/usr/local/red5/lib/mina-integration-beans-2.0.16.jar
file:/usr/local/red5/lib/mina-core-2.0.16.jar
file:/usr/local/red5/lib/log4j-over-slf4j-1.7.22.jar
file:/usr/local/red5/lib/commons-codec-1.10.jar
file:/usr/local/red5/lib/httpcore-4.4.4.jar
file:/usr/local/red5/conf/
file:/usr/local/red5/plugins/
file:/usr/local/red5/plugins/tomcat-embed-core-8.5.9.jar
file:/usr/local/red5/plugins/websocket-1.7.jar
file:/usr/local/red5/plugins/tomcat-embed-el-8.5.9.jar
file:/usr/local/red5/plugins/tomcat-embed-jasper-8.5.9.jar
file:/usr/local/red5/plugins/tomcatplugin-1.18.jar
file:/usr/local/red5/plugins/ecj-4.5.1.jar

Root: /usr/local/red5
Deploy type: bootstrap
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.8 (https://github.com/Red5)
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; 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.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Wed May 31 04:26:37 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711
[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.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
[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.2.2.3 created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'
  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 32 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 the specified file : '/usr/local/red5/conf/quartz.properties'
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.
[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 '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 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
[INFO] [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@dfd3711: startup date [Wed May 31 04:26:37 EDT 2017]; root of context hierarchy
[INFO] [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init
[INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [red5.properties]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
Acceptor style: default I/O threads: 16
TCP no-delay: true keep-alive: false
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled
[INFO] [main] org.red5.server.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0
[INFO] [main] org.red5.server.ContextLoader - ContextLoader init
[INFO] [main] org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/red5/webapps/red5-default.xml
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45: startup date [Wed May 31 04:26:38 EDT 2017]; parent: ApplicationContext 'red5.common'
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/red5/webapps/red5-default.xml]
[INFO] [main] org.red5.server.Context - Setting parent bean factory as core
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [main] org.red5.server.tomcat.WarDeployer - War deployer service created
[INFO] [main] org.red5.server.tomcat.WarDeployer - Starting WarDeployer
[INFO] [main] org.red5.server.tomcat.WarDeployer - Deploy wars without app start
[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket (ws) will be bound to [0.0.0.0:8081]
[ERROR] [main] org.red5.net.websocket.WebSocketTransport - Exception occurred during resolve / bind
java.io.IOException: Error while binding on /0.0.0.0:8081
original message : Address already in use
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:238)
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:586)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:71)
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:454)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading Tomcat
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/red5
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/red5/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/red5/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
May 31, 2017 4:26:39 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
[INFO] [main] org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/red5/lib/native
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
May 31, 2017 4:26:39 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
[INFO] [main] org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
[INFO] [main] org.apache.catalina.core.StandardService - Starting service Tomcat
May 31, 2017 4:26:39 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.9
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.9
May 31, 2017 4:26:39 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.startup.ContextConfig - No global web.xml found
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/live] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/chat] - No Spring WebApplicationInitializer types detected on classpath
Context init: chat
Context logger config found: file:/usr/local/red5/webapps/chat/WEB-INF/classes/logback-chat.xml
Filter init: chat
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/vod] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/installer] - No Spring WebApplicationInitializer types detected on classpath
May 31, 2017 4:26:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/oflaDemo] - No Spring WebApplicationInitializer types detected on classpath
Context init: oflaDemo
Context logger config found: file:/usr/local/red5/webapps/oflaDemo/WEB-INF/classes/logback-oflaDemo.xml
Filter init: oflaDemo
May 31, 2017 4:26:39 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [http-nio-0.0.0.0-5080]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/red5/webapps/root/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /live path: /usr/local/red5/webapps/live/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /chat path: /usr/local/red5/webapps/chat/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /vod path: /usr/local/red5/webapps/vod/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /installer path: /usr/local/red5/webapps/installer/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /oflaDemo path: /usr/local/red5/webapps/oflaDemo/
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
Token: 2e4f2911-6ae2-48ed-b889-040fefb91fe0
Bootstrap complete
Bootstrap exit
[INFO] [Loader:] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:39 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap[[empty]]]
[INFO] [Loader:] org.red5.server.scope.Scope - Scope null name reset to:  disallowed
[INFO] [Loader:] org.red5.server.Server - Add mapping global: default host:  context: null
[INFO] [Loader:] org.red5.server.scope.Scope - Invalid scope name, null is not allowed
[WARN] [Loader:] org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200008, depth=1, enabled=true, running=false]
[WARN] [Loader:] org.red5.server.scope.Scope - Scope not added to parent
[INFO] [Loader:] org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.
[INFO] [Loader:/live] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/live] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/live] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/live] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/live] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/' -> 'default']]
[INFO] [Loader:/live] org.red5.server.Server - Add mapping global: default host:  context: live
[INFO] [Loader:/chat] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/chat] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/chat] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/chat] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/chat] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/chat] org.red5.server.Server - Add mapping global: default host:  context: chat
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - Application scope: Scope [name=chat, path=/default, type=APPLICATION, autoStart=true, creationTime=1496219200071, depth=1, enabled=true, running=false]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScopeManager - addWebSocketScope: WebSocketScope [path=default, listeners=1, connections=0]
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket scope added
[INFO] [Loader:/chat] org.red5.net.websocket.WebSocketScope - WebSocket app added: chat
[INFO] [Loader:/vod] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/vod] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/vod] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/vod] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/vod] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/' -> 'default']]
[INFO] [Loader:/vod] org.red5.server.Server - Add mapping global: default host:  context: vod
[INFO] [Loader:/installer] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/installer] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/installer] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/installer] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/installer] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default']]
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost context: installer
[INFO] [Loader:/installer] org.red5.server.Server - Add mapping global: default host: localhost:5080 context: installer
[INFO] [Loader:/installer] org.red5.server.service.Installer - Installer service created
[INFO] [Loader:/oflaDemo] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed May 31 04:26:40 EDT 2017]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5dafbe45
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Loader:/oflaDemo] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Loader:/oflaDemo] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Loader:/oflaDemo] org.red5.server.scope.WebScope - Set server [Server@a9d0b0bmap['/chat' -> 'default', '/live' -> 'default', '/vod' -> 'default', '/' -> 'default', 'localhost:5080/installer' -> 'default', 'localhost/installer' -> 'default']]
[INFO] [Loader:/oflaDemo] org.red5.server.Server - Add mapping global: default host:  context: oflaDemo
oflaDemo appStart
[INFO] [pool-4-thread-1] org.red5.server.tomcat.WarDeployer - Deploy wars with app start

This is the port scans check:
[root@yourdomain red5]# ps aux | grep red5
root      3007  5.6 12.7 3402312 262644 pts/0  Sl   04:26   0:08 /opt/jdk1.8.0_131/bin/java -Dred5.root=/usr/local/red5 -Djava.security.debug=failure -Xms256m -Xmx1g -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:MaxMetaspaceSize=128m -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -Dcatalina.home=/usr/local/red5 -Dcatalina.useNaming=true -Djava.library.path=/usr/local/red5/lib/native -Dpython.home=lib -cp /usr/local/red5/red5-service.jar:/usr/local/red5/conf:.:/usr/lib/jvm/java/lib/classes.zip org.red5.server.Bootstrap 9999
root      3130  0.0  0.0 103328   884 pts/0    S+   04:29   0:00 grep red5

[root@yourdomain red5]# netstat -anp | grep 1935
tcp        0      0 0.0.0.0:1935                0.0.0.0:*                   LISTEN      3007/java

Any Help? I really need to get this working.

Cheers
 


 

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/h5zkP9VMyOo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/h5zkP9VMyOo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.