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 

Icecast + mpd + pitchfork

 
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: Tue Jan 15, 2008 2:09 pm    Post subject: Icecast + mpd + pitchfork Reply with quote

Hi!
I'm in great confusion .

I want to set up mpd + pitchfork. As I understand I also need icecast in order to do this correctly. BUT I'm having a hard time configuring icecast. I've tried everything but when I point my browser to mydomain:8000 then it keeps on telling me that "Could not parse XSLT file".
Could anyone please give me an example of his icecast.xml that would probably work in this case? Or just any hints



I'm running Openbsd-4.2 with php5 ( http://pihus.pri.ee/php/info.php ).
Pitchfork itself is located here: http://pihus.pri.ee/pitchfork/

edit: I've tryied different icecast.xml configs and sometimes it also says "The file you requested could not be found"..
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 15, 2008 3:49 pm    Post subject: Reply with quote

Check your log files. with a url like the specified one, what will happen is the alias (in the xml) will map / to /status.xsl and then icecast will check for that file in webroot. If the file cannot be read for whatever reason then you'll get the reply as you have indicated. Knowing the correct xml is only part of the answer, it also depends on where you have installed things.

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





PostPosted: Tue Jan 15, 2008 5:21 pm    Post subject: Reply with quote

Right now it say's "The file you requested could not be found".

error.log doesn't seem to contain anything suspicious:
Code:
[2008-01-15  19:15:05] INFO main/main Icecast 2.3.1 server started
[2008-01-15  19:15:05] INFO fserve/fserv_thread_function file serving thread started
[2008-01-15  19:15:05] INFO yp/yp_update_thread YP update thread started
[2008-01-15  19:15:05] INFO auth/auth_run_thread Authentication thread started


My current icecast.xml is as follows:
Code:
<icecast>
    <limits>
        <sources>2</sources>
    </limits>
    <authentication>
         <source-password>hackme</source-password>
         <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>
    <shoutcast-mount>/stream</shoutcast-mount>
    <hostname>localhost</hostname>
        <port>8000</port>
    </listen-socket>
    <listen-socket>
        <port>8001</port>
        <shoutcast-compat>1</shoutcast-compat>
    </listen-socket>
    <fileserve>1</fileserve>
    <paths>
 <logdir>/var/log/icecast</logdir>
        <webroot>/usr/local/share/icecast/web</webroot>
        <adminroot>/usr/local/share/icecast/admin</adminroot>
    </paths>
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <loglevel>3</loglevel>
    </logging>
    <security>
        <chroot>0</chroot>
    </security>
</icecast>


I think I should also mention that I had to create /usr/local/share/icecast directory by myself, so that they're actually empty (as well as webroot's and adminroot's directory). Is it correct?
Back to top
Anonymous
Guest





PostPosted: Tue Jan 15, 2008 6:01 pm    Post subject: Reply with quote

Nevermind, I finally got it working! Very Happy Very Happy Very Happy
One of the problem really was that those directories were empty, so I had to copy the contents of /usr/ports/net/icecast/w-icecast-2.3.1p1/icecast-2.3.1/ to /usr/local/share/icecast Very Happy
It seems that when installing on OpenBSD and from porttree, then everything might not go exactly like on linux.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 15, 2008 10:47 pm    Post subject: Reply with quote

If you find out why the install failed then by all means let us know, I've never heard of the webroot/adminroot files not installing via make install.

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