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 

Ive fiddled with the config file & now it says 'fatal er

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



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jun 16, 2008 6:26 pm    Post subject: Ive fiddled with the config file & now it says 'fatal er Reply with quote

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 Smile
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jun 16, 2008 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jun 16, 2008 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
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