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 

libxslt errors / crashing

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



Joined: 27 Aug 2009
Posts: 6

PostPosted: Thu Aug 27, 2009 1:00 am    Post subject: libxslt errors / crashing Reply with quote

Ok I am at my wits end, this isnt the first time Ive come across this but not sure how it was resolved. There seems to be a lot of people out there with the same problem from what I found so I am posting this to see if there is any further info or things to try as I am now desperate - loosing over 300 listeners.

I had a HD replacement and OS reinstall. Ran all updates, updated

I originally got the
"/usr/lib/libxslt.so: undefined reference to `xmlXPathContextSetCache' " Error which I find in all the posts related that you say it is related to inconsistencies between libs ( libxml2 and libxslt ) However I have updated to the latest versions of all teh above and devel levels.

Somehow I was able to get icecast to install but after it gets started it runs ok until you go to the directory listing http://IPAddress:8000/ and then crashes the entire setup. We have found the following error after crashing:

icecast: symbol lookup error: /usr/lib/libxslt.so.1: undefined symbol: xmlXPathCompiledEvalToBoolean

Any insight?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Aug 27, 2009 1:22 am    Post subject: Reply with quote

Is this from an older distribution, check the versions of libxml2 and libxslt against the ones on the xmlsoft.org site. If you are sure that you don't have multiple versions that could be causing this then you may have to search for other prepackaged libxml2/libxslt. I've only ever heard this affecting centos setups in which case another rpm package may suffice.

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



Joined: 27 Aug 2009
Posts: 6

PostPosted: Thu Aug 27, 2009 3:12 am    Post subject: Reply with quote

Thanks Karl - with a little playing around Ive gotten icecast to run WITH EXCEPTION. Whenver I go to the directory page http://hostname:8000 I get Could not parse XSLT file

Ok, so I check paths and make the correction to see the correct webroot folder. Once I restart icecast and go to the directory page icecast crashes. with no real error message.

If I have paths correct this is what the log shows:

Code:

[2009-08-26  23:08:04] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/OttawaValley.mp3" No such file or directory
[2009-08-26  23:08:04] INFO connection/_handle_source_request Source logging in at mountpoint "/SoCalRIVCOFD"
[2009-08-26  23:08:04] INFO connection/_handle_source_request Source logging in at mountpoint "/SoCalORCOFire"
[2009-08-26  23:08:04] INFO connection/_handle_source_request Source logging in at mountpoint "/SoCalSBCOFireLaw"
[2009-08-26  23:08:04] INFO connection/_handle_source_request Source logging in at mountpoint "/SoCalRIVCOPolice"
[2009-08-26  23:08:04] INFO fserve/fserve_client_create checking for file /Snohomish_Co_WA_.mp3.m3u (/usr/local/share/icecast/web/Snohomish_Co_WA_.mp3.m3u)
[2009-08-26  23:08:04] INFO source/source_main listener count on /SoCalRIVCOFD now 0
[2009-08-26  23:08:04] INFO fserve/fserve_client_create checking for file /OttawaValley.mp3 (/usr/local/share/icecast/web/OttawaValley.mp3)
[2009-08-26  23:08:04] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/OttawaValley.mp3" No such file or directory
[2009-08-26  23:08:04] INFO source/source_main listener count on /SoCalORCOFire now 0
[2009-08-26  23:08:04] INFO source/source_main listener count on /SoCalRIVCOPolice now 0
[2009-08-26  23:08:04] INFO source/source_main listener count on /SoCalSBCOFireLaw now 0
[2009-08-26  23:08:05] INFO fserve/fserve_client_create checking for file /OttawaValley.mp3 (/usr/local/share/icecast/web/OttawaValley.mp3)
[2009-08-26  23:08:05] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/OttawaValley.mp3" No such file or directory
[2009-08-26  23:08:06] INFO fserve/fserve_client_create checking for file /OttawaValley.mp3 (/usr/local/share/icecast/web/OttawaValley.mp3)
[2009-08-26  23:08:06] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/OttawaValley.mp3" No such file or directory


If I have the wrong path It stays up bit the directory fails and I get this in error log

Code:


EROR xslt/xslt_transform problem reading stylesheet "/usr/share/icecast/web/status2.xsl" 


I have tried different user permissions as well as different users on the .xsl files.

I knwo I am close but must be missing something
[/code]
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Thu Aug 27, 2009 6:03 am    Post subject: Reply with quote

Hi,

Sound there's something wrong:
Code:
2009-08-26  23:08:05] INFO fserve/fserve_client_create checking for file /OttawaValley.mp3 (/usr/local/share/icecast/web/OttawaValley.mp3)

and
Code:
EROR xslt/xslt_transform problem reading stylesheet "/usr/share/icecast/web/status2.xsl"

Some parts of your system looks for files in /usr/local while others check in /usr.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
IBN01



Joined: 27 Aug 2009
Posts: 6

PostPosted: Thu Aug 27, 2009 3:23 pm    Post subject: Reply with quote

I see the
Code:
INFO fserve/fserve_client_create
as a warning, and the file does play ok.

The
Code:
ROR xslt/xslt_transform problem reading

is only present because I have the status.xsl pointed to the wrong place to keep icecast from crashing.

If someone goes to the status.xsl page it crashes the icecast server - and there is no error messages generated. So I am trying to figure out why it is crashing the server.

Or is there another way to monitor icecast feeds / users and listeners? Maybe without crashing it. I dont particular need that page if i can monitor it a different way
Back to top
View user's profile Send private message
IBN01



Joined: 27 Aug 2009
Posts: 6

PostPosted: Fri Aug 28, 2009 5:27 am    Post subject: Reply with quote

Ok so I definetly have it down to the status.xsl now crashing the server. I I load a different page in its place it doesnt crash.

Any idea what in there could cause it to crash. I am using default one no mods (yet) And I did get the stable recent release (last) of icecast in.

Error log still not throwing any errors just info
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Fri Aug 28, 2009 6:42 am    Post subject: Reply with quote

Gi,

Reading again all this thread, I guess your installa might be CentOS 5. This one has an issue with some libs.

I managed having icecast running smooth rebuilding RPM from sources.
Operation is:
Code:
# Having a stable up to date system
yum update
# Grab correct source RPM
rpm -Uvh http://www.lab-project.net/files/centos/icecast-2.3.2-5.src.rpm
# Build RPM
cd /usr/src/redhat/SPECS
rpmbuild -bb icecast.spec
# Install packages
cd ../RPMS/x86_64
yum localinstall icecast-2.3.2-5.x86_64.rpm

Changing eventually for your nuild arc (i386, i686..). I have more that 40 CentOS servers running with it.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
IBN01



Joined: 27 Aug 2009
Posts: 6

PostPosted: Thu Sep 03, 2009 11:45 am    Post subject: Reply with quote

So far a no go still Sad very frustrating because I did have it running on this server and OS before the hard drive replacement,

This is the message that is last line before it crashes

[2009-09-03 07:38:53] DBUG connection/_handle_get_request alias has made / into /status.xsl
[2009-09-03 07:38:53] DBUG auth/add_authenticated_listener Stats request, sending XSL transformed stats

Then nothing else program crashed. Nothing in any other logs.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 03, 2009 1:13 pm    Post subject: Reply with quote

I still don't see why you cannot get the latest RPMS from the xmlsoft.org site and install those. Remember this is one library complaining about another.

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



Joined: 27 Aug 2009
Posts: 6

PostPosted: Thu Sep 03, 2009 2:05 pm    Post subject: Reply with quote

I am running the latest, got them straight from the site, in fact re-did them a
There is isnt anything newer out there. Fact I dumped them, inlcuding yum - cause if you dump then you dump everything. So it was and has been all duped and restarted for the 10th time.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 03, 2009 2:53 pm    Post subject: Reply with quote

I'm not sure what else you want us to do. We don't maintain libxml2 or libxslt so you'll need to talk to those developers (xmlsoft.org). All I can say is that I don't get the issue and I have libxml2 2.7.3 and libxslt 1.1.24 here. Make sure you are not linking to an older library (eg ldd icecast)

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