I have been trying to get my station listed in the icecast directory. I would appreciate someone reviewing this to see what is wrong. I've studied the documentation and I think I am doing what is required, but my station is not showing up in the icecast yp directory. I'm using icecast 2.3.2 I have the directory entry in the icecast.xml config file: <directory> <yp-url-timeout>15</yp-url-timeout> <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url> </directory> and in mount, I have <public>1</public> <no-yp>0</no-yp> I use ices 0.4 as the source with a perl script to serve files to it. My ices.conf file has the following in it: <Stream> <Server> <Hostname>airprogressive.org</Hostname> ... <Public>1</Public> ... =======In configure.log, the final configure defines for the icecast compile are pasted below: ======= ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "Icecast" #define PACKAGE_TARNAME "icecast" #define PACKAGE_VERSION "2.3.2" #define PACKAGE_STRING "Icecast 2.3.2" #define PACKAGE_BUGREPORT "icecast at xiph.org" #define PACKAGE "icecast" #define VERSION "2.3.2" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE 1 #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_ALLOCA_H 1 #define HAVE_PWD_H 1 #define CHUID 1 #define HAVE_UNISTD_H 1 #define CHROOT 1 #define HAVE_LOCALTIME_R 1 #define HAVE_POLL 1 #define HAVE_NANOSLEEP 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SOCKLEN_T 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SETHOSTENT 1 #define HAVE_GETNAMEINFO 1 #define HAVE_ENDHOSTENT 1 #define HAVE_GETADDRINFO 1 #define HAVE_INET_ATON 1 #define HAVE_WRITEV 1 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 #define HAVE_INET_PTON 1 #define HAVE_XSLTSAVERESULTTOSTRING 1 #define HAVE_OGG 1 #define HAVE_PTHREAD_SPIN_LOCK 1 #define HAVE_PTHREAD 1 #define HAVE_CURL_CURL_H 1 #define HAVE_CURL 1 #define HAVE_AUTH_URL 1 #define HAVE_CURL_GLOBAL_INIT 1 #define USE_YP 1 =========================Which says curl is available and YP is selected, the two things I noted were required to support YP interaction. Here is the admin information to see if you can spot a mistake: Global Server Stats admin icemaster at localhost client_connections 5022 clients 7 connections 5231 file_connections 259 host airprogressive.org listener_connections 3160 listeners 6 location Earth server_id Icecast 2.3.2 server_start Wed, 27 Jul 2011 20:06:05 -0400 source_client_connections 31 source_relay_connections 0 source_total_connections 31 sources 1 stats 0 stats_connections 0 Mount Point /stream audio_info bitrate=32 bitrate 32 genre News/Progressive Talk listener_peak 11 listeners 6 listenurl http://airprogressive.org:8000/stream max_listeners 300 public 1 server_description News/Progressive Talk Radio server_name Air Progressive server_type audio/mpeg server_url http://airprogressive.org slow_listeners 31 source_ip 216.180.238.41 stream_start Sat, 06 Aug 2011 01:52:44 -0400 title HijackingTruthShow1Whole - HijackingTruthShow1Whole total_bytes_read 207915182 total_bytes_sent 839327733 user_agent ices/0.4 libshout/2.2.2 yp_currently_playing HijackingTruthShow1Whole - HijackingTruthShow1Whole Any ideas? THANKS! --Ray -- --------------------------------------- Raymond Lutz AirProgressive.org c/o Citizens Oversight 771 Jamacha Rd #148 El Cajon, CA 92019 USA Voice 619-447-3246 http//www.AirProgressive.org -- --------------------------------------- Raymond Lutz Cognisys, Inc. 1010 Old Chase Ave., Bldg B El Cajon (San Diego Cty), CA 92020 USA Voice 619-447-3246 http//www.cognisys.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20110806/67074c59/attachment.htm>
Thomas.Rucker at tieto.com
2011-Aug-07 21:40 UTC
[Icecast] Trouble getting in icecast Directory
Hi Ray, My bets are on a wrong hostname setting or similar. Please bump up your log level to 4/dbug, restart icecast and then examine the error.log. This should hopefully give you some idea why it's failing. Cheers Thomas
This was resolved, (sorry, you lose the bet) but for some reason, the icecast directory lists it if I search for "Air", "Air Progressive", or "Progressive" but it does not if I search for "air". I hope this can be corrected or perhaps locate the source of the error. Perhaps someone else can try to search for it and verify that it is not specific to me. --Ray On 8/7/2011 2:40 PM, Thomas.Rucker at tieto.com wrote:> Hi Ray, > > My bets are on a wrong hostname setting or similar. > Please bump up your log level to 4/dbug, restart icecast and then examine the error.log. > This should hopefully give you some idea why it's failing. > > Cheers > > Thomas > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-- --------------------------------------- Raymond Lutz Cognisys, Inc. 1010 Old Chase Ave., Bldg B El Cajon (San Diego Cty), CA 92020 USA Voice 619-447-3246 http//www.cognisys.com