[icecast] Problem connecting to icecast2

Kristoffer R. Munroe krism at ragemp3.com
Thu Apr 15 15:07:23 UTC 2004



I am using the http protocol now and I still get the same results.

Does the mount point in ices need to be a directory that I am mounting
to with read write permissions?  Or is it a virtual mountpoint?

<p>At 12:06 AM 4/15/2004, you wrote:
>I am trying to connect to an icecast2 server that I have running on redhat 9.
>
>Via Ice0.   Here are the errors that I am getting.
>
>Any help would be greatly appreciated.
>
>Kris.
>
>
>[root at wyatt icecast]# ices -m mymp3stream -c ices.conf -P hackme
>
>Unknown Node: Server
>Unknown Execution keyword: Base_Directory
>Logfile opened
>DEBUG: Sending following information to libshout:
>DEBUG: Stream: 0
>DEBUG: Host: 127.0.0.1:8000 (protocol: xaudiocast)
>DEBUG: Mount: /mymp3stream, Password: hackme
>DEBUG: Name: Cool ices default name from XML    URL: Cool ices URL from XML
>DEBUG: Genre: Cool ices genre from XML  Desc: Cool ices description from XML
>DEBUG: Bitrate: 128     Public: 1
>DEBUG: Dump file: (null)
>DEBUG: Initializing playlist handler...
>DEBUG: Initializing builting playlist handler...
>DEBUG: Randomizing playlist...
>DEBUG: Builtin playlist handler serving: mp3.mp3
>DEBUG: Filename cleaned up from [mp3.mp3] to [mp3]
>DEBUG: ID3v1: Title: Kryptonite
>DEBUG: ID3v1: Artist: 3 Doors Down
>DEBUG: ID3v2: version 3.0. Tag size is 112 bytes.
>DEBUG: ID3v2: Title found: Kryptonite
>DEBUG: ID3v2: Artist found: 3 Doors Down
>DEBUG: Skipped 626 bytes of garbage before MP3
>DEBUG: MPEG-1 layer III, 192 kbps, 44100 Hz, stereo
>DEBUG: Ext: 0   Mode_Ext: 0     Copyright: 0    Original: 1
>DEBUG: Error Protection: 0      Emphasis: 0     Padding: 0
>Playing mp3.mp3
>DEBUG: Updated metadata on mymp3stream to: 3 Doors Down - Kryptonite
>Error during send: Mount failed on http://127.0.0.1:8000/mymp3stream, 
>error: Log
>in failed
>Error during send: Mount failed on http://127.0.0.1:8000/mymp3stream, 
>error: Log
>in failed
>Error during send: Mount failed on http://127.0.0.1:8000/mymp3stream, 
>error: Log
>in failed
>DEBUG: Caught signal, shutting down...
>Ices Exiting...
>
>
>
>icecast config file
>
>
><icecast>
>     <limits>
>         <clients>100</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>hackme</source-password>
>         <!-- Relays log in username 'relay' -->
>         <relay-password>hackme</relay-password>
>
>         <!-- Admin logs in with the username given below -->
>         <admin-user>admin</admin-user>
>         <admin-password>hackme</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>localhost</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>8000</port>
>     </listen-socket>
>     -->
>
>     <!--<master-server>127.0.0.1</master-server>-->
>     <!--<master-server-port>8001</master-server-port>-->
>     <!--<master-update-interval>120</master-update-interval>-->
>     <!--<master-password>hackme</master-password>-->
>     <!--
>     <relay>
>         <server>127.0.0.1</server>
>         <port>8001</port>
>         <mount>/</mount>
>         <local-mount>/mymp3stream</local-mount>
>
>         <relay-shoutcast-metadata>1</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 is only used if chroot is enabled -->
>         <basedir>/usr/share/icecast</basedir>
>
>         <!-- Note that if <chroot> is turned on below, these paths must both
>              be relative to the new root, not the original root -->
>         <logdir>/var/log/icecast</logdir>
>         <webroot>/usr/share/icecast/web</webroot>
>         <adminroot>/usr/share/icecast/admin</adminroot>
>         <!-- <pidfile>/usr/share/icecast/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>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
>     </logging>
>
>     <security>
>         <chroot>0</chroot>
>         <!--
>         <changeowner>
>             <user>icecast</user>
>             <group>icecast</group>
>         </changeowner>
>         -->
>     </security>
></icecast>
>
>--- >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.

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