| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu Mar 08, 2007 7:38 am Post subject: error when turning icecast on |
|
|
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
|
Posted: Sat Mar 10, 2007 8:23 am Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 10, 2007 2:06 pm Post subject: |
|
|
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 |
|
 |
Anonymous Guest
|
Posted: Sun Mar 11, 2007 5:24 am Post subject: |
|
|
| 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
|
Posted: Thu Jun 28, 2007 7:10 am Post subject: |
|
|
| 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 |
|
 |
|