On 02 Jan 2005 18:16:01 +0000, Karl Heyes <karl@xiph.org> wrote:> On Sun, 2005-01-02 at 18:01, Dan Stowell wrote: > > Hi, > > > > My icecast2 config file includes > > > > <directory> > > <yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url> > > </directory> > > > but when I go to the oddsock YP, I can't find our stream anywhere. Am > > I doing something wrong, or is something more needed in the config? > > The first thing to check is the error.log, that will log any attempts to > list on the provided YP servers. If YP has not been compiled in then you > should see a log message about that as well.No messages about either of those. I didn't set a value for <yp-url-timeout>, could that be an issue? By the way, I noticed a typo in the documentation for this. In http://www.icecast.org/docs/icecast-2.2.0/icecast2_yp.html, the XML example omits the slashes from all three of the closing tags. Is it enough for me to mention it here, or should I tell someone else? Thanks Dan -- http://www.mcld.co.uk
On Sun, 2005-01-02 at 19:42, Dan Stowell wrote:> No messages about either of those. I didn't set a value for > <yp-url-timeout>, could that be an issue?you should get some messages, either yp disabled, or YP thread started at least, then adding YP server. The timeout for each server is logged when the YP server details are added to the active server list. If you don't see the log message "Adding new YP server ....." then the YP server details are not being used, the usual cause of this is that it's commented out.> By the way, I noticed a typo in the documentation for this. In > http://www.icecast.org/docs/icecast-2.2.0/icecast2_yp.html, the XML > example omits the slashes from all three of the closing tags. Is it > enough for me to mention it here, or should I tell someone else?the website looks to be in transition at the moment, I can't checked the docs, but those look to be missing from the docs in the tree so I'll fix that up karl.
On 02 Jan 2005 22:58:30 +0000, Karl Heyes <karl@xiph.org> wrote:> On Sun, 2005-01-02 at 19:42, Dan Stowell wrote: > > > No messages about either of those. I didn't set a value for > > <yp-url-timeout>, could that be an issue? > > you should get some messages, either yp disabled, or YP thread started > at least, then adding YP server.Strange, no, I don't. The command cat icecast2error.log | grep -i yp gets me nothing except a list of "No content type header, so assuming mp3" messages (note the "yp" in the middle of "type"...).> The timeout for each server is logged when the YP server details are > added to the active server list. If you don't see the log message > > "Adding new YP server ....." > > then the YP server details are not being used, the usual cause of this > is that it's commented out.Hmm, it's not commented out. Dan