[Red5] re d5 server wont start on debian after install

contact younes at virtual-industry.com
Fri Feb 29 02:22:23 PST 2008


Seems to be a JMX bug, whitch JRE version are you using ?

Exception in thread "main" javax.management.NotCompliantMBeanException:
MBean is not compliant
   at mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:818)



Marius974 a écrit :
> I removed all red5 directories and stuff and installed it again. Still no
> luck :( Still the same error message.
>
>
>
> contact-34 wrote:
>   
>>
>> Marius974 a écrit :
>>     
>>> I have 
>>> /usr/lib/red5/webapps (0.7.0) and 
>>> /usr/local/red5/webapps (0.6.3) 
>>>
>>>   
>>>       
>> Remove the 0.6.3 webapps and check if is there a old application still 
>> in /usr/lib/red5/webapps.
>>
>>     
>>> What should be moved to where?
>>>
>>>
>>>
>>> contact-34 wrote:
>>>   
>>>       
>>>> Hi,
>>>> Did you have a old red5 applications in the webapp directory ? If so 
>>>> just move them from this directory I try to restart the server.
>>>>
>>>>
>>>> Marius974 a écrit :
>>>>     
>>>>         
>>>>> Debian-40-etch-32-LAMP:~# /etc/init.d/stop
>>>>> -bash: /etc/init.d/stop: No such file or directory
>>>>> Debian-40-etch-32-LAMP:~# /etc/init.d/red5 stop
>>>>> Stopping Red5 flash streaming server: red5Debian-40-etch-32-LAMP:~#
>>>>> Debian-40-etch-32-LAMP:~# /etc/init.d/red5 start
>>>>> Starting Red5 flash streaming server: red5.
>>>>> Debian-40-etch-32-LAMP:~# lynx http://localhost:5080/
>>>>>
>>>>> Looking up localhost:5080
>>>>> Making HTTP connection to localhost:5080
>>>>> Alert!: Unable to connect to remote host.
>>>>>
>>>>> lynx: Can't access startfile http://localhost:5080/
>>>>>
>>>>>
>>>>> red5 start doesnt seem to do anything. :(
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> contact-34 wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Try first the restart the server using  :
>>>>>> /etc/init.d/red5 stop
>>>>>> /etc/init.d/red5 start
>>>>>>
>>>>>> after just got to  http://localhost:5080/ or replace the localhost by 
>>>>>> your domaine name.
>>>>>>
>>>>>> cheers
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Thanks for that. I tried it and got this:
>>>>>>>
>>>>>>> Debian-40-etch-32-LAMP:~# dpkg -i red5_0.7.0_all.deb
>>>>>>> tar: ./postinst: time stamp 2008-02-28 11:40:42 is 245.794349027 s in
>>>>>>> the
>>>>>>> future
>>>>>>> tar: ./prerm: time stamp 2008-02-28 11:40:42 is 245.794022305 s in
>>>>>>> the
>>>>>>> future
>>>>>>> tar: ./postrm: time stamp 2008-02-28 11:40:42 is 245.793922282 s in
>>>>>>> the
>>>>>>> future
>>>>>>> tar: ./conffiles: time stamp 2008-02-28 11:40:42 is 245.793825901 s
>>>>>>> in
>>>>>>> the
>>>>>>> future
>>>>>>> tar: ./md5sums: time stamp 2008-02-28 11:40:44 is 247.79366241 s in
>>>>>>> the
>>>>>>> future
>>>>>>> tar: ./control: time stamp 2008-02-28 11:40:43 is 246.793567875 s in
>>>>>>> the
>>>>>>> future
>>>>>>> tar: .: time stamp 2008-02-28 11:40:43 is 246.793484278 s in the
>>>>>>> future
>>>>>>> (Reading database ... 70602 files and directories currently
>>>>>>> installed.)
>>>>>>>   
>>>>>>> Preparing to replace red5 0.6.3-1 (using red5_0.7.0_all.deb) ...
>>>>>>>   
>>>>>>>       
>>>>>>> Unpacking replacement red5 ...
>>>>>>> Setting up red5 (0.7.0) ...
>>>>>>> Starting Red5 flash streaming server: red5.
>>>>>>>
>>>>>>>
>>>>>>> Looks fine for me - but I dont see the server running.
>>>>>>>
>>>>>>> It is installed in /usr/lib/red5 - right? When I try to run the
>>>>>>> /usr/lib/red5/red5.sh I got the same error like in my first message. 
>>>>>>>
>>>>>>> I also got a /usr/local/red5 with still 0.6.3 in it. Same error
>>>>>>> there.
>>>>>>>
>>>>>>>
>>>>>>> How can I uninstall all the stuff and start new with only our
>>>>>>> package?
>>>>>>>
>>>>>>> Whant else could be wrong here?
>>>>>>>
>>>>>>> Thanks for your help, very much appreciated!
>>>>>>>
>>>>>>> Marius
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> contact-34 wrote:
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>> Hi,
>>>>>>>> I made a debian package located here 
>>>>>>>> http://www.red5.fr/release/0.7.0/debian/red5_0.7.0_all.deb
>>>>>>>> wget http://www.red5.fr/release/0.7.0/debian/red5_0.7.0_all.deb
>>>>>>>> dpkg - i red5_0.7.0_all.deb
>>>>>>>>
>>>>>>>> Try it, let me know ;)
>>>>>>>>
>>>>>>>> Marius974 a écrit :
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> I am new to red5 but I cant wait to see it in action.
>>>>>>>>>
>>>>>>>>> I followed the install instruction at
>>>>>>>>> http://osflash.org/red5/debian
>>>>>>>>>
>>>>>>>>> I have debian etch. There was not even one error during the
>>>>>>>>> installation.
>>>>>>>>> But when I start the server I get this message:
>>>>>>>>>
>>>>>>>>> Debian-40-etch-32-LAMP:/usr/local/red5# ./red5.sh &
>>>>>>>>> [1] 21642
>>>>>>>>> Debian-40-etch-32-LAMP:/usr/local/red5# Starting Red5...
>>>>>>>>> 2008-02-27 22:59:58,631 [main] INFO  org.red5.server.Standalone -
>>>>>>>>> Red5
>>>>>>>>> Server 0.7.0 $Revision: 2677 $ (http://www.osflash.org/red5)
>>>>>>>>> 2008-02-27 22:59:58,638 [main] INFO  org.red5.server.Standalone -
>>>>>>>>> Loading
>>>>>>>>> Red5 global context from: red5.xml
>>>>>>>>> 2008-02-27 22:59:58,638 [main] INFO  org.red5.server.Standalone -
>>>>>>>>> Setting
>>>>>>>>> Red5 root to //usr/local/red5
>>>>>>>>> 2008-02-27 22:59:58,639 [main] INFO  org.red5.server.Standalone -
>>>>>>>>> Setting
>>>>>>>>> configuation root to /usr/local/red5/conf
>>>>>>>>> 2008-02-27 22:59:58,724 [main] INFO 
>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext
>>>>>>>>> -
>>>>>>>>> Refreshing
>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext at 4d3e10:
>>>>>>>>> display name
>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplicationContext at 4d3e10];
>>>>>>>>> startup date [Wed Feb 27 22:59:58 GMT+01:00 2008]; root of context
>>>>>>>>> hierarchy
>>>>>>>>> 2008-02-27 23:00:00,058 [main] INFO 
>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext
>>>>>>>>> -
>>>>>>>>> Bean
>>>>>>>>> factory for application context
>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplicationContext at 4d3e10]:
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory at 3f8f80
>>>>>>>>> 2008-02-27 23:00:00,154 [main] INFO 
>>>>>>>>> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
>>>>>>>>> -
>>>>>>>>> Loading properties file from class path resource [red5.properties]
>>>>>>>>> 2008-02-27 23:00:00,160 [main] INFO 
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory
>>>>>>>>> -
>>>>>>>>> Pre-instantiating singletons in
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory at 3f8f80:
>>>>>>>>> defining beans
>>>>>>>>> [placeholderConfig,red5.common,red5.core,context.loader,jetty6.server];
>>>>>>>>> root
>>>>>>>>> of factory hierarchy
>>>>>>>>> 2008-02-27 23:00:00,186 [main] INFO 
>>>>>>>>> org.springframework.context.support.FileSystemXmlApplicationContext
>>>>>>>>> -
>>>>>>>>> Refreshing
>>>>>>>>> org.springframework.context.support.FileSystemXmlApplicationContext at 4d3dc0:
>>>>>>>>> display name
>>>>>>>>> [org.springframework.context.support.FileSystemXmlApplicationContext at 4d3dc0];
>>>>>>>>> startup date [Wed Feb 27 23:00:00 GMT+01:00 2008]; root of context
>>>>>>>>> hierarchy
>>>>>>>>> 2008-02-27 23:00:00,344 [main] INFO 
>>>>>>>>> org.springframework.context.support.FileSystemXmlApplicationContext
>>>>>>>>> -
>>>>>>>>> Bean
>>>>>>>>> factory for application context
>>>>>>>>> [org.springframework.context.support.FileSystemXmlApplicationContext at 4d3dc0]:
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory at 3f8f00
>>>>>>>>> 2008-02-27 23:00:00,426 [main] INFO 
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory
>>>>>>>>> -
>>>>>>>>> Pre-instantiating singletons in
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory at 3f8f00:
>>>>>>>>> defining beans
>>>>>>>>> [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream];
>>>>>>>>> root of factory hierarchy
>>>>>>>>> Created MBeanServer with ID:
>>>>>>>>> -qzo1hn:fd6fky80.0:Debian-40-etch-32-LAMP:1
>>>>>>>>> 2008-02-27 23:00:00,609 [main] INFO 
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory
>>>>>>>>> -
>>>>>>>>> Destroying singletons in
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory at 3f8f00:
>>>>>>>>> defining beans
>>>>>>>>> [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream];
>>>>>>>>> root of factory hierarchy
>>>>>>>>> 2008-02-27 23:00:00,611 [main] INFO 
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory
>>>>>>>>> -
>>>>>>>>> Destroying singletons in
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory at 3f8f80:
>>>>>>>>> defining beans
>>>>>>>>> [placeholderConfig,red5.common,red5.core,context.loader,jetty6.server];
>>>>>>>>> root
>>>>>>>>> of factory hierarchy
>>>>>>>>> Exception in thread "main"
>>>>>>>>> javax.management.NotCompliantMBeanException:
>>>>>>>>> MBean is not compliant
>>>>>>>>>    at
>>>>>>>>> mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:818)
>>>>>>>>>    at
>>>>>>>>> mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:769)
>>>>>>>>>    at
>>>>>>>>> mx4j.server.MX4JMBeanServer.registerMBean(MX4JMBeanServer.java:753)
>>>>>>>>>    at
>>>>>>>>> java.lang.management.ManagementFactory.getPlatformMBeanServer(libgcj.so.90)
>>>>>>>>>    at org.red5.server.jmx.JMXFactory.<clinit>(JMXFactory.java:63)
>>>>>>>>>    at java.lang.Class.initializeClass(libgcj.so.90)
>>>>>>>>>    at java.lang.reflect.Constructor.newInstance(libgcj.so.90)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
>>>>>>>>>    at
>>>>>>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>>>>>>>>>    at
>>>>>>>>> org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:124)
>>>>>>>>>    at
>>>>>>>>> org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:78)
>>>>>>>>>    at java.lang.reflect.Constructor.newInstance(libgcj.so.90)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:187)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:800)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:718)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
>>>>>>>>>    at
>>>>>>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>>>>>>>>>    at
>>>>>>>>> org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
>>>>>>>>>    at
>>>>>>>>> org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382)
>>>>>>>>>    at org.red5.server.Standalone.main(Standalone.java:153)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I have absolutely no idea what he is trying to tell me (exept that
>>>>>>>>> it
>>>>>>>>> does
>>>>>>>>> not work). What could be wrong here?
>>>>>>>>>
>>>>>>>>> Thanks in advance,
>>>>>>>>> Marius
>>>>>>>>>
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>> -- 
>>>>>>>> Younès BENAOMAR
>>>>>>>>
>>>>>>>> Cordialement
>>>>>>>> -------------------------------
>>>>>>>>
>>>>>>>> Virtual Industry
>>>>>>>> Ingénieur Développement RichMedia
>>>>>>>>
>>>>>>>> www: http://www.virtual-industry.com
>>>>>>>> blog: http://blog.virtual-industry.com
>>>>>>>> mail : contact at virtual-industry.com
>>>>>>>> phone : + 33 (0) 9 50 47 00 43
>>>>>>>> mobile : + 33 (0) 6 63 95 97 04
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Red5 mailing list
>>>>>>>> Red5 at osflash.org
>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>
>>>>>>>>
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>> -- 
>>>>>> Younès BENAOMAR
>>>>>>
>>>>>> Cordialement
>>>>>> -------------------------------
>>>>>>
>>>>>> Virtual Industry
>>>>>> Ingénieur Développement RichMedia
>>>>>>
>>>>>> www: http://www.virtual-industry.com
>>>>>> blog: http://blog.virtual-industry.com
>>>>>> mail : contact at virtual-industry.com
>>>>>> phone : + 33 (0) 9 50 47 00 43
>>>>>> mobile : + 33 (0) 6 63 95 97 04
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Red5 mailing list
>>>>>> Red5 at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>
>>>>>>
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>> -- 
>>>> Younès BENAOMAR
>>>>
>>>> Cordialement
>>>> -------------------------------
>>>>
>>>> Virtual Industry
>>>> Ingénieur Développement RichMedia
>>>>
>>>> www: http://www.virtual-industry.com
>>>> blog: http://blog.virtual-industry.com
>>>> mail : contact at virtual-industry.com
>>>> phone : + 33 (0) 9 50 47 00 43
>>>> mobile : + 33 (0) 6 63 95 97 04
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> -- 
>> Younès BENAOMAR
>>
>> Cordialement
>> -------------------------------
>>
>> Virtual Industry
>> Ingénieur Développement RichMedia
>>
>> www: http://www.virtual-industry.com
>> blog: http://blog.virtual-industry.com
>> mail : contact at virtual-industry.com
>> phone : + 33 (0) 9 50 47 00 43
>> mobile : + 33 (0) 6 63 95 97 04
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>     
>
>   

-- 
Younès BENAOMAR

Cordialement
-------------------------------

Virtual Industry
Ingénieur Développement RichMedia

www: http://www.virtual-industry.com
blog: http://blog.virtual-industry.com
mail : contact at virtual-industry.com
phone : + 33 (0) 9 50 47 00 43
mobile : + 33 (0) 6 63 95 97 04





More information about the Red5 mailing list