fraser@walters1243.fsnet.co.uk
2004-Aug-06  14:23 UTC
[icecast] Icecast2 and Ices2 and Authentication Probs.
Can anybody help me, I have Icecast2 and Ices2 on Mandrake and want to play a static playlist. I am getting the following problem: [2003-06-26 12:56:08] DBUG connection/_handle_get_request Client connected [2003-06-26 12:56:08] DBUG admin/admin_handle_request Got command (streamlist) [2003-06-26 12:56:08] INFO admin/admin_handle_request Bad or missing password on admin command request (command: streamlist) [2003-06-26 12:56:08] DBUG slave/create_relay_stream Adding source at mountpoint "You need to authenticate" [2003-06-26 12:56:08] INFO connection/_handle_source_request Source logging in at mountpoint "/" [2003-06-26 12:56:08] INFO connection/_handle_source_request Source (/) attempted to login with invalid or missing password [2003-06-26 12:56:08] EROR connection/connection_create_source No content-type header, falling back to backwards compatibility mode for icecast 1.x relays. Assuming content is mp3. [2003-06-26 12:56:08] DBUG source/source_main Source creation complete [2003-06-26 12:56:08] DBUG source/source_main Disconnecting source due to socket read error: Success [2003-06-26 12:56:08] INFO source/source_main Removing source following disconnection [2003-06-26 12:56:08] INFO source/source_main Source "You need to authenticate" exiting <p>Can somebody point me in the right direction to finding the fault..... Thanks in advance.... <p>Fraser Walters __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Fraser Walters
2004-Aug-06  14:23 UTC
[icecast] Icecast2 and Ices2 and Authentication Probs.
Thanks Geoff, for looking at it for me...... The ices config is as
follows...:
Any help would be great.....
Ices-playlist.xml is :
<?xml version="1.0"?>
<ices>
        <background>0</background> <!-- run in background?
(unimplemented) -->
        <logpath>/usr/local/icecast/stream/var/logs</logpath>
<!-- where
logs, etc go. -->
        <logfile>ices.log</logfile>
        <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug
-->
    <consolelog>0</consolelog> <!-- set this to 1 to log to the
console
instead
                                    of to the file above -->
        <stream>
        <!-- metadata used for stream listing (not currently used) -->
        <metadata>
                <name>Example stream name</name>
                <genre>Example genre</genre>
                <description>A short description of your
stream</description>
                </metadata>
        <input>
                <module>playlist</module>
                <param name="type">basic</param><!--
Only 'basic'
implemented -->
                <param
name="file">/usr/local/icecast/stream/conf/playlist.txt</param>
<!-- be sure
this exists -->
                <param name="random">0</param> <!--
random play -->
                <param name="once">0</param> <!-- if
set to 1 , plays once
through,
                                          then exits. -->
        </input>
<p><instance>
        <!-- Server details:
                 You define hostname and port for the server here, along
with
                 the source password and mountpoint.
        -->
        <hostname>localhost</hostname>
        <port>8000</port>
        <password>XXXXXXX</password>
        <mount>/beatles</mount>
        <reconnectdelay>2</reconnectdelay>
        <reconnectattempts>5</reconnectattempts>
        <maxqueuelength>80</maxqueuelength>
        <encode>
                <nominal-bitrate>64000</nominal-bitrate> <!--
bps. e.g.
64000 for 64 kbps -->
                <samplerate>44100</samplerate>
                <channels>2</channels>
        </encode>
        </instance>
        <!-- Now, we define a 2nd stream instance.
        -->
        <instance>
                <hostname>localhost</hostname>
                <port>8000</port>
                <password>XXXXXXX</password>
                <mount>/example2.ogg</mount>
        <!-- Stream saving. Save the outgoing stream to the specified file
                 This is commented out since we don't want it by default
-->
        <!--
            <savefile>streamdump.ogg</savefile>
         -->
        </instance>
        </stream>
</ices>
and the icecast config....:
<p>Icecast.xml is as follows :
    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>XXXXXXX</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>XXXXXXX</relay-password>
        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>XXXXXXX</admin-password>
    </authentication>
    <!-- Uncomment this if you want directory listings -->
    <!--
    <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>
    <directory>
        <yp-url-timeout>15</yp-url-timeout>
        <yp-url><a
href="http://yp.icecast.net/cgi-bin/yp.cgi</yp-url">http://yp.icecast.net/cgi-bin/yp.cgi</yp-url</a>>
    </directory>
     -->
    <hostname>80.253.XXX.XXX</hostname>
    <!-- You can use these two if you only want a single listener -->
    <!-- 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>
<p>    <master-server>80.253.104.218</master-server>-->
    <master-server-port>8001</master-server-port>-->
    <master-update-interval>120</master-update-interval>-->
    <master-password>XXXXXX</master-password>-->
    <paths>
        <basedir>/home/icecast/stream/share</basedir>
        <!-- Note that if <chroot> is turned on below, these paths must
both
             be relative to the new root, not the original root -->
             <logdir>/usr/local/icecast/stream/var/logs</logdir>
             <webroot>/usr/local/icecast/stream/share/web</webroot>
            
<adminroot>/usr/local/icecast/stream/share/admin</adminroot>
        <!-- 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.
<p>    <!--<port>8000</port> -->
    <!--<bind-address>127.0.0.1</bind-address>-->
    <!-- You may have multiple <listener> elements -->
----- Original Message ----- 
From: "Geoff Shang" <gshang@uq.net.au>
To: <icecast@xiph.org>
Sent: Friday, June 27, 2003 3:49 AM
Subject: Re: [icecast] Icecast2 and Ices2 and Authentication Probs.
<p>> Hi:>
> We'll need to see your ices configuration file to determine what's
going
in> here.  Feel free to send it to me privately if you'd rather do that.
>
> Geoff.
>
>
> -- 
> Geoff Shang <gshang@uq.net.au>
> ICQ number 43634701
>
> Make sure your E-mail can be read by everyone!
> http://www.betips.net/etc/evilmail.html
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
>
> --- >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@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@xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Hi: We'll need to see your ices configuration file to determine what's going in here. Feel free to send it to me privately if you'd rather do that. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Seemingly Similar Threads
- Server drops client - problem with IceS?
- stream/ices_instance_stream Failed initial connect to 172.16.0.116:8000 (Login failed: Success
- using the latest icecast and ices to stream both ogg and mp3
- (was, streaming both ogg and mp3) now, sending out 3 streams
- client not connecting to server