Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

flying blind

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Thu Jan 12, 2006 6:16 pm    Post subject: flying blind Reply with quote

I've got the icecast2 server on my Debian Linux machine and I'm using shout to feed the stream. I am having a shitload of problems here.

First, shout's logs say it's started streaming, set a mountpoint, and logged into icecast. However, when I try to connect to the stream from on the internal network or even the same computer, I get a 404 in icecast's error.log.

I called the stream mountpoint music in shout, and I've tried all these from the computer 192.168.0.106:8000 192.168.0.106:8001 192.168.0.106:8000/music, etc with no luck whatsoever. all I keep getting are 404 errors. My playlist has full paths, my root paths in icecast.xml are set up, but it still doesn't work.

Now, here's where it gets really shitty. I open up the browser and browse to http://localhost:8000/status.xsl on my server machine, and I get this "could not parse XSLT file" shit. So, now I'm flying blind, and I don't know what Icecast thinks the connectable stream is called.

When I try to access the xsl files, error.log shows a 404, even though I have the paths set up EXACTLY right. I specified /etc/icecast2/web for the webroot and MADE SURE all the xsl files were in there, yet the server STILL reports "EROR xslt/xslt_transform problem reading stylesheet "/etc/icecast2/web/status.xsl"

Has anyone gotten this to work?

P.S. might want to consider spending a little extra time before releasing something that doesn't work.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jan 12, 2006 8:34 pm    Post subject: Reply with quote

shout is an old buggy program, why use it. ices, ezstream, oddcast, liveice are just a few examples of source clients that people often use.

Mountpoints should begin with / although some source clients assume that initially. and if you are gett errors from a /status.xsl request then check the error log as the webroot path maybe wrong, or some xslt error has been introduced.

Note also 2.3.1 is the latest, so check the version from debian.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
liteFun



Joined: 13 Jan 2006
Posts: 79

PostPosted: Fri Jan 13, 2006 11:45 am    Post subject: Re: flying blind Reply with quote

Falkon-DEB wrote:
Now, here's where it gets really shitty. I open up the browser and browse to http://localhost:8000/status.xsl on my server machine, and I get this "could not parse XSLT file" shit. So, now I'm flying blind, and I don't know what Icecast thinks the connectable stream is called.


Install libxslt and libxml.

Falkon-DEB wrote:

When I try to access the xsl files, error.log shows a 404, even though I have the paths set up EXACTLY right. I specified /etc/icecast2/web for the webroot and MADE SURE all the xsl files were in there, yet the server STILL reports "EROR xslt/xslt_transform problem reading stylesheet "/etc/icecast2/web/status.xsl"

Has anyone gotten this to work?


YES. With installing all needed libraries.

Falkon-DEB wrote:

P.S. might want to consider spending a little extra time before releasing something that doesn't work.


How about spending more time reading docs?
Or at least README?

If you read file README, you will see following:

Prerequisites
---------------------------------------------------------------------
icecast requires the following packages :

* libxml2 - http://xmlsoft.org/downloads.html
* libxslt - http://xmlsoft.org/XSLT/downloads.html
* curl - http://curl.haxx.se/download.html (>= version 7.10 required)
NOTE: icecast may be compiled without curl, however this will
disable all Directory server interaction (YP).
* ogg/vorbis - http://www.vorbis.com/files (>= version 1.0 required)

btw, better compile from sources if you want better control over icecast2.
Those ready RPM/DEB/whatever packages usually are compiled without extra functions.
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Sat Jan 14, 2006 12:00 am    Post subject: Reply with quote

I had all the libraries. I've got it up and going now.

Now, Ices won't randomize the playlist no matter what. I tried starting with -r with no luck. The problem with the xsl files was one of permissions.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 14, 2006 1:21 am    Post subject: Reply with quote

ah OK, so you have decided on ices 0.4, add -v to check what it is doing.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Sat Jan 14, 2006 2:06 am    Post subject: Reply with quote

awesome! thanks. Turns out I had to create the directory /var/log/ices and set the permissions.
Back to top
Anonymous
Guest





PostPosted: Sat Jan 14, 2006 2:08 am    Post subject: Reply with quote

ices 0.4 isn't even in Debian's apt db, how lame
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 14, 2006 2:41 am    Post subject: Reply with quote

lame (or more specifically mp3) is the main reason why it's not in most (if any) distributions.

karl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber