| View previous topic :: View next topic |
| Author |
Message |
bojko91
Joined: 12 Mar 2010 Posts: 7 Location: Rousse
|
Posted: Sat Mar 13, 2010 7:37 am Post subject: Some errors on log file |
|
|
Hello
Today i see my error.log and i found some errors. How to fix?
I install IceCast on linux .
| Code: |
[2010-03-13 09:29:51] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/favicon.ico" No such file or directory
[2010-03-13 09:14:24] INFO fserve/fserve_client_create checking for file /live.xspf (/usr/share/icecast/web/live.xspf)
[2010-03-13 09:14:24] WARN Permission denied
[2010-03-13 09:14:24] WARN Permission denied
[2010-03-13 09:14:24] WARN I/O
[2010-03-13 09:14:24] WARN warning :
[2010-03-13 09:14:24] WARN failed to load external entity "/usr/share/icecast/admin/xspf.xsl"
[2010-03-13 09:14:24] WARN error
[2010-03-13 09:14:24] WARN xsltParseStylesheetFile : cannot parse /usr/share/icecast/admin/xspf.xsl
[2010-03-13 09:14:24] EROR xslt/xslt_transform problem reading stylesheet "/usr/share/icecast/admin/xspf.xsl"
|
I use Mandriva 2010.Install IceCast from source.... but xspf file not work
Best Wishes Bozhidar (Bulgaria) _________________ http://radio-excellent.tk |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 13, 2010 1:41 pm Post subject: |
|
|
permission denied would tend to indicate that the file /usr/share/icecast/admin/xspf.xsl is there but not readable by the icecast process. check the permissions of the file and the directory it resides in and see if the user running icecast would be allowed.
karl. |
|
| Back to top |
|
 |
bojko91
Joined: 12 Mar 2010 Posts: 7 Location: Rousse
|
Posted: Sat Mar 13, 2010 5:45 pm Post subject: |
|
|
| karlH wrote: |
permission denied would tend to indicate that the file /usr/share/icecast/admin/xspf.xsl is there but not readable by the icecast process. check the permissions of the file and the directory it resides in and see if the user running icecast would be allowed.
karl. |
In this dir haven`t xspf.xsl file (listclients.xsl, listmounts.xsl, manageauth.xsl, movieclients.xsl, response.xsl, stats.xsl, updatemetadata.xsl)
P.S I have another question. I can`t start ices. I have installed source, but if i run /etc/init.d/ices start terminal say [OK]
but nothing happend. Can you give me guide how to run?
Sorry for my english!
Best Wishes: Bozhidar  _________________ http://radio-excellent.tk |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 13, 2010 5:57 pm Post subject: |
|
|
xspf.xsl is one we ship so I cannot say why you don't have it installed, maybe you used a 2.3.1 admindir with a 2.3.2 webroot. The permission denied message is actually from libxslt not icecast.
As for the ices issue, check the ices log file. It is amazing how such simple things can be resolved if people just look in a log file.
karl. |
|
| Back to top |
|
 |
bojko91
Joined: 12 Mar 2010 Posts: 7 Location: Rousse
|
Posted: Sat Mar 13, 2010 6:07 pm Post subject: |
|
|
| karlH wrote: |
xspf.xsl is one we ship so I cannot say why you don't have it installed, maybe you used a 2.3.1 admindir with a 2.3.2 webroot. The permission denied message is actually from libxslt not icecast.
As for the ices issue, check the ices log file. It is amazing how such simple things can be resolved if people just look in a log file.
karl. |
| Code: |
[2010-03-13 18:38:17] INFO ices-core/main IceS 2.0.1 started...
[2010-03-13 18:38:17] EROR stream/ices_instance_stream Failed initial connect to localhost:8007 (Couldn't connect: Connection refused)
[2010-03-13 18:38:17] DBUG reencode/reencode_clear Clearing reencoder
[2010-03-13 18:38:17] INFO signals/signal_usr1_handler Metadata update requested
[2010-03-13 18:38:17] DBUG input/input_loop An instance died, removing it
[2010-03-13 18:38:17] DBUG input/input_flush_queue Input queue flush requested
[2010-03-13 18:38:17] INFO input/input_loop All instances removed, shutting down...
[2010-03-13 18:38:17] INFO ices-core/main Shutdown com |
this is my log file. I use icecast on port 8000, but ices on 8007 (need to be on 8000 or no?)
| Code: |
<?xml version="1.0"?>
<ices>
<!-- run in background -->
<background>1</background>
<!-- where logs, etc go. -->
<logpath>/var/log/ices</logpath>
<logfile>ices.log</logfile>
<!-- 1=error,2=warn,3=info,4=debug -->
<loglevel>4</loglevel>
<!-- set this to 1 to log to the console instead of to the file above -->
<consolelog>0</consolelog>
<!-- optional filename to write process id to -->
<!-- <pidfile>/home/ices/ices.pid</pidfile> -->
<stream>
<!-- metadata used for stream listing (not currently used) -->
<metadata>
<name>Radio Excellent</name>
<genre>All</genre>
<description>Rityma na jivota</description>
</metadata>
<!-- input module
The module used here is the playlist module - it has
'submodules' for different types of playlist. There are
two currently implemented, 'basic', which is a simple
file-based playlist, and 'script' which invokes a command
to returns a filename to start playing. -->
<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">/home/bozhidar/playlist.M3u</param>
<!-- random play -->
<param name="random">0</param>
<!-- if the playlist get updated that start at the beginning -->
<param name="restart-after-reread">0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="once">0</param>
</input>
<!-- Stream instance
You may have one or more instances here. This allows you to
send the same input data to one or more servers (or to different
mountpoints on the same server). Each of them can have different
parameters. This is primarily useful for a) relaying to multiple
independent servers, and b) encoding/reencoding to multiple
bitrates.
If one instance fails (for example, the associated server goes
down, etc), the others will continue to function correctly.
This example defines two instances as two mountpoints on the
same server. -->
<instance>
<!-- Server details:
You define hostname and port for the server here, along with
the source password and mountpoint. -->
<hostname>localhost</hostname>
<port>8007</port>
<!-- <password>hackme</password>-->
<mount>/example</mount>
<!-- Reconnect parameters:
When something goes wrong (e.g. the server crashes, or the
network drops) and ices disconnects from the server, these
control how often it tries to reconnect, and how many times
it tries to reconnect. Delay is in seconds.
If you set reconnectattempts to -1, it will continue
indefinately. Suggest setting reconnectdelay to a large value
if you do this.
-->
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<!-- maxqueuelength:
This describes how long the internal data queues may be. This
basically lets you control how much data gets buffered before
ices decides it can't send to the server fast enough, and
either shuts down or flushes the queue (dropping the data)
and continues.
For advanced users only.
-->
<maxqueuelength>80</maxqueuelength>
<!-- Live encoding/reencoding:
Currrently, the parameters given here for encoding MUST
match the input data for channels and sample rate. That
restriction will be relaxed in the future.
-->
<encode>
<nominal-bitrate>64000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps -->
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>
</stream>
</ices>
|
This is ices.xml on /etc/ dir
Please help me  _________________ http://radio-excellent.tk |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 13, 2010 6:09 pm Post subject: |
|
|
any source client will need to be told the correct port to use for icecast or else it won't stream so yes, based on your post, it should be port 8000 not 8007
karl. |
|
| Back to top |
|
 |
bojko91
Joined: 12 Mar 2010 Posts: 7 Location: Rousse
|
Posted: Sat Mar 13, 2010 7:04 pm Post subject: |
|
|
| karlH wrote: |
any source client will need to be told the correct port to use for icecast or else it won't stream so yes, based on your post, it should be port 8000 not 8007
karl. |
| Code: |
<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">/home/bozhidar/test.ogg.m3u</param>
<!-- random play -->
<param name="random">0</param>
<!-- if the playlist get updated that start at the beginning -->
<param name="restart-after-reread">0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="once">0</param>
</input> |
i change <para name="file"> with different playlist (m3u, pls, ogg), export from VLC, but i have same error
| Code: |
[2010-03-13 20:55:15] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/home/bozhidar/test.ogg.m3u"
[2010-03-13 20:55:15] WARN playlist-builtin/playlist_read Error opening file "http://80.72.68.217:80/nova_low.ogg": No such file or directory |
_________________ http://radio-excellent.tk |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 13, 2010 8:36 pm Post subject: |
|
|
This again is a completely different issue, it's not even an icecast question. Obviously the line
"[2010-03-13 20:55:15] WARN playlist-builtin/playlist_read Error opening file "http://80.72.68.217:80/nova_low.ogg": No such file or directory"
tells you that ices is trying to read that entry as if it is a file. What it looks like you want to do is read from an existing ogg stream and encode to another. ices isn't meant for that but you can do it by using something like curl feeding ogg content to ices, configured with a playlist where the entry is a single - (to indicate read from standard input)
curl -s http://80.72.68.217:80/nova_low.ogg | ices ices.xml
karl. |
|
| Back to top |
|
 |
bojko91
Joined: 12 Mar 2010 Posts: 7 Location: Rousse
|
Posted: Tue Mar 16, 2010 7:28 pm Post subject: |
|
|
Terminal give me this massage
| Code: |
I/O warning : failed to load external entity "ices.xml"
Failed to read config file "ices.xml"
|
.
Can i add a custom playlist or mp3`s fails ?
Best wishes: Bozhidar _________________ http://radio-excellent.tk |
|
| Back to top |
|
 |
|