[Icecast] icecast dies regulary

Mathias Berger mberger.tks2001 at fh-sbg.ac.at
Fri Dec 3 12:30:12 UTC 2004


Hi Karl!

Thanks for your quick reply!

Karl Heyes wrote:

> On Thu, 2004-12-02 at 19:13, Mathias Berger wrote:
> 
>>Hi,
>>
>>I am running Icecast 2.1.0 on a Debian Sarge with a 2.6.8 Kernel.
>>
>>After upgrading to the new version i have the problem that the icecast2
>>process. It is regularly dying after running 20-26 hours.
> 
> 
> Check how it exits, ie do you get a core file (ulimit -c), if so build
> icecast with debug, retest then send us the backtrace from the core.
> 
No, there is no core file.

> 
>>There are no messages in the icecast logfile nor in any other logfile.
>>The only message, which is written to the shell which started the
>>process, is
>>
>>xsltApplyOneTemplate: template was not compiled
>>xsltSaveResultTo : unknown ouput method
> 
> 
> you should see plenty of messages in the log file, if not then you
> really need to determine why logging is not working.

Of course, there are a lot of messages in the logfile, but none of them 
can be related to the crash of the server. Or at least I cannot see any 
relation.

> 
> 
>>Any ideas ?
>>Thanks in advance for your help!
> 
> 
> explain how icecast is being used, are relays involved, are mp3 streams
> involved etc.  The references to xslt above would indicate some access
> to the web interface of icecast.  Those error message are from libxslt
> so that may indicate an .xsl file that has been changed, if so then make
> sure it's valid.

Icecast gets its data from darkice, which produces 6 streams (Three MP3 
and three OGG). At the moment there are no relays involved, but i'd like 
to activate them as soon as possible. Furthermore, I am using MRTG to do 
some statistics. Another computer is requesting every 5 minutes a xsl 
file for every stream and one xsl file to get the number of all listeners.

The file for all streams looks like this:
############
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" 
version = "1.0" >
<xsl:output method="text" indent="yes" />
<xsl:template match = "/icestats" >
<xsl:value-of select="clients" />
</xsl:template>
</xsl:stylesheet>
############

And one of the files for each streams looks like this:
############
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" 
version = "1.0" >
<xsl:output method="text" indent="yes" />
<xsl:template match = "/icestats" >
<xsl:for-each select="source">
<xsl:if test="@mount='/live-hq.ogg'">
<xsl:value-of select="listeners" />
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
############
I am no XML specialist, these files work and i hope that they are not 
the reason why icecast isn't working properly.

I didn't change the other xml files.

Mathias



More information about the Icecast mailing list