How to Restart RMS

Hello

* Any time when my server restart my RMS was stopped, so I have to restart my RMS so that my chat and board will work again.

where can i find RMS and how can i restart it ?

 

Quote · 22 Mar 2010

Can any one Help me please, did not get any reply till now

Quote · 23 Mar 2010

I claim to not be a pro but I have my own RMS install at home.

When I restart the server, I then have to navigate to the folder where RMS is installed and run ./run-daemon.sh to restart my RMS.

I'm sure there is an auto run function, but I have not been able to get that together yet..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 23 Mar 2010

http://www.boonex.com/trac/dolphin/wiki/RayMediaServerInstallation

Works on my Linux server just fine on restarts!

 

Setting-up RMS on Startup

  • Now you should add a task to your server's startup file, so every time your server restarts, RMS could start automatically. 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.

For example:

cd /opt/ray_server
./run_daemon.sh

NB: on Windows machines you will have to add the following file "C:\Program Files\RMS\run_daemon.exe" to Startup.

:-)
Quote · 23 Mar 2010

http://www.boonex.com/trac/dolphin/wiki/RayMediaServerInstallation

Works on my Linux server just fine on restarts!

Setting-up RMS on Startup

  • Now you should add a task to your server's startup file, so every time your server restarts, RMS could start automatically. 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.

For example:

cd /opt/ray_server
./run_daemon.sh

NB: on Windows machines you will have to add the following file "C:\Program Files\RMS\run_daemon.exe" to Startup.

Thanks jctwebsites! (point) that is just what I was missing! @messarra, this works for me.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 23 Mar 2010

Everytime there's a hiccup on my server I have to restart my RMS. Can I make restarting the RMS a function of the cron job?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 30 May 2010

Every time you restart RMS, you kick anybody out of any widget that requires RMS.  Also, I've found that RMS does not start reliably after every restart.  Sometimes you have to restart it twice to get it working right.  So if you don't mind those two things that I can think of, I am sure there is a way to setup a cron job to restart your RMS every so often as it is coded to kill any existing RMS process when you ./run_daemon.sh which in turn, restarts it.

:-)
Quote · 30 May 2010

 

Every time you restart RMS, you kick anybody out of any widget that requires RMS.  Also, I've found that RMS does not start reliably after every restart.  Sometimes you have to restart it twice to get it working right.  So if you don't mind those two things that I can think of, I am sure there is a way to setup a cron job to restart your RMS every so often as it is coded to kill any existing RMS process when you ./run_daemon.sh which in turn, restarts it.

 

What about creating a script that can check to see if it's running, then restart it when necessary?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 30 May 2010

Every time you restart RMS, you kick anybody out of any widget that requires RMS.  Also, I've found that RMS does not start reliably after every restart.  Sometimes you have to restart it twice to get it working right.  So if you don't mind those two things that I can think of, I am sure there is a way to setup a cron job to restart your RMS every so often as it is coded to kill any existing RMS process when you ./run_daemon.sh which in turn, restarts it.

What about creating a script that can check to see if it's running, then restart it when necessary?

ps ax | grep ray_server

Quote · 30 May 2010

RMS will appear to be running, but your widgets may not be connecting / loading.  Not sure there is any way to do that other than visually.

:-)
Quote · 30 May 2010

http://www.modmysite.com/ray-community-widget-suite/10494-check-if-red5-running-restart-if-not.html#post39770

So if you want to see the script, please visit the above thread.

Edited Post - added here too!

#!/bin/bash

#Path to Ray Server's folder
RAY_SERVER_PATH=/your/path/to/RMS

PID=`ps ax | grep java | grep red5 | gawk 'BEGIN {FS=" "} { print $1 }'`
if [[ $PID > 0 ]] ; then
echo "Red5 Appears To Be Running..."
exit 0
fi

#Start RED5
$RAY_SERVER_PATH/red5.sh >/dev/null 2>&1 &
echo "Red5 Restart Attempted..."
exit 1

Smoge

Quote · 30 May 2010

Copy & Paste using FF, Click on HTML in the editor, Paste save, works for me.

http://www.modmysite.com/ray-community-widget-suite/10494-check-if-red5-running-restart-if-not.html#post39770


I would be happy to have cut and pasted the info here in UNITY, but I don't run WinDoze... and when I try to paste the code here, I can't using my current browser, FireFox....


So if you want to see the script, please visit the above thread.


Smoge

From the land DownUnder
Quote · 30 May 2010

Yea... I was using the mouse to copy/paste, has some pop-up saying unsupported (I'm using FF on Linux)... but a Control-c and Control-v works fine too.  ;)

Smoge

Quote · 30 May 2010
 
 
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.