find / -name 'pid'
/var/run/avahi-daemon/pid
/var/run/dbus/pid
/var/spool/postfix/pid

root@vps-1~# kill -9 705
root@vps-1~# $Commands /etc/init.d/red5 start

root@vps-1~# $Commands /etc/init.d/red5 status
red5 is not running
root@vps-1~# cd /usr/lib/red5
root@vps-1/usr/lib/red5# ls
admin.bat                network_test.sh            red5-server.jar
admin.sh                 plugins                    red5-shutdown.bat
commons-cli-jar-1.2.jar  red5-debug.bat             red5-shutdown.sh
conf                     red5-debug.sh              red5.bat
lib                      red5-highperf.bat          red5.sh
license.txt              red5-highperf.sh           webapps
log                      red5-server-bootstrap.jar
root@vps-1/usr/lib/red5# ./red5.sh
Running on  Linux
Starting Red5
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled
in the future
Red5 root: /usr/lib/red5
Configuation root: /usr/lib/red5/conf
Red5 server jar was found
URL list: [file:/usr/lib/red5/red5-server.jar]
Selected libraries: (56 items)
file:/usr/lib/red5/red5-server.jar
file:/usr/lib/red5/lib/asm-jar-3.1.jar
file:/usr/lib/red5/lib/spring-webmvc-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-expression-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-tx-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/quartz-2.1.6.jar
file:/usr/lib/red5/lib/red5-client-1.0.2-SNAPSHOT.jar
file:/usr/lib/red5/lib/slf4j-api-1.7.2.jar
file:/usr/lib/red5/lib/spring-beans-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-jdbc-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-context-support-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/commons-collections-20040616.jar
file:/usr/lib/red5/lib/spring-web-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/xercesImpl-2.9.1.jar
file:/usr/lib/red5/lib/geronimo-jpa_2.0_spec-bundle-1.1.jar
file:/usr/lib/red5/lib/bcprov-jdk15on-1.47.jar
file:/usr/lib/red5/lib/spring-core-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/ehcache-core-2.5.0.jar
file:/usr/lib/red5/lib/jcl-over-slf4j-1.7.2.jar
file:/usr/lib/red5/lib/groovy-2.0.4.jar
file:/usr/lib/red5/lib/isoparser-1.0-RC-19-SNAPSHOT.jar
file:/usr/lib/red5/lib/mina-integration-jmx-2.0.7.jar
file:/usr/lib/red5/lib/jython-standalone-2.5.3.jar
file:/usr/lib/red5/lib/mina-integration-beans-2.0.7.jar
file:/usr/lib/red5/lib/aopalliance-1.0.jar
file:/usr/lib/red5/lib/cglib-nodep-2.2.2.jar
file:/usr/lib/red5/lib/commons-lang3-3.1.jar
file:/usr/lib/red5/lib/httpclient-4.2.1.jar
file:/usr/lib/red5/lib/spring-aop-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/mina-core-2.0.7.jar
file:/usr/lib/red5/lib/httpcore-4.2.1.jar
file:/usr/lib/red5/lib/commons-codec-1.6.jar
file:/usr/lib/red5/lib/spring-orm-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/xmlrpc-2.0.1.jar
file:/usr/lib/red5/lib/commons-fileupload-jar-1.3.jar
file:/usr/lib/red5/lib/commons-io-jar-2.4.jar
file:/usr/lib/red5/lib/antlr-3.1.3.jar
file:/usr/lib/red5/lib/spring-aspects-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/logback-classic-1.0.9.jar
file:/usr/lib/red5/lib/jruby-1.6.8.jar
file:/usr/lib/red5/lib/commons-beanutils-1.8.3.jar
file:/usr/lib/red5/lib/commons-pool-1.5.6.jar
file:/usr/lib/red5/lib/jul-to-slf4j-1.7.2.jar
file:/usr/lib/red5/lib/spring-context-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/logback-core-1.0.9.jar
file:/usr/lib/red5/lib/spring-asm-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/log4j-over-slf4j-1.7.2.jar
file:/usr/lib/red5/lib/spring-test-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-context-support-3.1.1.RELEASE.jar
file:/usr/lib/red5/conf/
file:/usr/lib/red5/plugins/
file:/usr/lib/red5/plugins/tomcat-embed-logging-log4j-jar-7.0.41.jar
file:/usr/lib/red5/plugins/tomcat-embed-logging-juli-jar-7.0.41.jar
file:/usr/lib/red5/plugins/tomcat-embed-core-jar-7.0.41.jar
file:/usr/lib/red5/plugins/tomcatplugin-jar-1.4.jar
file:/usr/lib/red5/plugins/tomcat-embed-jasper-jar-7.0.41.jar

Root: /usr/lib/red5
Deploy type: bootstrap
Logback selector: org.red5.logging.LoggingContextSelector
Setting default logging context: default
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.2 $Rev: 4638 $ (
http://code.google.com/p/red5/)
Red5 Server 1.0.2 $Rev: 4638 $ (http://code.google.com/p/red5/)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/lib/red5/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/lib/red5/lib/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.red5.logging.LoggingContextSelector]
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@11a06e38:
startup date [Thu Oct 03 12:22:48 IST 2013]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from class path resource [red5.xml]
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from class path resource [jee-container.xml]
[INFO] [main]
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer -
Loading properties file from class path resource [red5.properties]
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@7cbe41ec:
defining beans
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server];
root of factory hierarchy
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@69b01afa:
startup date [Thu Oct 03 12:22:48 IST 2013]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from class path resource [red5-common.xml]
[INFO] [main]
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer -
Loading properties file from class path resource [red5.properties]
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@59e184cb:
defining beans
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,minaEncoder,minaDecoder,statusObjectService,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,fileConsumer,playlistSubscriberStream,clientBroadcastStream];
root of factory hierarchy
[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.1.6
created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz
Scheduler (v2.1.6) '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 10 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 an externally provided properties
instance.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
version: 2.1.6
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_NON_CLUSTERED started.
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean -
Creating new RMI registry
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@59e184cb:
defining beans
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,minaEncoder,minaDecoder,statusObjectService,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,fileConsumer,playlistSubscriberStream,clientBroadcastStream];
root of factory hierarchy
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_NON_CLUSTERED shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_NON_CLUSTERED paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_NON_CLUSTERED shutdown complete.
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@7cbe41ec:
defining beans
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server];
root of factory hierarchy
Exception org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'red5.common' defined in class path resource
[red5.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class
[org.springframework.context.support.FileSystemXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'rmiRegistry' defined in class path resource
[red5-common.xml]: Invocation of init method failed; nested exception is
java.rmi.server.ExportException: Port already in use: 9999; nested
exception is:
        java.net.BindException: Address already in use
root@vps-1/usr/lib/red5# $Commands /etc/init.d/red5 status
red5 is not running

Reply via email to