Hi there, My error log is full of these 2 lines [2015-05-12 08:08:07] INFO fserve/fserve_client_create checking for file /7.html (/usr/share/icecast2/web/7.html) [2015-05-12 08:08:07] WARN fserve/fserve_client_create req for file "/usr/share/icecast2/web/7.html" No such file or directory I have checked the Icecast sources and couldn't find any file named 7.html, so I was wondering why it's looking for it and where to get it? I have installed icecast via Ubuntu package manager apt-get. Cheers Nandakishor -- Founder and Lead Developer 24 Hour Kirtan Radio Bergstrasse 54 8032 Z?rich Switzerland Tune in on http://24hourkirtan.fm 24 Hour Kirtan Radio is a Swiss non-profit organization.
7.html is a ShoutCast metadata file did you have a previous ShoutCast installation or setup a relay between IceCast and ShoutCast stream? On May 12, 2015 1:11 AM, "Nanda Kishor Dasa" <nkd at 24hourkirtan.fm> wrote:> Hi there, > > My error log is full of these 2 lines > > [2015-05-12 08:08:07] INFO fserve/fserve_client_create checking for > file /7.html (/usr/share/icecast2/web/7.html) > [2015-05-12 08:08:07] WARN fserve/fserve_client_create req for file > "/usr/share/icecast2/web/7.html" No such file or directory > > I have checked the Icecast sources and couldn't find any file named > 7.html, so I was wondering why it's looking for it and where to get it? > > I have installed icecast via Ubuntu package manager apt-get. > > Cheers > Nandakishor > -- > Founder and Lead Developer > 24 Hour Kirtan Radio > Bergstrasse 54 > 8032 Z?rich > Switzerland > > Tune in on http://24hourkirtan.fm > 24 Hour Kirtan Radio is a Swiss non-profit organization. > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20150512/1a3cad21/attachment.htm
On Tue, 12 May 2015, Nanda Kishor Dasa wrote:> My error log is full of these 2 lines > > [2015-05-12 08:08:07] INFO fserve/fserve_client_create checking for > file /7.html (/usr/share/icecast2/web/7.html) > [2015-05-12 08:08:07] WARN fserve/fserve_client_create req for file > "/usr/share/icecast2/web/7.html" No such file or directoryAs has been mentioned, 7.html is a standard stats file produced by Shoutcast (at least v1). It's possible to write an XSL template that can do the same, which could be aliased if you have software that needs it. I did this ina previous life. Unfortunately, I don't have convenient access to the hard drive it lives on, otherwise I'd send it. The thing I recall is that the HTML in 7.html is mal-formed. Take this example from the wild, generated by Shoutcast 1.9.8: <HTML><meta http-equiv="Pragma" content="no-cache"></head><body>33,1,511,1500,32,96,</body></html> You'll notice several things: 1. There is no opening <head> tag. 2. The opening tag is written <HTML> but the closing tag is written </html>. A strict HTML parser will complain about these. Worse however is the possibility that a program expecting 7.html may *expect* these defects. There is an XSL stylesheet in the KH tree at https://github.com/karlheyes/icecast-kh/blob/master/web/7.xsl but it uses the HTML output scheme which will lack these defects, and so may not be compatible with some software that expects them. Of course, why Shoutcast decided to present what is obviously meant to be machine-parsable data in HTML is completely beyond me. Icecast's status2.xsl does a better job IMHO, though it still has some tags in it. HTH, Geoff.
On 12/05/2015 08:35, Holden Stanford wrote:> 7.html is a ShoutCast metadata file did you have a previous ShoutCast > installation or setup a relay between IceCast and ShoutCast stream?I was on ShoutCast before, but on the new server I never installed it nor did I relay anything. Very strange. Cheers, NKd
On 12/05/2015 22:15, Geoff Shang wrote:> As has been mentioned, 7.html is a standard stats file produced by > Shoutcast (at least v1). > > It's possible to write an XSL template that can do the same, which > could > be aliased if you have software that needs it. I did this ina > previous > life. Unfortunately, I don't have convenient access to the hard drive > it > lives on, otherwise I'd send it. > > The thing I recall is that the HTML in 7.html is mal-formed. Take this > example from the wild, generated by Shoutcast 1.9.8: > > <HTML><meta http-equiv="Pragma" > content="no-cache"></head><body>33,1,511,1500,32,96,</body></html> > > You'll notice several things: > > 1. There is no opening <head> tag. > > 2. The opening tag is written <HTML> but the closing tag is written > </html>. > > A strict HTML parser will complain about these. > > Worse however is the possibility that a program expecting 7.html may > *expect* these defects. There is an XSL stylesheet in the KH tree at > https://github.com/karlheyes/icecast-kh/blob/master/web/7.xsl but it > uses > the HTML output scheme which will lack these defects, and so may not be > compatible with some software that expects them. > > Of course, why Shoutcast decided to present what is obviously meant to > be > machine-parsable data in HTML is completely beyond me. Icecast's > status2.xsl does a better job IMHO, though it still has some tags in > it.Thanks for the elaborations, but it still does not make sense to me that this shows up in the Icecast log, does it? The old Shoutcast server has been shut down 2 weeks ago. Cheers, NKd