RMS install problem

I am trying to install RMS on a linux box and keep getting a bad interpreter when I run either red5.sh or daemon.sh If some one knows why this is and how to fix it please let me know.

 

Thanks

Quote · 30 Jan 2011

which java did you install? i would look at reinstalling java, because there seems to be some problem there where its searching for a source that should be in a zip file that is not being located.

 

we seen some issues lately with the java site, where it would cut off downloads.

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

Thanks Dawg ..how have you been haven't chatted in awhile?

Quote · 30 Jan 2011

alsothis is a 64bit server will the RMS even run on it?

Quote · 30 Jan 2011

I am currently running rms on a 64-bit unix system. I didnt have any problems installing and all works well. THere is a tutorial on here that i followed. I will look for it and when i find it, i will post the link.

 

caredesign.net
Quote · 30 Jan 2011

In regards to the java comment. I dont know if this makes a difference, but I am not using the Java that installed on my server for my RMS. I actually installed java according to the tutorial so that it specifically uses that java.

jdoyle, just curious, did you edit the red5.sh and the daemon.sh? If so, could you post what you have. IF you have not edited them, then that may be your problem. you have to edit those.

THis is from the tutorial I was telling you about. you can access the whole tutorial at:  http://www.boonex.com/trac/dolphin/wiki/RayMediaServerInstallation

 

  1. access.dat – input all domain names which will be allowed to access RMS. Every domain name should be written on a separate line and should not contain "http://" and "www", just yourdomain.com;
  1. red5.sh (UNIX) – set the value for JAVA_HOME variable. It should be the path to the folder where JRE is installed. For example:
    JAVA_HOME=/opt/ray_server/jre1.x;
  1. run_daemon.sh (UNIX) – set the value for RAY_SERVER_PATH variable. It should be the path to the RMS folder on your server. For example:
    RAY_SERVER_PATH=/opt/ray_server;
  1. change the IP addresses in the files located in
    path_to_rms/webapps/widget_name/WEB-INF/red5-web.properties

where "path_to_rms" stands for path to your Media Server folder, and "widget_name" stands for board, chat, im, video and global ("global" is only for 3.5 version).

UNIX example:

/opt/ray_server/webapps/chat/WEB-INF/red5.properties

 

WINDOWS example:

C:\Program Files\RMS\webapps\chat\WEB-INF\red5.properties

 

Now (both UNIX and WINDOWS) find and replace the following line:

webapp.virtualHosts=0.0.0.0

with

webapp.virtualHosts=10.10.10.10

You should consult with your hosting provider about your IP address or use "ping your_domain_name" command where "your_domain_name" stands for your real domain name.

caredesign.net
Quote · 30 Jan 2011

ProdessorSr

Yes I edited all required files with the proper IP addresses. I would be interested in the link to how you installed your java as I seem to think that that may be my problem..Please post it when you find it.

Thanks

Quote · 31 Jan 2011

FIrst off, I have root acess to my server.

2nd, I dont know the exact step by step that I did other than the tutorial I posted the link for already. But if you post your current settings for red5.sh and daemon.sh I can help you better. If you look at the tutorial, it is not just the ip addresses that you need to edit.

caredesign.net
Quote · 31 Jan 2011

O.K. thanks for your help it's like 2:30 in the morning, i've been fighting this all day..I have attached the files you requested for you to have a look. I'm going to get some sleep and will get back on it in the morning. If you need the login info to the server which i have root access let me know.

red5.sh · 1.4K · 61 downloads
run_daemon.sh · 265B · 64 downloads
Quote · 31 Jan 2011

where would I find this?

Now (both UNIX and WINDOWS) find and replace the following line:

webapp.virtualHosts=0.0.0.0

with

webapp.virtualHosts=10.10.10.10
Quote · 31 Jan 2011

 

 

I have noticed differences in the red5.sh file

your file has

P=":" # The default classpath separator
OS=`uname`
case "$OS" in
CYGWIN*|MINGW*) # Windows Cygwin or Windows MinGW
P=";" # Since these are actually Windows, let Java know
;;
Darwin*)

;;
*)
# Do nothing
;;
esac

 

mine has

 

P=":" # The default classpath separator
OS=`uname`
case "$OS" in
CYGWIN*|MINGW*) # Windows Cygwin or Windows MinGW
P=";" # Since these are actually Windows, let Java know
;;
*)
# Do nothing
;;
esac

 

 

 

Second, do you have java.conf file located in your /opt/RMS_7.0.4/jre1.6.0_12

caredesign.net
Quote · 31 Jan 2011

To find the files to edit the ip address, they are located in your /opt/RMS_7.0.4/

you should have a folder named webapps

in the webapps folder, you need to open up the following folders: board, chat, global, im, video

in each of those foldersthere is a folder named WEB-inf, which has a filed named red5-web.properties.

Each one of these should have the ip address of your domain, not the domain name (i dont know if using the domain name makes any difference, but I am using the ip address).

you should see something similar to this:

webapp.contextPath=/board      board will be whatever flash app folder you are in
webapp.virtualHosts=66.117.39.160       change the ip address here to that of your server

caredesign.net
Quote · 31 Jan 2011

O.k. I removed the

  ;;Darwin*)

and both red5.sh and run_daemon.sh worked and it is running how every when ever a site tries to connect it gets a long handshake error and tries to reconnect..any ideas..happy to see some progress is being made :)

Quote · 31 Jan 2011

the last part is to allow the site to access your RMS server. If you open the access.dat file and add the domain name of the site you wish to access the RMS. 1 domain name per line, like this:

 

# You need to make a list of available domain names.
# Each domain name should be entered from new line. For example, my_domain.com
mtsco.net
mytherapysession.com
caredesign.md
mytherapysession.net

caredesign.net
Quote · 31 Jan 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.