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 

Port Issue

 
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: Tue Jun 06, 2006 4:10 pm    Post subject: Port Issue Reply with quote

I am getting the error Could not create listener socket on port 8765 I am sure the port is open and nothing else is useing it, but think I may have made an error in the config, which I got a littled muddled doing. If someone could have a look through I would appriciate it.


<icecast>
<limits>
<clients>100</clients>
<sources>5</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>
<source-password>*******</source-password>
<relay-password>********</relay-password>
<admin-user>admin</admin-user>
<admin-password>**********</admin-password>
</authentication>

<!-- <directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory> -->

<hostname>localhost</hostname>

<!-- You can use these two if you only want a single listener -->
<!--<port>8765</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->

<listen-socket>
<port>8765</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!-- <listen-socket>
<port>8001</port>
</listen-socket> -->

<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8765</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>****</master-password>-->

<!-- <relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay> -->

<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords -->
<!-- <mount>
<mount-name>/example-complex.ogg</mount-name>
<username>othersource</username>
<password>hackmemore</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<fallback-mount>/example2.ogg</fallback-mount>
</mount> -->

<fileserve>1</fileserve>

<paths>
<basedir>/usr/local/icecast2</basedir>
<logdir>/usr/home/tripple</logdir>
<webroot>/usr/local/icecast2/web</webroot>
<adminroot>/usr/local/icecast2/admin</adminroot>
<pidfile>/usr/local/icecast2/icecast.pid</pidfile>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
</logging>

<security>
<chroot>1</chroot>
<changeowner>
<user>iceuser</user>
<group>iceuser</group>
</changeowner>
</security>
</icecast>
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 06, 2006 9:23 pm    Post subject: Reply with quote

the xml looks ok, a lot is used as it's commented out, but you probably want to increase the default queue-size from 100k and change the hostname to something more reachable by your listeners. The port issue is probably because something is already on that port, I don't think anything missing from a chroot jail would prevent that.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Jun 07, 2006 8:53 am    Post subject: Reply with quote

I can stream to the server now, but it doesnt seem to work. I have an feeling the paths are wrong so i need to find were its installed and change them. thanks for your reply.
Back to top
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