[Icecast] unable to set username/password for a mount point
Jayesh Dalal
jayeshdalal at gmail.com
Sat Oct 27 08:18:09 UTC 2018
Hello,
I've icecast2 installed on Ubuntu 16.04 LTS and I can access it via
http://localhost:8000
I followed this document to add authentication:
https://icecast.org/docs/icecast-2.4.1/auth.html
I added the following to /etc/icecast2/icecast.xml 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>
I restarted the icecast server as:
sudo /etc/init.d/icecast2 restart
I tried to add a username/password to the /example.ogg stream and I
get the following message in the error.log file:
[2018-10-27 01:11:26] INFO admin/admin_handle_request Received admin
command manageauth.xsl on mount "/example.ogg"
[2018-10-27 01:11:26] WARN auth_htpasswd/htpasswd_recheckfile failed
to check status of myauth
[2018-10-27 01:11:26] WARN auth_htpasswd/htpasswd_adduser Failed to
open authentication database "myauth": Permission denied
Can someone please advice whree is the database "myauth" written to,
so I can verify that directory has the correct permissions?
Thanks in advance.
Jayesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20181027/d1c1a9d8/attachment.htm>
More information about the Icecast
mailing list