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 

error when turning icecast on

 
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 Mar 08, 2007 7:38 am    Post subject: error when turning icecast on Reply with quote

hello

i am trying to trurn icecast on but i get this error

/usr/local/etc$ icecast -c /path/to/icecast.xml
I/O warning : failed to load external entity "/path/to/icecast.xml"
FATAL: error parsing config file (/path/to/icecast.xml)
XML config parsing error

pls help me out.

thanks in advanced,
nic
Back to top
Anonymous
Guest





PostPosted: Sat Mar 10, 2007 8:23 am    Post subject: Reply with quote

that sounds like your config file is malformatted. Make sure all your elements are spelled correctly, all "<!--" have matched "-->", and that you're closing all the elements that open. It's pretty easy to typo and break your xml.

You might try actually posting the xml file (without passwords, of course) someplace like pastebin, and seeing if someone on irc or just someone familiar with xml in general can help you figure out what's wrong with it.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Mar 10, 2007 2:06 pm    Post subject: Reply with quote

It could also mean that the poster its taking /path/to/icecast.xml too literally, and instead should use a real path.

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





PostPosted: Sun Mar 11, 2007 5:24 am    Post subject: Reply with quote

thanks 4 reply. but with it i have tried the defult config and editing the config i am rechecking now to see if it is fucked up.
Back to top
Anonymous
Guest





PostPosted: Thu Jun 28, 2007 7:10 am    Post subject: Reply with quote

complich8 wrote:
that sounds like your config file is malformatted. Make sure all your elements are spelled correctly, all "<!--" have matched "-->", and that you're closing all the elements that open. It's pretty easy to typo and break your xml.

You might try actually posting the xml file (without passwords, of course) someplace like pastebin, and seeing if someone on irc or just someone familiar with xml in general can help you figure out what's wrong with it.


I don't know if anyone is still reading this thread, but I just successfully installed icecast2... and experienced every. single. problem... And the parsing issue isn't malformat of the cfg file(because the default cfg does the same thing), it's the permissions to parse it. So it appears the the directories for /etc/icecast2/, & /var/log/icecast/ don't install with at least 666 permissions by default. You'll find that once you finally get the cfg file (/etc/icecast2/icecast.xml) properly chmodded, you still can't start it because of the logs. So you need to run:
sudo chmod 666 /var/log/icecast2
and that should do it. There are two log files that it tries to create there:
access.log & error.log
Feel free to msg me if anyone is still reading this and needs help.
Back to top
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