i don't creat red5 startup script. I only installed
red5_0.6.3-1_all.deb on debian, and it created red5.sh on etc/init.d



#! /bin/sh
#
# red5          red5 initscript
#
# Author:       Simon Eisenmann <[email protected]>.
#

set -e

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Red5 flash streaming server"
NAME=red5
RED5_HOME=/usr/lib/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 --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











On Aug 26, 3:04 pm, "[email protected]" <[email protected]>
wrote:
> I would suggest that you read the output carefully and debug your red5
> startup script.
>
> However I wonder where you copied that script from ?
>
> We can hardly give advice or help you with a script that you have copied
> somewhere or written on your own.
>
> I can still only recommend to follow the official installation guide in our
> wiki.
> We do not provide any official red5 script for the init.d section.
>
> Sebastian
>
> 2011/8/26 Elkhan Aliyev <[email protected]>
>
>
>
>
>
> > I started red 5
> > /etc/init.d/red5 start
>
> > it gives me
>
> > Starting flash streaming server red5.
>
> >  When i try openhttp://myip:5080/it gives me error 404 Page not
> > found
> > please help
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "OpenMeetings User" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/openmeetings-user?hl=en.
>
> --
> Sebastian 
> Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.wagner-sebastian.com
> [email protected] Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to