<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
<br>
I'm using icecast 2.3.2<br>
<br>
I have the directory entry in the icecast.xml config file:<br>
<br>
<directory><br>
<yp-url-timeout>15</yp-url-timeout><br>
<yp-url><a class="moz-txt-link-freetext"
href="http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph.org/cgi-bin/yp-cgi</a></yp-url><br>
</directory><br>
<br>
and in mount, I have<br>
<br>
<public>1</public><br>
<no-yp>0</no-yp> <br>
<br>
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:<br>
<br>
<Stream><br>
<Server><br>
<Hostname>airprogressive.org</Hostname><br>
...<br>
<Public>1</Public><br>
...<br>
<br>
========<br>
In configure.log, the final configure defines for the icecast
compile are pasted below:<br>
========<br>
<br>
## confdefs.h. ##<br>
## ----------- ##<br>
<br>
#define PACKAGE_NAME "Icecast"<br>
#define PACKAGE_TARNAME "icecast"<br>
#define PACKAGE_VERSION "2.3.2"<br>
#define PACKAGE_STRING "Icecast 2.3.2"<br>
#define PACKAGE_BUGREPORT <a class="moz-txt-link-rfc2396E"
href="mailto:icecast@xiph.org">"icecast@xiph.org"</a><br>
#define PACKAGE "icecast"<br>
#define VERSION "2.3.2"<br>
#define STDC_HEADERS 1<br>
#define HAVE_SYS_TYPES_H 1<br>
#define HAVE_SYS_STAT_H 1<br>
#define HAVE_STDLIB_H 1<br>
#define HAVE_STRING_H 1<br>
#define HAVE_MEMORY_H 1<br>
#define HAVE_STRINGS_H 1<br>
#define HAVE_INTTYPES_H 1<br>
#define HAVE_STDINT_H 1<br>
#define HAVE_UNISTD_H 1<br>
#define HAVE_DLFCN_H 1<br>
#define _FILE_OFFSET_BITS 64<br>
#define _GNU_SOURCE 1<br>
#define STDC_HEADERS 1<br>
#define TIME_WITH_SYS_TIME 1<br>
#define HAVE_ALLOCA_H 1<br>
#define HAVE_PWD_H 1<br>
#define CHUID 1<br>
#define HAVE_UNISTD_H 1<br>
#define CHROOT 1<br>
#define HAVE_LOCALTIME_R 1<br>
#define HAVE_POLL 1<br>
#define HAVE_NANOSLEEP 1<br>
#define HAVE_SYS_SOCKET_H 1<br>
#define HAVE_SOCKLEN_T 1<br>
#define HAVE_SYS_SELECT_H 1<br>
#define HAVE_SYS_UIO_H 1<br>
#define HAVE_SETHOSTENT 1<br>
#define HAVE_GETNAMEINFO 1<br>
#define HAVE_ENDHOSTENT 1<br>
#define HAVE_GETADDRINFO 1<br>
#define HAVE_INET_ATON 1<br>
#define HAVE_WRITEV 1<br>
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1<br>
#define HAVE_INET_PTON 1<br>
#define HAVE_XSLTSAVERESULTTOSTRING 1<br>
#define HAVE_OGG 1<br>
#define HAVE_PTHREAD_SPIN_LOCK 1<br>
#define HAVE_PTHREAD 1<br>
#define HAVE_CURL_CURL_H 1<br>
#define HAVE_CURL 1<br>
#define HAVE_AUTH_URL 1<br>
#define HAVE_CURL_GLOBAL_INIT 1<br>
#define USE_YP 1<br>
<br>
==========================<br>
Which says curl is available and YP is selected, the two things I
noted were required to support YP interaction.<br>
<br>
Here is the admin information to see if you can spot a mistake:<br>
<h3>Global Server Stats</h3>
<table border="0" cellpadding="4">
<tbody>
<tr>
<td width="130">admin</td>
<td class="streamdata">icemaster@localhost</td>
</tr>
<tr>
<td width="130">client_connections</td>
<td class="streamdata">5022</td>
</tr>
<tr>
<td width="130">clients</td>
<td class="streamdata">7</td>
</tr>
<tr>
<td width="130">connections</td>
<td class="streamdata">5231</td>
</tr>
<tr>
<td width="130">file_connections</td>
<td class="streamdata">259</td>
</tr>
<tr>
<td width="130">host</td>
<td class="streamdata">airprogressive.org</td>
</tr>
<tr>
<td width="130">listener_connections</td>
<td class="streamdata">3160</td>
</tr>
<tr>
<td width="130">listeners</td>
<td class="streamdata">6</td>
</tr>
<tr>
<td width="130">location</td>
<td class="streamdata">Earth</td>
</tr>
<tr>
<td width="130">server_id</td>
<td class="streamdata">Icecast 2.3.2</td>
</tr>
<tr>
<td width="130">server_start</td>
<td class="streamdata">Wed, 27 Jul 2011 20:06:05 -0400</td>
</tr>
<tr>
<td width="130">source_client_connections</td>
<td class="streamdata">31</td>
</tr>
<tr>
<td width="130">source_relay_connections</td>
<td class="streamdata">0</td>
</tr>
<tr>
<td width="130">source_total_connections</td>
<td class="streamdata">31</td>
</tr>
<tr>
<td width="130">sources</td>
<td class="streamdata">1</td>
</tr>
<tr>
<td width="130">stats</td>
<td class="streamdata">0</td>
</tr>
<tr>
<td width="130">stats_connections</td>
<td class="streamdata">0</td>
</tr>
</tbody>
</table>
<br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<h3>Mount Point /stream</h3>
</td>
<td align="right"> <br>
</td>
</tr>
</tbody>
</table>
<br>
<table border="0" cellpadding="5" cellspacing="0">
<tbody>
<tr>
<td width="130">audio_info</td>
<td class="streamdata">bitrate=32</td>
</tr>
<tr>
<td width="130">bitrate</td>
<td class="streamdata">32</td>
</tr>
<tr>
<td width="130">genre</td>
<td class="streamdata">News/Progressive Talk</td>
</tr>
<tr>
<td width="130">listener_peak</td>
<td class="streamdata">11</td>
</tr>
<tr>
<td width="130">listeners</td>
<td class="streamdata">6</td>
</tr>
<tr>
<td width="130">listenurl</td>
<td class="streamdata"><a class="moz-txt-link-freetext"
href="http://airprogressive.org:8000/stream">http://airprogressive.org:8000/stream</a></td>
</tr>
<tr>
<td width="130">max_listeners</td>
<td class="streamdata">300</td>
</tr>
<tr>
<td width="130">public</td>
<td class="streamdata">1</td>
</tr>
<tr>
<td width="130">server_description</td>
<td class="streamdata">News/Progressive Talk Radio</td>
</tr>
<tr>
<td width="130">server_name</td>
<td class="streamdata">Air Progressive</td>
</tr>
<tr>
<td width="130">server_type</td>
<td class="streamdata">audio/mpeg</td>
</tr>
<tr>
<td width="130">server_url</td>
<td class="streamdata"><a class="moz-txt-link-freetext"
href="http://airprogressive.org">http://airprogressive.org</a></td>
</tr>
<tr>
<td width="130">slow_listeners</td>
<td class="streamdata">31</td>
</tr>
<tr>
<td width="130">source_ip</td>
<td class="streamdata">216.180.238.41</td>
</tr>
<tr>
<td width="130">stream_start</td>
<td class="streamdata">Sat, 06 Aug 2011 01:52:44 -0400</td>
</tr>
<tr>
<td width="130">title</td>
<td class="streamdata">HijackingTruthShow1Whole -
HijackingTruthShow1Whole</td>
</tr>
<tr>
<td width="130">total_bytes_read</td>
<td class="streamdata">207915182</td>
</tr>
<tr>
<td width="130">total_bytes_sent</td>
<td class="streamdata">839327733</td>
</tr>
<tr>
<td width="130">user_agent</td>
<td class="streamdata">ices/0.4 libshout/2.2.2</td>
</tr>
<tr>
<td width="130">yp_currently_playing</td>
<td class="streamdata">HijackingTruthShow1Whole -
HijackingTruthShow1Whole</td>
</tr>
</tbody>
</table>
<br>
<br>
Any ideas? THANKS!<br>
<br>
--Ray<br>
<br>
<pre class="moz-signature" cols="72">--
---------------------------------------
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</pre>
<br>
<pre class="moz-signature" cols="72">--
---------------------------------------
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</pre>
</body>
</html>