| View previous topic :: View next topic |
| Author |
Message |
peepo
Joined: 15 Dec 2007 Posts: 88
|
Posted: Mon Jun 16, 2008 6:26 pm Post subject: Ive fiddled with the config file & now it says 'fatal er |
|
|
Have had icecast running on my server for a few weeks now, everything working. Until today when I edited the config file to allow a fallback mount. Now when I try to start the server is says 'fatal error parsing config file (.\icecast.xml)'
Ive looked in the error log but its not showing anything. Im pretty sure Ive just got a messed up bit of code here, can anyone see what Ive done wrong?
<icecast>
<limits>
<sources>4</sources>
</limits>
<mount>
<mount-name>/listen</mount-name>
<password>*****</password>
<max-listeners>100</max-listeners>
<fallback-mount>/archive</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<stream-name></stream-name>
<stream-description></stream-description>
<stream-url></stream-url>
<genre>Dance </genre>
<bitrate>128</bitrate>
<hidden>1</hidden>
</mount>
<paths>
<logdir>./logs</logdir>
<webroot>C:\Program Files\Icecast2 Win32\web\</webroot>
<adminroot>../admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast>
thanks  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jun 16, 2008 6:43 pm Post subject: |
|
|
To verify the xml layout you can use xmllint or just load the xml file into your web browser. Both should highlight any parse issues.
karl. |
|
| Back to top |
|
 |
peepo
Joined: 15 Dec 2007 Posts: 88
|
Posted: Mon Jun 16, 2008 7:27 pm Post subject: |
|
|
Thanks. I worked it out by putting the original code back in & testing it after each change and addition.
It seems that it was when I entered the station details & website url that it went abit weird. So Ive removed the parts completely. |
|
| Back to top |
|
 |
|