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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I removed the trailing slash from the mount-name and set the usernames to be the same. Still get the same result. Error message is: Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed. I don't know if it makes a difference or not but both the icecast server and the ices streamer are on the same server if that makes a difference at all. -----Original Message----- From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org] On Behalf Of Michael Smith Sent: Thursday, May 20, 2004 8:48 PM To: icecast@xiph.org Subject: Re: [icecast] Configuration help with ices 0.3 On Friday 21 May 2004 13:41, Christopher Patricca wrote:> 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:> > <mount-name>/ices/</mount-name>You probably don't want that trailing slash on /ices/. I'm not sure if that'll break anything, but it might.> > <username>iceuser</username>However, this is your problem, because... (on to the ices config):> <Username>source</Username>It doersn't match this. Mike --- >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. --- Incoming 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 --- 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 --- >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.
Thanks for the tips, made the changes unfortunately it has not changed that I still get the same error message. I've even tried passing along the parameters via command line through ices without any luck. I'm going to attach both my files to this e-mail as it might be easier to read them that way then the copy & paste method. Chris -----Original Message----- From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org] On Behalf Of Geoff Shang Sent: Thursday, May 20, 2004 10:51 PM To: icecast@xiph.org Subject: Re: [icecast] Configuration help with ices 0.3 Hi: Can't see what the problem is, but there's two lines I'd edit or comment out in the icecast config.> <dump-file>/tmp/dump.ogg</dump-file>Since this will be an MP3 stream, either edit it or comment it out.> <fallback-mount>/fallback.ogg</fallback-mount>I'm guessing this mount doesn't exist on your server. Geoff. <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. --- Incoming 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 --- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: icecast.xml Type: text/xml Size: 2933 bytes Desc: icecast.xml Url : http://lists.xiph.org/pipermail/icecast/attachments/20040521/e8612014/icecast.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: ices-playlist.xml Type: text/xml Size: 1193 bytes Desc: ices-playlist.xml Url : http://lists.xiph.org/pipermail/icecast/attachments/20040521/e8612014/ices-playlist.bin
On Friday, 21 May 2004 at 13:47, Michael Smith wrote:> On Friday 21 May 2004 13:41, Christopher Patricca wrote: > > 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:Are you sure you're using the config file? First of all, run ices in verbose mode (-v) - the first few lines will be ices' settings. Second, you could try passing the config file explicitly on the command line (-c). It's also possible you haven't built ices with the XML library (look for xml in the output of ices -V). --- >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.
On Friday 21 May 2004 13:41, Christopher Patricca wrote:> 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:> > <mount-name>/ices/</mount-name>You probably don't want that trailing slash on /ices/. I'm not sure if that'll break anything, but it might.> > <username>iceuser</username>However, this is your problem, because... (on to the ices config):> <Username>source</Username>It doersn't match this. Mike --- >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: Can't see what the problem is, but there's two lines I'd edit or comment out in the icecast config.> <dump-file>/tmp/dump.ogg</dump-file>Since this will be an MP3 stream, either edit it or comment it out.> <fallback-mount>/fallback.ogg</fallback-mount>I'm guessing this mount doesn't exist on your server. Geoff. <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.