path of JRE

I am installing RMS in my server. I installed JRE first but now i am asked to enter path of JRE in red5.sh but i dnt know from where to get the path of JRE.

Nybdy knows this?

 

https://www.facebook.com/4thmolar
Quote · 25 Apr 2011

find -name java
./opt/rms/java
./etc/alternatives/java
./etc/java
./var/lib/alternatives/java
./usr/share/java   <<<<<<<<<<<<<<<     most common
./usr/share/doc/db4-devel-4.3.29/ref/java
./usr/share/doc/libidn-devel-0.6.5/contrib/java

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 25 Apr 2011

Thanks, i got that

should there be ffmpeg.exe in media server directory???????

https://www.facebook.com/4thmolar
Quote · 26 Apr 2011

no there is no longer an ffmpeg.exe in the RMS file structure.

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 26 Apr 2011

Ok, so i am done widh RMS installation. NOW how to use IM chat??

It shows LOADING LOADING and LOADING...........

https://www.facebook.com/4thmolar
Quote · 26 Apr 2011

 

Ok, so i am done widh RMS installation. NOW how to use IM chat??

It shows LOADING LOADING and LOADING...........

what result did you get when you started the service?

did you open your ports on your system?

did you add the run command to /etc/init.d/

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Apr 2011

 

 

Ok, so i am done widh RMS installation. NOW how to use IM chat??

It shows LOADING LOADING and LOADING...........

what result did you get when you started the service?

did you open your ports on your system?

did you add the run command to /etc/init.d/

i opened all 3 ports as given in tutorial using this command

iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 5080 -j ACCEPT

But didnt run the /etc/init.d/  command?? what should be the full command?
https://www.facebook.com/4thmolar
Quote · 26 Apr 2011

this is for my server..

On most Linux systems this file is /etc/rc.local. You should input the following lines in it: "cd path_to_rms" and "/path_to_rms/run_daemon.sh", where "path_to_rms" stands for the absolute path to Ray Media Server folder.

GNU nano 2.2.4                                 File: /etc/rc.local

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
cd /usr/path_to_rms/
./run_daemon.sh

exit 0

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Apr 2011

when i test run RMS using this command in its directory ----->          ./red5.sh

it gives following output.

 

 

[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiati
ng singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@193a66f: defin
ing beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server]; roo
t of factory hierarchy                                                                              
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.s
pringframework.context.support.FileSystemXmlApplicationContext@11a75a2: startup date [Wed Apr 27 14:
31:09 UTC 2011]; root of context hierarchy                                                          
[INFO] [main] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading prope
rties file from class path resource [red5.properties]                                               
[INFO] [main] org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiati
ng singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@125fefa: defin
ing beans [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectSer
vice,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceTh
read,sharedObjectService,streamService,providerService,consumerService,bandwidthFilter,schedulingSer
vice,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.i
mpl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springfr
amework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,cli
entBroadcastStream]; root of factory hierarchy                                                      
[WARN] [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean proper
ty 'enableRmiAdapter' being accessed! Ambiguous write methods found next to actually used [public vo
id org.red5.server.jmx.JMXAgent.setEnableRmiAdapter(java.lang.String)]: [public void org.red5.server
.jmx.JMXAgent.setEnableRmiAdapter(boolean)]                                                         
[WARN] [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean proper
ty 'enableSsl' being accessed! Ambiguous write methods found next to actually used [public void org.
red5.server.jmx.JMXAgent.setEnableSsl(java.lang.String)]: [public void org.red5.server.jmx.JMXAgent.
setEnableSsl(boolean)]                                                                              
[WARN] [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean proper
ty 'enableMinaMonitor' being accessed! Ambiguous write methods found next to actually used [public v
oid org.red5.server.jmx.JMXAgent.setEnableMinaMonitor(java.lang.String)]: [public void org.red5.serv
er.jmx.JMXAgent.setEnableMinaMonitor(boolean)]  
https://www.facebook.com/4thmolar
Quote · 27 Apr 2011

AND at last this one.....

 

Caused by: java.net.BindException: Address already in use                                           
        at sun.nio.ch.Net.bind(Native Method)                                                       
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)                
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)                         
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:248)  
        at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)   
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoA
cceptor.java:521)                                                                                   
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPollingIoAccept
or.java:65)                                                                                         
        at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcce
ptor.java:405)                                                                                      
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)          
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)          
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)          
        at java.lang.Thread.run(Thread.java:636)                                                    
Bootstrap complete                                                                                  
                    
https://www.facebook.com/4thmolar
Quote · 27 Apr 2011

the issue you see on the last screen shot is that the ports are being occupied. that could be due to RMS already being started.

 

ps ax |grep RMS

or

ps ax |grep Java

 

and you need to issue this command on all that is running on both RMS and JAVA

 

kill -9 PID

 

then issue the command again to invoke red5

also did you modify each of the apps on the RMS installation you are doing?

 

you can also nmap your server to verify those ports are open on TCP both incoming and outgoing are needed.

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 27 Apr 2011

Also try

pkill java

and then try to start rms as well.  java server might already be running. sounds odd but i just ran into this not long ago. 

Only seems to happen on plesk servers.  Also if you are running plesk it already took over port 8443 and that might be a problem as well.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 28 Apr 2011

after giving command    java -version

 

 

i get this, is it what we need??

 

 

java version "1.6.0_20"

OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1)

OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)

https://www.facebook.com/4thmolar
Quote · 28 Apr 2011

seems to be correct...

 

 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 28 Apr 2011

one more thing i need to mention that i installed java twice may b....  using these two commands

sudo apt-get install openjdk-6-jre and after a few hours

sudo apt-get install sun-java6-jre

 

is this thing causing some problm?

 

 

https://www.facebook.com/4thmolar
Quote · 28 Apr 2011

Could be....   Again try      pkill java        then   ./run_deamon.sh    and see what happens.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 4 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.