[icecast] Configuration help with ices 0.3

Christopher Patricca cpatricca at idcomm.com
Fri May 21 03:41:05 UTC 2004



Well I’ve looked through the configuration file several times and I still do
not see the mistake I’ve made. Icecast 2.0.1 seems to be working just fine
and starts up without problems. But if I try and start ices I keep getting
the error that it cannot connect to 127.0.0.1:8000 because the login failed.
Yet I know the password I gave it is correct so I can only presume there is
a configuration error somewhere in icecast or in ices. Here are the config
files:

 

Icecast.xml:

 

<icecast>

-

            <limits>

<clients>25</clients>

<sources>2</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>

<!-- Sources log in with username 'source' -->

<source-password>letmein</source-password>

<!-- Relays log in username 'relay' -->

<relay-password>letmein</relay-password>

<!-- Admin logs in with the username given below -->

<admin-user>wouldnt</admin-user>

<admin-password>youliketoknow</admin-password>

</authentication>

<!-- Uncomment this if you want directory listings -->

-

            <directory>

<yp-url-timeout>15</yp-url-timeout>

<yp-url><a href="http://dir.xiph.org/cgi-bin/yp-cgi</yp-url">http://dir.xiph.org/cgi-bin/yp-cgi</yp-url</a>>

</directory>

-

            <directory>

<yp-url-timeout>15</yp-url-timeout>

<yp-url><a href="http://www.oddsock.org/cgi-bin/yp-cgi</yp-url">http://www.oddsock.org/cgi-bin/yp-cgi</yp-url</a>>

</directory>

<hostname>music.venomstats.com</hostname>

-

            <!--

 You can use these two if you only want a single listener 

-->

<port>8000</port>

<bind-address>127.0.0.1</bind-address>

<!-- You may have multiple <listener> elements -->

-

            <listen-socket>

<port>8000</port>

<!-- <bind-address>127.0.0.1</bind-address> -->

</listen-socket>

-

            <!--

 

    <listen-socket>

        <port>8001</port>

    </listen-socket>

    

-->

-

            <mount>

<mount-name>/ices/</mount-name>

<username>iceuser</username>

<password>letmein</password>

<max-listeners>1</max-listeners>

<dump-file>/tmp/dump.ogg</dump-file>

<fallback-mount>/fallback.ogg</fallback-mount>

</mount>

<fileserve>1</fileserve>

-

            <paths>

<!-- basedir is only used if chroot is enabled -->

<basedir>@pkgdatadir@</basedir>

-

            <!--

 Note that if <chroot> is turned on below, these paths must both

             be relative to the new root, not the original root 

-->

<logdir>/icecast-2.0.1/log/</logdir>

<webroot>/var/www/html/icecast</webroot>

<adminroot>/icecast-2.0.1/admin</adminroot>

<!-- <pidfile>/icecast-2.0.1/icecast.pid</pidfile> -->

-

            <!--

 Aliases: treat requests for 'source' path as being for 'dest' path

             May be made specific to a port or bound address using the
"port"

             and "bind-address" attributes.

          

-->

-

            <!--

 

        <alias source="/foo" dest="/bar"/>

          

-->

</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>

-

            <changeowner>

<user>iceuser</user>

</changeowner>

 

        -->

    

</security>

</icecast>

<p><p>Ices-playlist.xml:

 

<?xml version="1.0"?>

<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">

  <Playlist>

    <File>playlist.txt</File>

    <Randomize>1</Randomize>

    <Type>builtin</Type>

    <Module>ices</Module>

  </Playlist>

 

  <Execution>

    <Background>1</Background>

    <Verbose>0</Verbose>

    <BaseDirectory>/logs/<BaseDirectory>

  </Execution>

 

  <Stream>

    <Server>

      <Hostname>music.venomstats.com</Hostname>

      <Port>8000</Port>

      <Username>source</Username>

      <Password>letmein</Password>

      <Protocol>http</Protocol>

    </Server>

 

    <!-- The name of the mountpoint on the icecast server -->

    <Mountpoint>/ices</Mountpoint>

    <!-- The name of the dumpfile on the server for your stream. DO NOT set

             this unless you know what you're doing.

    <Dumpfile>ices.dump</Dumpfile>

    -->

    <Name>VenomStats.com Music 24/7</Name>

    <Genre>Rock,Rap,Metal,etc</Genre>

    <Description>Music to play Counter Strike by</Description>

    <URL><a href="http://www.venomstats.com/</URL">http://www.venomstats.com/</URL</a>>

    <Public>1</Public>

 

    <Bitrate>256</Bitrate>

    <Reencode>0</Reencode>

    <Samplerate>44100</Samplerate>

    <Channels>2</Channels>

  </Stream>

</ices:Configuration>

 

Your help is appreciated folks.

 

- Christopher Patricca

<p><p><p>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.682 / Virus Database: 444 - Release Date: 5/11/2004
 

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast mailing list