Thomas, Sorry to be a pain, but I'm still getting errors when I start Icecast. StartingIcecast 2.4.1 Using config "icecast.xml" from installation directory ... Please open http://localhost:8000 or http://127.0.0.1:8000 in your web browser t o see the web interface. [2015-02-16 18:49:49] WARN auth_htpasswd/auth_htpasswd.c failed to check status of myauth I have attached a copy of my xml file. Thanks! -----Original Message----- From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf Of "Thomas B. R?cker" Sent: Monday, February 16, 2015 10:46 AM To: icecast at xiph.org Subject: Re: [Icecast] listener authentication On 02/16/2015 03:08 PM, Ron Harmon wrote:> Thanks for your quick reply. > I am looking at htpasswd. I am using 2.41 on Windows 7 with BUTT. > I have read the documentation but I don't understand where to enter > this in the config file. > |<mount> > <mount-name>/example.ogg</mount-name> > <authentication type="htpasswd"> > <option name="filename" value="myauth"/> > <option name="allow_duplicate_users" value="0"/> > </authentication> > </mount>| >You could paste it in the default windows config right below this: <!-- Mountpoints Only define <mount> sections if you want to use advanced options, like alternative usernames or passwords --> Just make sure to NOT put it inside a <!-- --> section. Because then it would get ignored. A good editor for the Icecast config would be notepad++, as it nicely highlights what's active (blue/red) and what's commented out (green). http://notepad-plus-plus.org/ You can then connect (re)start Icecast, then the source client and proceed to the admin interface to edit authentication settings. In case of "/example.ogg" this would be: http://localhost:8000/admin/manageauth.xsl?mount=/example.ogg (Please note that this is only available while a source client is running on that mountpoint!) On Windows the file "myauth" gets automatically created after adding the first user, in the Icecast installation directory, right next to the config file. On Linux/Unix/OSX it would need a bit more checking. Actually on Windows too, but only if you'd run Icecast as a service and under a different user Cheers Thomas> On Mon, Feb 16, 2015 at 8:18 AM, "Thomas B. R?cker" <thomas at ruecker.fi > <mailto:thomas at ruecker.fi>> wrote: > > On 02/16/2015 12:24 PM, Ron Harmon wrote: > > I cannot for the life of me get listener authentication to work. > > Would it be possible to send me a complete xml file that has > listener > > authentication setup? > > Which kind of listener authentication are you looking for? > - htpasswd file based > - URL auth backend based > > I would recommend htpasswd if you are a beginner and want > something simple. > > What OS/Distro is this on? > Which version of Icecast? > > Have you tried looking at the documentation? > > http://icecast.org/docs/icecast-2.4.1/auth.html#htpasswd-listener-auth > entication > > Why I can't just "send a xml file" is, because this depends on a few > things on your system. The questions I posed will help me or others to > give you guidance to get it working correctly though. > > Cheers > > Thomas > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org <mailto:Icecast at xiph.org> > http://lists.xiph.org/mailman/listinfo/icecast > > > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast_______________________________________________ Icecast mailing list Icecast at xiph.org http://lists.xiph.org/mailman/listinfo/icecast -------------- next part -------------- A non-text attachment was scrubbed... Name: icecast.xml Type: text/xml Size: 8248 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20150216/7b756e2c/attachment.bin
reflum, On Mon, 2015-02-16 at 19:09 -0500, Ron Harmon wrote:> Thomas, > > Sorry to be a pain, but I'm still getting errors when I start Icecast. > StartingIcecast 2.4.1 > Using config "icecast.xml" from installation directory ... > > Please open http://localhost:8000 or http://127.0.0.1:8000 in your web > browser t > o see the web interface. > [2015-02-16 18:49:49] WARN auth_htpasswd/auth_htpasswd.c failed to check > status > of myauthHave you created the file? If not, does server startup work fine? Go to the admin interface with your browser and after you connected a source the mount should show up. In that listing there is a link to manage the authentication. If you add a initial user the file should be created automagically.> I have attached a copy of my xml file.By the way: You set <mount-name>/example.m3u</mount-name>. This is a bit strange for a mount point. .m3u are playlist files. Did you maybe mean <mount-name>/example</mount-name>?> Thanks! > > > > -----Original Message----- > From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf > Of "Thomas B. R?cker" > Sent: Monday, February 16, 2015 10:46 AM > To: icecast at xiph.org > Subject: Re: [Icecast] listener authentication > > On 02/16/2015 03:08 PM, Ron Harmon wrote: > > Thanks for your quick reply. > > I am looking at htpasswd. I am using 2.41 on Windows 7 with BUTT. > > I have read the documentation but I don't understand where to enter > > this in the config file. > > |<mount> > > <mount-name>/example.ogg</mount-name> > > <authentication type="htpasswd"> > > <option name="filename" value="myauth"/> > > <option name="allow_duplicate_users" value="0"/> > > </authentication> > > </mount>| > > > > You could paste it in the default windows config right below this: > <!-- Mountpoints > Only define <mount> sections if you want to use advanced options, > like alternative usernames or passwords > --> > > Just make sure to NOT put it inside a <!-- --> section. Because then it > would get ignored. > A good editor for the Icecast config would be notepad++, as it nicely > highlights what's active (blue/red) and what's commented out (green). > http://notepad-plus-plus.org/ > > You can then connect (re)start Icecast, then the source client and proceed > to the admin interface to edit authentication settings. > In case of "/example.ogg" this would be: > http://localhost:8000/admin/manageauth.xsl?mount=/example.ogg > (Please note that this is only available while a source client is running > on that mountpoint!) > > On Windows the file "myauth" gets automatically created after adding the > first user, in the Icecast installation directory, right next to the config > file. > On Linux/Unix/OSX it would need a bit more checking. Actually on Windows > too, but only if you'd run Icecast as a service and under a different user-- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part Url : http://lists.xiph.org/pipermail/icecast/attachments/20150217/96a280f0/attachment.pgp
On 02/17/2015 12:09 AM, Ron Harmon wrote:> Thomas, > > Sorry to be a pain, but I'm still getting errors when I start Icecast. > StartingIcecast 2.4.1 > Using config "icecast.xml" from installation directory ... > > Please open http://localhost:8000 or http://127.0.0.1:8000 in your web > browser t > o see the web interface. > [2015-02-16 18:49:49] WARN auth_htpasswd/auth_htpasswd.c failed to check > status > of myauth > > I have attached a copy of my xml file.There are a couple of things wrong with that. * The hostname is NOT an URL. If you don't plan to list on dir.xiph.org, leave it as "localhost" and ignore the warning. * example.m3u is wrong, as pointed out by Philipp I've attached a cleaned up icecast.xml file. With everything unused removed. I've renamed /example.m3u to /example. This will only work if you plan to stream mp3, if you stream any other codec then it needs the respective "customary filename extension". Else it will confuse player software. For Ogg/vorbis it would be /example.ogg and for Opus it would be /example.opus I'd suggest you complete the steps I pointed out earlier (connect a source client to the right mountpoint and then go to admin interface!). Thomas> > Thanks! > > > > -----Original Message----- > From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf > Of "Thomas B. R?cker" > Sent: Monday, February 16, 2015 10:46 AM > To: icecast at xiph.org > Subject: Re: [Icecast] listener authentication > > On 02/16/2015 03:08 PM, Ron Harmon wrote: >> Thanks for your quick reply. >> I am looking at htpasswd. I am using 2.41 on Windows 7 with BUTT. >> I have read the documentation but I don't understand where to enter >> this in the config file. >> |<mount> >> <mount-name>/example.ogg</mount-name> >> <authentication type="htpasswd"> >> <option name="filename" value="myauth"/> >> <option name="allow_duplicate_users" value="0"/> >> </authentication> >> </mount>| >> > You could paste it in the default windows config right below this: > <!-- Mountpoints > Only define <mount> sections if you want to use advanced options, > like alternative usernames or passwords > --> > > Just make sure to NOT put it inside a <!-- --> section. Because then it > would get ignored. > A good editor for the Icecast config would be notepad++, as it nicely > highlights what's active (blue/red) and what's commented out (green). > http://notepad-plus-plus.org/ > > You can then connect (re)start Icecast, then the source client and proceed > to the admin interface to edit authentication settings. > In case of "/example.ogg" this would be: > http://localhost:8000/admin/manageauth.xsl?mount=/example.ogg > (Please note that this is only available while a source client is running > on that mountpoint!) > > On Windows the file "myauth" gets automatically created after adding the > first user, in the Icecast installation directory, right next to the config > file. > On Linux/Unix/OSX it would need a bit more checking. Actually on Windows > too, but only if you'd run Icecast as a service and under a different user? > > > Cheers > > Thomas > > >> On Mon, Feb 16, 2015 at 8:18 AM, "Thomas B. R?cker" <thomas at ruecker.fi >> <mailto:thomas at ruecker.fi>> wrote: >> >> On 02/16/2015 12:24 PM, Ron Harmon wrote: >> > I cannot for the life of me get listener authentication to work. >> > Would it be possible to send me a complete xml file that has >> listener >> > authentication setup? >> >> Which kind of listener authentication are you looking for? >> - htpasswd file based >> - URL auth backend based >> >> I would recommend htpasswd if you are a beginner and want >> something simple. >> >> What OS/Distro is this on? >> Which version of Icecast? >> >> Have you tried looking at the documentation? >> >> http://icecast.org/docs/icecast-2.4.1/auth.html#htpasswd-listener-auth >> entication >> >> Why I can't just "send a xml file" is, because this depends on a few >> things on your system. The questions I posed will help me or others to >> give you guidance to get it working correctly though. >> >> Cheers >> >> Thomas >>-------------- next part -------------- A non-text attachment was scrubbed... Name: icecast.xml Type: text/xml Size: 2236 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20150218/749afa76/attachment.bin
Thomas and Phillip, Thanks so much for your help. I have it working now but, is there a way to setup that when the user clicks on the m3u to play that it would open a player in the web page instead of creating the m3u file then having to open it in windows media player as some of the time WMP wont play the file. Thanks, Ron On Wed, Feb 18, 2015 at 2:30 AM, "Thomas B. R?cker" <thomas at ruecker.fi> wrote:> On 02/17/2015 12:09 AM, Ron Harmon wrote: > > Thomas, > > > > Sorry to be a pain, but I'm still getting errors when I start Icecast. > > StartingIcecast 2.4.1 > > Using config "icecast.xml" from installation directory ... > > > > Please open http://localhost:8000 or http://127.0.0.1:8000 in your web > > browser t > > o see the web interface. > > [2015-02-16 18:49:49] WARN auth_htpasswd/auth_htpasswd.c failed to check > > status > > of myauth > > > > I have attached a copy of my xml file. > > There are a couple of things wrong with that. > * The hostname is NOT an URL. If you don't plan to list on dir.xiph.org, > leave it as "localhost" and ignore the warning. > * example.m3u is wrong, as pointed out by Philipp > > I've attached a cleaned up icecast.xml file. With everything unused > removed. I've renamed /example.m3u to /example. This will only work if > you plan to stream mp3, if you stream any other codec then it needs the > respective "customary filename extension". Else it will confuse player > software. For Ogg/vorbis it would be /example.ogg and for Opus it would > be /example.opus > > I'd suggest you complete the steps I pointed out earlier (connect a > source client to the right mountpoint and then go to admin interface!). > > Thomas > > > > > Thanks! > > > > > > > > -----Original Message----- > > From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On > Behalf > > Of "Thomas B. R?cker" > > Sent: Monday, February 16, 2015 10:46 AM > > To: icecast at xiph.org > > Subject: Re: [Icecast] listener authentication > > > > On 02/16/2015 03:08 PM, Ron Harmon wrote: > >> Thanks for your quick reply. > >> I am looking at htpasswd. I am using 2.41 on Windows 7 with BUTT. > >> I have read the documentation but I don't understand where to enter > >> this in the config file. > >> |<mount> > >> <mount-name>/example.ogg</mount-name> > >> <authentication type="htpasswd"> > >> <option name="filename" value="myauth"/> > >> <option name="allow_duplicate_users" value="0"/> > >> </authentication> > >> </mount>| > >> > > You could paste it in the default windows config right below this: > > <!-- Mountpoints > > Only define <mount> sections if you want to use advanced > options, > > like alternative usernames or passwords > > --> > > > > Just make sure to NOT put it inside a <!-- --> section. Because then it > > would get ignored. > > A good editor for the Icecast config would be notepad++, as it nicely > > highlights what's active (blue/red) and what's commented out (green). > > http://notepad-plus-plus.org/ > > > > You can then connect (re)start Icecast, then the source client and > proceed > > to the admin interface to edit authentication settings. > > In case of "/example.ogg" this would be: > > http://localhost:8000/admin/manageauth.xsl?mount=/example.ogg > > (Please note that this is only available while a source client is > running > > on that mountpoint!) > > > > On Windows the file "myauth" gets automatically created after adding the > > first user, in the Icecast installation directory, right next to the > config > > file. > > On Linux/Unix/OSX it would need a bit more checking. Actually on Windows > > too, but only if you'd run Icecast as a service and under a different > user? > > > > > > Cheers > > > > Thomas > > > > > >> On Mon, Feb 16, 2015 at 8:18 AM, "Thomas B. R?cker" <thomas at ruecker.fi > >> <mailto:thomas at ruecker.fi>> wrote: > >> > >> On 02/16/2015 12:24 PM, Ron Harmon wrote: > >> > I cannot for the life of me get listener authentication to work. > >> > Would it be possible to send me a complete xml file that has > >> listener > >> > authentication setup? > >> > >> Which kind of listener authentication are you looking for? > >> - htpasswd file based > >> - URL auth backend based > >> > >> I would recommend htpasswd if you are a beginner and want > >> something simple. > >> > >> What OS/Distro is this on? > >> Which version of Icecast? > >> > >> Have you tried looking at the documentation? > >> > >> http://icecast.org/docs/icecast-2.4.1/auth.html#htpasswd-listener-auth > >> entication > >> > >> Why I can't just "send a xml file" is, because this depends on a few > >> things on your system. The questions I posed will help me or others > to > >> give you guidance to get it working correctly though. > >> > >> Cheers > >> > >> Thomas > >> > > > _______________________________________________ > 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/20150219/dbbbf4ba/attachment.htm