Thank you for your code... My red5 file is updated with the given code and rebooted the system Even I am unable to access the OM through browser..
Regards, Ram On Mon, Oct 1, 2012 at 7:33 PM, Alexei Fedotov <[email protected]>wrote: > om-demo:~# cat /etc/init.d/red5 > #! /bin/sh > ### BEGIN INIT INFO > # Provides: red5 > # Required-Start: $local_fs $remote_fs $network $syslog $named > # Required-Stop: $local_fs $remote_fs $network $syslog $named > # Default-Start: 2 3 4 5 > # Default-Stop: 0 1 6 > # X-Interactive: true > # Short-Description: Start/stop red5 web server > ### END INIT INFO > # > # red5 red5 initscript > # > # Author: Simon Eisenmann . > # > set -e > LC_MESSAGES=ru_RU.UTF-8 > LC_CTYPE=ru_RU.UTF-8 > LANGUAGE=ru_RU.UTF-8 > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > DESC="Red5 flash streaming server" > NAME=red5 > RED5_HOME=/opt/red5 > DAEMON=$RED5_HOME/$NAME.sh > PIDFILE=/var/run/$NAME.pid > SCRIPTNAME=/etc/init.d/$NAME > # Gracefully exit if the package has been removed. > test -x $DAEMON || exit 0 > # Read config file if it is present. > if [ -r /etc/default/$NAME ] > then > . /etc/default/$NAME > fi > > # > # Function that starts the daemon/service. > # > d_start() { > start-stop-daemon --start -c nobody --pidfile $PIDFILE --chdir > $RED5_HOME > background --make-pidfile --exec $DAEMON > } > # > # Function that stops the daemon/service. > # > d_stop() { > start-stop-daemon --stop --quiet --pidfile $PIDFILE --name java > rm -f $PIDFILE > } > case "$1" in > start) > echo -n "Starting $DESC: $NAME" > d_start > echo "." > ;; > stop) > echo -n "Stopping $DESC: $NAME" > d_stop > echo "." > ;; > > restart|force-reload) > echo -n "Restarting $DESC: $NAME" > d_stop > sleep 1 > d_start > echo "." > ;; > > *) > echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 > exit 1 > ;; > > esac > exit 0 > > om-demo:~# > > On Sun, Sep 30, 2012 at 7:59 PM, Maxim Solodovnik <[email protected]> > wrote: > > please do _not_ put red5.sh to /etc/init.d > > > > you need to create script like described here: > > http://code.google.com/p/openmeetings/wiki/UbuntuLucidLTS > > > > starting from "now you need to create a red5 startup script" > > > > On Sun, Sep 30, 2012 at 10:48 PM, Alexei Fedotov > > <[email protected]>wrote: > > > >> Hello Ram, > >> > >> the service red5.sh should be placed at /etc/init.d > >> > >> -- > >> With best regards / с наилучшими пожеланиями, > >> Alexei Fedotov / Алексей Федотов, > >> http://dataved.ru/ > >> +7 916 562 8095 > >> > >> > >> On Sun, Sep 30, 2012 at 11:19 AM, Rammohan Alampally > >> <[email protected]> wrote: > >> > Hello Openmeetings Developers, > >> > > >> > I am using latest OM on Ubuntu 11+ successfully configured. > >> > I am able to access the OM through a browser when the red.sh service > runs > >> > backend. I finally decided to run the service through cron job but I > am > >> > unable to access the OM through the browser. > >> > > >> > My OM installed at > >> > /opt/red5 > >> > > >> > My red5.sh is also located at /opt/red5/. > >> > > >> > Please help me to access my OM THROUGH browser with out open the > command > >> > prompt...Permanent solution is needed... > >> > Say for example, if I reboot the system also I need to access the OM > >> > thougha browser after successful reboot... > >> > Please educate me this... > >> > > >> > > >> > Thanking you in advance... > >> > * > >> > Regards, > >> > Ram* > >> > > > > > > > > -- > > WBR > > Maxim aka solomax >
