Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

levantar Icecast luego de reiniciar

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Foro Español
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Mon Jan 22, 2007 8:07 pm    Post subject: levantar Icecast luego de reiniciar Reply with quote

hola, he creado un usuario en mi servidor, llamado radio y su clave xxx

entonce ahì he corrido el icecast server que recibe la data para transmitir desde el simplecast, hasta ahì todo bien, pero pasa que cuando reinicio mi servidor, el servicio del icecast se me queda muerto y no inicia conla pc, como puedo hacer para que cargue asì se haya reiniciado la màquina, sobre todo que cargue con el usuario y clave correctos, pq esa vaina de que el servicio se me queda muerto por las reiniciadas me tiene mal.

Apreciarè mucho su ayuda,
Gracias por adelantado
Back to top
epe
Asesor español
Asesor español


Joined: 27 Aug 2005
Posts: 132
Location: Quito - Ecuador

PostPosted: Wed Jan 31, 2007 4:29 pm    Post subject: Reply with quote

yo lo tengo puesto en el /etc/rc.local de mi servidor.

Además puedes crear un script de inicio para tu servidor, yo tengo este para algunos servidores, mis servidores son centos/redhat y pongo este script en /etc/init.d:


Code:

#!/bin/sh
#
# icecast       This shell script takes care of starting and stopping
#               icecast.
#
# chkconfig: - 46 24
# description: Icecast is an Internet based broadcasting system based on the Mpeg Layer III
#              streaming technology

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

# Check that icecast.conf exists.
[ -f /etc/icecast.xml ] || exit 0

start() {
        # Start daemons.
        echo -n "Starting icecast: "
        daemon --user root /usr/bin/icecast -b -c /etc/icecast.xml
        echo
        touch /var/lock/subsys/icecast
        return $RETVAL
}

stop() {
        # Stop daemons.
        echo -n "Shutting down icecast: "
        killproc icecast
        echo
        rm -f /var/lock/subsys/icecast
        return $RETVAL
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  reload)
        ;;
  restart)
        stop
        start
        ;;
  status)
        status icecast
        ;;
  *)
        echo "Usage: $0 {start|stop|restart|reload|status}"
        exit 1
esac

exit 0

_________________
--
http://www.NuestroServer.com
USA: +1 305 359 4495, España: +34 911 877 602
Ecuador: +593 2 600 4454
Se habla español
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Foro Español All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber