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 

error al iniciar

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





PostPosted: Fri Sep 16, 2005 9:09 am    Post subject: error al iniciar Reply with quote

hola,
mi problema es el siguiente, estoy usando gentoo e instale el icecast desde el portage (emerge icecast), primero que nada, leo la documentación y me dice que despues de instalar me tiene que crear dos carpetas en el /etc/icecast2 que se llaman log y admin, no las tengo, despues que configuro el icecast.xml e intento arrancarlo con
icecast -c /etc/icecast2/icecast.xml me salta este error

ERROR: You should not run icecast2 as root
Use the changeowner directive in the config file

me fijo en la opcion de changeowner y le pongo usuario root(para probar), no anda tampoco, intento con usuario comun y menos, no tengo permisos.

gracias desde ya.
Back to top
tito
Guest





PostPosted: Sat Sep 17, 2005 1:45 pm    Post subject: ya estaba Reply with quote

perdón por no haber buscado bien Wink , ya estaba en el foro, en ingles
http://forum.icecast.org/viewtopic.php?t=179
igual no me queda del todo clara la respuesta, a mi me sígue sin andar, no se que será.
Back to top
epe
Asesor español
Asesor español


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

PostPosted: Sat Sep 17, 2005 3:55 pm    Post subject: Reply with quote

crea un usuario llamado icecast y pon en el changeowner a ese usuario.

No puedes usar root en el changeowner pues es precisamente para eso, para cambiar el usuario de root a otro con menos privilegios.

saludos
epe
_________________
--
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
Guest






PostPosted: Wed Sep 28, 2005 8:02 pm    Post subject: Fake Reply with quote

So where can i get the real one from then?
Back to top
Guest






PostPosted: Wed Sep 28, 2005 9:09 pm    Post subject: Reply with quote

me no hablar inglés.

nie gavarit pa anglishki
Back to top
tito
Guest





PostPosted: Sun Oct 02, 2005 7:52 pm    Post subject: ya ta Reply with quote

ya ta, ahora si, muchas gracias
seguí estos pasos

crear el grupo y el usuario icecast

Code:

groupadd icecast
useradd icecast -m -g icecast -G audio -s /bin/bash
passwd icecast


crear carpetas y mover todos los archivos de configuración

Code:

mkdir /home/icecast/icecast
mkdir /home/icecast/icecast/web
cp -R /usr/share/icecast/web/* /home/icecast/icecast/web/
mkdir /home/icecast/icecast/admin
cp -R /usr/share/icecast/admin/* /home/icecast/icecast/admin/
cp /etc/icecast.xml /home/icecast/icecast/


crear los logs

Code:

mkdir /home/icecast/icecast/log
cd /home/icecast/icecast/log
touch access.log
touch error.log
chmod -R 777 /home/icecast/icecast/log/*


modificar el archivo de configuración

Code:
nano /home/icecast/icecast/icecast.xml


Code:

File: /home/icecast/icecast/icecast.xml
<source-password>$passwd</source-password>
<relay-password>$passwd</relay-password>
<admin-password>$passwd</admin-password>
<hostname>$hostname</hostname>
<logdir>/home/icecast/icecast/log</logdir>

<webroot>/home/icecast/icecast/web</webroot>
<adminroot>/home/icecast/icecast/admin</adminroot>
<!-- <pidfile>/home/icecast/icecast/icecast.pid</pidfile> -->
                           
  <changeowner>
    <user>icecast</user>        # Cambiar para icecast
    <group>icecast</group>      # Cambiar para icecast
  </changeowner>

noten que las rutas cambian y ahora todas apuntan a /home/icecast/icecast.....

iniciar el servidor
Code:
icecast -c /home/icecast/icecast/icecast.xml &


saludos
Tito
Back to top
epe
Asesor español
Asesor español


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

PostPosted: Mon Oct 10, 2005 2:18 am    Post subject: Reply with quote

ahora sólo te faltaría enjaularlo para lograr un poquito más de seguridad... pero hasta ahi, ya vas bien!
_________________
--
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
Anonymous
Guest





PostPosted: Tue Aug 29, 2006 4:13 am    Post subject: Reply with quote

Hola,

No se si alguien vera este post reactivado, pero he seguido las instruciones del mismo y cuando ejecuto el comando
icecast -c /home/icecast/icecast/icecast.xml
me da el error:
cannot change server root unless runing as root

Alguien me puede decir que puedo hacer?

Saludos
Martincho
Back to top
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