[icecast] Problems with ices

Baumann, Silvia sbaumann at upctechnology.com
Tue Jun 11 16:48:28 UTC 2002



Hi,

I compiled the latest version of ices from cvs, but I have some problems
with it. When I start it up, I only get the error "Failed to read config
file "/usr/local/icecast/etc/ices.conf""

My /usr/local/icecast/etc/ices.conf looks like this:

<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
  <Playlist>
    <File>/home/mp3/playlist.txt</File>
    <Randomize>1</Randomize>
    <Type>builtin</Type>
    <Module>ices</Module>
  </Playlist>

  <Execution>
    <Background>0</Background>
    <Verbose>1</Verbose>
    <BaseDirectory>/tmp</BaseDirectory>
  </Execution>

  <Stream>
    <Server>
      <Hostname>zoidberg.chello.at</Hostname>
      <Port>8000</Port>
      <Password>xxx</Password>
      <Protocol>xaudiocast</Protocol>
    </Server>

    <Mountpoint>ices</Mountpoint>
    <Name>Radio Planet Express</Name>
    <Genre>Rock, Pop and Alternative</Genre>
    <Description>Fry Rocks The House!</Description>
    <URL><a href="http://zoidberg.chello.at:8000/ices</URL">http://zoidberg.chello.at:8000/ices</URL</a>>
    <Public>0</Public>

    <Bitrate>128</Bitrate>
    <Reencode>0</Reencode>
    <Channels>2</Channels>
  </Stream>
</ices:Configuration>

An strace of the program call says the following:

fry:/ # strace /usr/local/icecast/bin/ices /usr/local/icecast/etc/ices.conf
execve("/usr/local/icecast/bin/ices", ["/usr/local/icecast/bin/ices",
"/usr/local/icecast/etc/ices.conf"], [/* 49 vars */]) = 0
uname({sys="Linux", node="fry", ...})   = 0
brk(0)                                  = 0x8056bf4

<lots of output here>

brk(0x805a000)                          = 0x805a000
stat64("/usr/local/icecast/etc/ices.conf", {st_mode=S_IFREG|0644,
st_size=910, ...}) = 0
stat64("/usr/local/icecast/etc/ices.conf", {st_mode=S_IFREG|0644,
st_size=910, ...}) = 0
brk(0x805f000)                          = 0x805f000
brk(0x8062000)                          = 0x8062000
brk(0x806b000)                          = 0x806b000
open("/usr/local/icecast/etc/ices.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=910, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40018000
read(4, "<?xml version=\"1.0\"?>\n<ices:Conf"..., 16384) = 910
read(4, "", 12288)                      = 0
_llseek(4, 0, [910], SEEK_CUR)          = 0
read(4, "", 4096)                       = 0
brk(0x806c000)                          = 0x806c000
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40018000, 4096)                = 0
write(2, "Failed to read config file \"/usr"..., 62Failed to read config
file "/usr/local/icecast/etc/ices.conf"
) = 62
_exit(0)                                = ?

Seems to me that he reads the beginning of the file correctly because of the
read(4, "<?xml version=\"1.0\"?>\n<ices:Conf"..., 16384) = 910
but he doesn't seem to get the rest.

Any idea what the problem could be? Version of libshout is 1.0.9, system is
SuSE 8.0

Best regards,

Silvia Baumann

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