QuoteMar 22, 2010 15:120 likesLike
 

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 ?

 

QuoteMar 23, 2010 09:190 likesLike
 

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

QuoteMar 23, 2010 09:290 likesLike
 

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..

QuoteMar 23, 2010 10:191 likesLike
 

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.

:-)
QuoteMar 23, 2010 10:250 likesLike
 

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.

QuoteMay 29, 2010 21:050 likesLike
 

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?

My site has banner ads here!
QuoteMay 29, 2010 21:150 likesLike
 

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.

:-)
QuoteMay 29, 2010 21:180 likesLike
 

 

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?

My site has banner ads here!
QuoteMay 29, 2010 21:230 likesLike
 

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

QuoteMay 29, 2010 21:470 likesLike
 

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.

:-)
QuoteMay 30, 2010 00:401 likesLike
 

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

QuoteMay 30, 2010 01:530 likesLike
 

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
QuoteMay 30, 2010 02:070 likesLike
 

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