[icecast] [FWD: Unable to login to icecast with liveice???]

David Kramer KrmDv at netscape.net
Sat Feb 14 02:44:16 PST 2004



__________________________________________________________________
New! Unlimited Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Act now to get a personalized email address!

Netscape. Just the Net You Need.



<strong>attached mail follows:</strong><hr noshade>



Im running in a chroot'd environment:

RH 9.0
lame-3.93.1
icecast-2.0.0
LiveIcePatched-1.0.0
xmms-1.2.7

I was able to get icecast running on port 8000, I was able to get liveice compiled and can see the .so file within xmms.  Im pretty sure I have xmms configured to match my icecast config(passwords for source match).  When I start up xmms I get the following error in my icecast error.log

[2004-02-14  09:30:54] INFO main/main icecast server started
[2004-02-14  09:31:06] DBUG connection/_handle_get_request Client connected
[2004-02-14  09:31:06] DBUG connection/_handle_get_request Source not found for client
[2004-02-14  09:31:06] INFO connection/_handle_source_request Source logging in at mountpoint "/"
[2004-02-14  09:31:28] INFO connection/_handle_source_request Source (/) attempted to login with invalid or missing password
[2004-02-14  09:31:31] INFO connection/_handle_source_request Source logging in at mountpoint "/"
[2004-02-14  09:31:31] INFO connection/_handle_source_request Source (/) attempted to login with invalid or missing password
[2004-02-14  09:40:23] DBUG connection/_handle_get_request Client connected
[2004-02-14  09:40:23] DBUG admin/admin_handle_request Got command (listmounts.xsl)
[2004-02-14  09:40:23] DBUG admin/command_list_mounts List mounts request
[2004-02-14  09:40:23] DBUG admin/admin_send_response Sending XSLT (/share/icecast/admin/listmounts.xsl)

<p>My access.log contains 

192.168.1.21 - - [14/Feb/2004:09:26:57 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:06 +0000] "GET /admin.cgi HTTP/1.0" 404 109 "-" "liveice-xmms" 0
192.168.1.21 - - [14/Feb/2004:09:31:06 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:09 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:12 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:14 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:17 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:20 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:22 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:25 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:28 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.21 - - [14/Feb/2004:09:31:31 +0000] "SOURCE / ICY/666" 401 115 "-" "-" 0
192.168.1.41 - - [14/Feb/2004:09:40:23 +0000] "GET /admin/listmounts.xsl HTTP/1.1" 200 44 "http://192.168.1.21:8000/admin/lis
tmounts.xsl" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DVD Owner; .NET CLR 1.1.4322)" 0

<p>I searched all over the net to see if there was anything about the invalid password, everything I found talked about adding a source-password to the mount element, which I did but still no dice.  Please feel free to take a look at my attached icecast.xml file.  Im at a complete loss here so any help is greatly appreciated.

Thanks,

Dave

__________________________________________________________________
New! Unlimited Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Act now to get a personalized email address!

Netscape. Just the Net You Need.


<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>source</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>relay</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>admin</admin-password>
    </authentication>

    <!-- Uncomment this if you want directory listings -->
    <!--    <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>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>    -->

    <!--<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>/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>/</mount-name>
        <username>source</username>
        <password>source</password>
    </mount>

    <fileserve>1</fileserve>

    <paths>
                <!-- basedir is only used if chroot is enabled -->
        <basedir>/opt/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>/logs</logdir>
        <webroot>/share/icecast/web</webroot>
        <adminroot>/share/icecast/admin</adminroot>
        <pidfile>/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>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>

    <security>
        <chroot>1</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.



More information about the Icecast mailing list