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
markuslowe



Joined: 12 Aug 2008
Posts: 3

PostPosted: Tue Aug 12, 2008 10:36 pm    Post subject: WFHB icecast directory listing Reply with quote

WFHB has recently changed to a different streaming server at:

http://www.wfhb.org:8000

Mount points for 128kbps at /wfhb_hi and for 40kbps at /wfhb_lo

Can you update the listing at http://dir.xiph.org/search?search=wfhb
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Aug 12, 2008 11:31 pm    Post subject: Reply with quote

markuslowe, Those entries are still being refreshed by the server at the old address, you need to disable that before adding the new details. You can comment out the <directory> tags and send the HUP signal / restart icecast or use the same cluster password if you want both to be listed, assuming you want the old one still in use.

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



Joined: 12 Aug 2008
Posts: 3

PostPosted: Thu Aug 21, 2008 5:36 am    Post subject: WFHB webstream Reply with quote

The old stream is now off. The new stream has Icecast XML file with <directory> listing uncommented, and Darkice source client has the Public=Yes flag on.

Now that the old stream is off, no results return for WFHB. Is there anything else I need to do to get directory listing?

Thanks!
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 Aug 21, 2008 1:12 pm    Post subject: Reply with quote

Check your error log, you should see attempts to get the stream registered. For all we know, your icecast may of not been compiled with libcurl support in which case the error log will show something about it at the beginning.

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



Joined: 12 Aug 2008
Posts: 3

PostPosted: Thu Aug 21, 2008 3:03 pm    Post subject: Reply with quote

Thanks, got it. <hostname> was still set to 'localhost'

Just updated, see if that gets it listed.

Thanks again!
Back to top
View user's profile Send private message
yourlord



Joined: 17 Jun 2008
Posts: 6

PostPosted: Thu Sep 04, 2008 6:47 pm    Post subject: Reply with quote

balbinus wrote:
The search results are currently limited to 100 results, ordered by reported number of listeners. We are currently discussing changes on the ordering, and lifting up the limits on some sortings. Furthermore, search results are cached for a few minutes, thus there may be inconsistencies.


I would recommend listing all matches. My streaming servers are hosted on a limited bandwidth connection, and I allow only 2 listeners max.. By that definition my streams would never be listed in any search that returns more than about 100 results.

Also, I'm not sure sorting by listeners by default is the best approach as that relegates the lesser used stations to obscurity at the bottom of the lists, and just funnels that many more listeners to the services that already are saturated.. I'm not sure what would be the best criteria to sort on as just about anything else could be abused. Maybe simply sorting randomly, or by uptime as measured by the list server?
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 Sep 04, 2008 11:57 pm    Post subject: Reply with quote

I've asked balbinus to change the sorting criteria. You are correct in that listener count is a simple but poor sorting criteria and that should be changed to suit the directory. For us, giving priority to say ogg streams and uptime has already been discussed.

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



Joined: 07 Mar 2009
Posts: 15

PostPosted: Sat Mar 07, 2009 2:17 am    Post subject: Reply with quote

Directory listing not working

I am running icecast 2.3.2 with ices 0.4
http://208.100.52.74:20000/

Everything looks to be working correctly, except no listing.
The error log only shows:
WARN main/main YP server handling has been disabled

My icecast.xml has :
<hostname>chi7.makeavoice.com</hostname>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<listen-socket>
<port>20000</port>
<bind-address>208.100.52.74</bind-address>
<shoutcast-mount>/stream</shoutcast-mount>
</listen-socket>

and ices.conf has:

<Public>1</Public>

Whats wrong with the dir.xiph.org listing?
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 2:53 am    Post subject: Reply with quote

Well you have already picked out the reason why

> WARN main/main YP server handling has been disabled

it looks like you have built the icecast without YP support, so it is not surprising that entries are not being listed. I suspect you have built this from source and you don't have the libcurl (devel?) support you need. The configure will report this. If so, installed the missing libcurl package, re-run configure and make

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



Joined: 07 Mar 2009
Posts: 15

PostPosted: Sat Mar 07, 2009 4:20 am    Post subject: Reply with quote

that sounds about right karl, just one problem. Where is libcurl and our libcurl-devel ?
yum install and yum search bring up nothing, the Downloads page on icecast.org brings up nothing about libcurl.
Back to top
View user's profile Send private message Send e-mail
mavmike



Joined: 07 Mar 2009
Posts: 15

PostPosted: Sat Mar 07, 2009 4:31 am    Post subject: Reply with quote

fixed that problem with "yum install curl-devel"
and then what you said, ./configure, make, make install (restart servers)

That seemed to have worked, but i still cant find my station in the dir.xiph.org listing

error.log

[2009-03-07 05:37:01] EROR yp/send_to_yp connection to http://dir.xiph.org/cgi-bin/yp-cgi failed with "Couldn't
resolve host 'dir.xiph.org'"

ping dir.xiph.org
PING dir.xiph.org (193.218.105.163) 56(84) bytes of data.
64 bytes from menechme.radiopytagor.org (193.218.105.163): icmp_seq=0 ttl=53 time=119 ms
64 bytes from menechme.radiopytagor.org (193.218.105.163): icmp_seq=1 ttl=53 time=102 ms
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 3:08 pm    Post subject: Reply with quote

Name resolution failure like this is probably down to running in an incomplete chroot jail. icecast uses the system libraries to resolve names like dir.xiph.org and those in turn use files like /etc/nsswitch.conf and /etc/resolv.conf and the support libs. These files would need to exist in the jail if you expect them to work.

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



Joined: 07 Mar 2009
Posts: 15

PostPosted: Sat Mar 07, 2009 7:27 pm    Post subject: Reply with quote

I'm not in a jail at all, im running straight from root
there's no chroot

Any other ideas? I'm still not getting the connection through
The machine is fine, I can ping the directory from it. It has running shoutcast and teamspeak.

No firewalls.
Back to top
View user's profile Send private message Send e-mail
mavmike



Joined: 07 Mar 2009
Posts: 15

PostPosted: Sat Mar 07, 2009 7:50 pm    Post subject: Reply with quote

Fix:

Code:
mkdir etc (where your chroot directory is)
ls etc
hosts  ld.so.cache  localtime  resolv.conf
mkdir lib (where your chroot directory is)
ls lib
libnss_dns.so.2


This is not obvious, and took along time to figure out what files were missing. Perhaps it should be included in the Readme.

I'm listing now, thanks karl
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 8:04 pm    Post subject: Reply with quote

so you are using a chroot jail?. On linux, glibc uses /etc/nsswitch.conf, which then can lead to /etc/hosts or /etc/resolv.conf being read by the libnss_* libs but that is specific. A library that does name resolution can use whatever mechanism it wishes to implement, so it's left to system administrators or package managers to resolve that.

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 3 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