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 

i can´t start the server

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





PostPosted: Sat Sep 10, 2005 9:53 am    Post subject: i can´t start the server Reply with quote

Hello

I configure my server and now i will start it but i have this message:

[as root]

Code:
 
Changed userid to 0.
ERROR: You should not run icecast2 as root
Use the change owner directive in the config file


[as christian]

Code:

Could not create listener socket on prot 8000
Server startup failed. Exiting




What is the problem?


And this is my icecast.xml:

Code:


<icecast>
<limits><!--ausser clients kann man in diesem Abschnitt die default-werte lassen-->
<clients>30</clients> <!--max Zuhörer -->
<sources>10</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>
<authentication>
<!-- Wichtig, Der Benutzername um zum server zu connecten ist 'source' -->
<!-- Das Passwort um sich beim server zum streamen einzuloggen-->
<source-password>dasPasswort</source-password>
<!-- Solltet ihr Relay-Server zu euch verbinden lassen wollen, hier das pw dafür, ansonsten komplette
Zeile auskommentieren/löschen -->
<relay-password>RelayPass</relay-password>
<!-- Admin-Zugangsdaten für Online-Administration -->
<admin-user>AceTheFace</admin-user>
<admin-password>dasAnderePasswort</admin-password>
</authentication>
<!-- Ip oder hostname des Servers -->
<hostname>localhost</hostname>
<!-- Port auf den der Server hören soll -->
<listen-socket>
<port>8000</port>
</listen-socket>
<paths><!-- Installationsverzeichnis von icecast -->
<basedir>/usr/share/icecast</basedir>
<!--verschiedene Verzeichnisangaben, sollten klar sein ;) -->
<logdir>/var/log/icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
<!-- wichtig falls man den server beim booten starten lässt.
Hier kann man festlegen als welcher Benutzer der server laufen soll
(muss auf dem System exisiteren)-->
<changeowner>
<user>hanf</user>
<group>users</group>
</changeowner>
</security>
</icecast>

[/code]
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Sep 10, 2005 1:08 pm    Post subject: Reply with quote

The first is because you are starting as a root account but with no changeowner. The second is because something is preventing icecast listening on port 8000, usually because something else is already listening on that port, maybe another icecast.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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