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 

Directory listings
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
mavmike



Joined: 07 Mar 2009
Posts: 15

PostPosted: Sat Mar 07, 2009 8:55 pm    Post subject: Reply with quote

the problem is icecast doesnt seem to run from root on linux, so you have to enable the chroot.
But, once you do that and set the chroot directory to say /home/icecast , that folder now doesnt have /etc and /lib when you su into it, which are required files for icecast and ices (not listed)

Please update list of prerequisite and/or requirements to include these files for Linux. That would help others

I had no idea it would even be these specific files, I found someone else try copying all those files over and it happened to work. Perhaps some of them are not required.
Back to top
View user's profile Send private message Send e-mail
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Mar 07, 2009 10:12 pm    Post subject: Reply with quote

icecast does not require or even suggest using chroot as most people don't know what is involved in setting these jails up properly. I suspect you are mistaking some other issue for chroot. None of our samples enable chroot.

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



Joined: 12 Mar 2009
Posts: 9
Location: Romania

PostPosted: Thu Mar 12, 2009 10:47 am    Post subject: Problem listing Reply with quote

Hello!

I just installed Icecast on a linux machine and i have a problem listing my streams. I also run 2 more servers on windows and I have no problem listing them on the Icecast directory.
The configuration file is the same with the one I use on the windows servers.

Here are my streams:
http://live.playradio.org:9090/Play48.aac
http://live.playradio.org:9090/Play32.aac
_________________
The best dance hits of the 90's only @ Play Radio
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 12, 2009 3:06 pm    Post subject: Reply with quote

You didn't say what was in your error log, whether yp is disabled or whether yp is running. The stream won't tell us why it's not being listed.

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



Joined: 12 Mar 2009
Posts: 9
Location: Romania

PostPosted: Fri Mar 13, 2009 10:26 am    Post subject: Reply with quote

karlH wrote:
You didn't say what was in your error log, whether yp is disabled or whether yp is running. The stream won't tell us why it's not being listed.

karl.


Icecast is compiled with yp. What is the name of the log that should be created for yp? The only logs i have on the serever are access.log and error.log
_________________
The best dance hits of the 90's only @ Play Radio
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Mar 13, 2009 3:09 pm    Post subject: Reply with quote

there's no separate log for yp, it's mentioned in the error log. Just look for entries that have yp in them, if the stream is public then it will attempt to list on the specified directories.

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



Joined: 12 Mar 2009
Posts: 9
Location: Romania

PostPosted: Fri Mar 13, 2009 6:49 pm    Post subject: Reply with quote

karlH wrote:
there's no separate log for yp, it's mentioned in the error log. Just look for entries that have yp in them, if the stream is public then it will attempt to list on the specified directories.

karl.


I have nothing with yp in the error log. And it's still not listing. It doesn't seem to show the yp_currently_playing in the status like the windows servers do. What could be the problem? I assured that it will compile with yp.
_________________
The best dance hits of the 90's only @ Play Radio
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Mar 13, 2009 8:17 pm    Post subject: Reply with quote

our server code does list at least one entry with yp, even if the support isn't there. At the very least you will either see

Updating YP configuration
or
YP server handling has been disabled

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



Joined: 12 Mar 2009
Posts: 9
Location: Romania

PostPosted: Fri Mar 13, 2009 8:49 pm    Post subject: Reply with quote

karlH wrote:
our server code does list at least one entry with yp, even if the support isn't there. At the very least you will either see

Updating YP configuration
or
YP server handling has been disabled

karl.


How can I update the YP and how can I see if the server handling has been disabled.
Sorry for all these questions but I'm a new user of Icecast.
_________________
The best dance hits of the 90's only @ Play Radio
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
sonia



Joined: 28 Dec 2008
Posts: 67
Location: Greece

PostPosted: Thu Apr 23, 2009 1:02 am    Post subject: Re: Directory listings Reply with quote

hello karl

finally I'm not listed. I just checked my settings on icecast xml and are the following:
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->

<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>here I have changed it to the ip of the server</hostname>



all the above are the default settings as you know, except from the hostname that I have put the server ip only. maybe should I put the port and the stream.m3u???

thank youuuuu

p.s.: the "hidden" and "no-yp" are both set to 0 (zero)


karlH wrote:
If anyone has trouble with listing on dir.xiph.org then you can report your stream here. Don't forget localhost is not a valid hostname (any valid IP or DNS name will suffice) and we do check that the stream is accessible so any firewalls should allow access.

karl.

_________________
www.freshwebradio.com
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Apr 23, 2009 2:55 am    Post subject: Reply with quote

Just to be clear. You have to specify the directory servers you want to list on and not only that, each stream you want listed needs to be marked public, whether that latter setting is done via the source client or the <mount> settings no-yp or public is up to you. The mount setting, public, is mainly for inactive on-demand relays that you may want listed.

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



Joined: 28 Dec 2008
Posts: 67
Location: Greece

PostPosted: Thu Apr 23, 2009 12:37 pm    Post subject: Reply with quote

that's clear ok. but could you please tell me in which section of the xml I can see that "each stream you want listed needs to be marked public"? and what do I need to change?

thank you

karlH wrote:
Just to be clear. You have to specify the directory servers you want to list on and not only that, each stream you want listed needs to be marked public, whether that latter setting is done via the source client or the <mount> settings no-yp or public is up to you. The mount setting, public, is mainly for inactive on-demand relays that you may want listed.

karl.

_________________
www.freshwebradio.com
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Apr 23, 2009 2:36 pm    Post subject: Reply with quote

the admin page will tell you if the stream is public. In most cases the only change in the icecast xml is to uncomment the directory. Usually the setting to make the stream advertise is in the source client.

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



Joined: 28 Dec 2008
Posts: 67
Location: Greece

PostPosted: Thu Apr 23, 2009 3:30 pm    Post subject: Reply with quote

the admin page is ok. I also uncomment the xml. and the source client is ok.

i'll wait some hours and if not, I'll bother you again.

thank youuuu


karlH wrote:
the admin page will tell you if the stream is public. In most cases the only change in the icecast xml is to uncomment the directory. Usually the setting to make the stream advertise is in the source client.

karl.

_________________
www.freshwebradio.com
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Apr 23, 2009 4:03 pm    Post subject: Reply with quote

You can increase the log level and look for entries in the error log with yp in them. The process of adding an entry to our yp is fairly quick, although I did give about minute after the stream started before adding so that any problems at connection are not wasting update events.

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
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 4 of 8

 
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