<p>Thank you for your time...we made some changes to our config file and the server doesn't want to start with the command icecast -c /path/to/icecast.xml giving the error: </p>
<p><br>'Could not create listener socket on port 8000 Server startup failed. Exiting'</p>
<div><br>can you look at the config file bellow and let us know of any changes that might help.  we need to be able to have 10,000 clients listening to the server at once. 1,000 to start and we want our mount point to be /stream1.mp3<br>
Thank you in advance</div>
<div><br>Luis</div>
<p> </p>
<p><icecast><br><limits><br><clients>1000</clients><br><sources>2</sources><br><threadpool>5</threadpool><br><queue-size>524288</queue-size><br><client-timeout>30</client-timeout><br>
<header-timeout>15</header-timeout><br><source-timeout>10</source-timeout></p>
<p><burst-size>65535</burst-size><br></limits></p>
<p><authentication></p>
<p><source-password>anveo23</source-password></p>
<p><relay-password>hackme</relay-password></p>
<p><br><admin-user>admin</admin-user><br><admin-password>mami</admin-password><br></authentication></p>
<p> </p>
<p><yp-url-timeout>15</yp-url-timeout><br><yp-url><a href="http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph.org/cgi-bin/yp-cgi</a></yp-url&gt;<br></directory><br><directory><br><yp-url-timeout>15</yp-url-timeout><br>
<yp-url><a href="http://www.oddsock.org/cgi-bin/yp-cgi">http://www.oddsock.org/cgi-bin/yp-cgi</a></yp-url&gt;<br></directory><br>--></p>
<p><br><hostname>localhost</hostname></p>
<p><br>8000</port> --><br>127.0.0.1</bind-address>--></p>
<p>elements --><br><listen-socket><br><port>8000</port><br>127.0.0.1</bind-address> --><br></listen-socket></p>
<p><port>8001</port><br></listen-socket><br>--></p>
<p>127.0.0.1</master-server>--><br>8001</master-server-port>--><br>120</master-update-interval>--><br>hackme</master-password>--><br>1</master-relay-auth>--></p>
<p>definitions here.<br>The default is 0 --><br>1</relays-on-demand>--></p>
<p><br>and this port to master server for redirecting<br>clients to this slave --><br>8000</master-redirect-port>--></p>
<p> </p>
<p><server>127.0.0.1</server><br><port>8001</port><br><mount>example.ogg</mount><br><local-mount>example.ogg</local-mount><br><on-demand>1</on-demand></p>
<p><relay-shoutcast-metadata>0</relay-shoutcast-metadata><br></relay><br>--></p>
<p>section if you want to use advanced options,<br>like alternative usernames or passwords<br><mount><br><mount-name>example.ogg</mount-name></p>
<p><username>source</username><br><password>memore</password></p>
<p><max-listeners>1</max-listeners><br><dump-file>/tmp/dump-example1.ogg</dump-file><br><burst-size>65536</burst-size><br><fallback-mount>/example2.ogg</fallback-mount><br>
<fallback-override>1</fallback-override><br><fallback-when-full>1</fallback-when-full><br><intro>/path/to/stream-intro.ogg</intro><br><hidden>1</hidden><br><authentication type="htpasswd"><br>
<option name="filename" value="myauth"/><br><option name="allow_duplicate_users" value="0"/><br></authentication><br><on-connect>/home/icecast/bin/stream-start</on-connect><br>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect><br></mount><br>--></p>
<p>....<br><authentication type="command"><br><option name="filename" value="auth_verify"/><br></authentication></p>
<p>or </p>
<p>for url auth, the add url needs to return a "icecast-auth-user: 1" http<br>header for a user to authenicate. Both urls are sent params via POST,<br>add is sent id, mount, user, pass, ip, useragent<br>remove is passed id, mount, user, pass, duration</p>

<p><authentication type="url"></p>
<p>state username/password if url requires it</p>
<p><option name="username" value="admin"/><br><option name="password" value="hackme"/><br><option name="add" value="<a href="http://myauthserver.com/scripts/add_listener.php%22/">http://myauthserver.com/scripts/add_listener.php"/</a>><br>
<option name="remove" value="<a href="http://myauthserver.com/scripts/del_listener.php%22/">http://myauthserver.com/scripts/del_listener.php"/</a>><br></authentication><br></mount --></p>

<p><br><fileserve>1</fileserve></p>
<p>/stream1.mp3</shoutcast-mount&gt;<br>--></p>
<p><paths></p>
<p><basedir>/usr/share/icecast</basedir></p>
<p>is turned on below, these paths must both<br>be relative to the new root, not the original root --><br><logdir>/var/log/icecast</logdir><br><webroot>/usr/share/icecast/web</webroot><br><adminroot>/usr/share/icecast/admin</adminroot><br>
<pidfile>/var/run/icecast/icecast.pid</pidfile></p>
<p> </p>
<p>--></p>
<p><alias source="/" dest="/status.xsl"/><br></paths></p>
<p><logging><br><accesslog>access.log</accesslog><br><errorlog>error.log</errorlog><br><playlistlog>playlist.log</playlistlog><br><loglevel>4</loglevel> <br></logging></p>

<p><security><br><chroot>0</chroot><br><changeowner><br><user>icecast</user><br><group>icecast</group><br></changeowner><br></security><br></icecast></p>