<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I've icecast2 installed on Ubuntu 16.04 LTS and I can access it via <a href="http://localhost:8000" target="_blank">http://localhost:8000</a><br></div><div><br></div><div>I followed this document to add authentication:<br></div><div><a href="https://icecast.org/docs/icecast-2.4.1/auth.html" target="_blank">https://icecast.org/docs/icecast-2.4.1/auth.html</a></div><div><br></div><div>I added the following to /etc/icecast2/icecast.xml file:<br></div><div><div class="gmail-m_-5936194478469772823gmail-highlight"><div><code class="gmail-m_-5936194478469772823gmail-language-xml"><span class="gmail-m_-5936194478469772823gmail-nt"><mount></span>
</code></div><pre><code class="gmail-m_-5936194478469772823gmail-language-xml">       <span class="gmail-m_-5936194478469772823gmail-nt"><mount-name></span>/example.ogg<span class="gmail-m_-5936194478469772823gmail-nt"></mount-name></span>
        <span class="gmail-m_-5936194478469772823gmail-nt"><authentication</span> <span class="gmail-m_-5936194478469772823gmail-na">type=</span><span class="gmail-m_-5936194478469772823gmail-s">"htpasswd"</span><span class="gmail-m_-5936194478469772823gmail-nt">></span>
                <span class="gmail-m_-5936194478469772823gmail-nt"><option</span> <span class="gmail-m_-5936194478469772823gmail-na">name=</span><span class="gmail-m_-5936194478469772823gmail-s">"filename"</span> <span class="gmail-m_-5936194478469772823gmail-na">value=</span><span class="gmail-m_-5936194478469772823gmail-s">"myauth"</span><span class="gmail-m_-5936194478469772823gmail-nt">/></span>
                <span class="gmail-m_-5936194478469772823gmail-nt"><option</span> <span class="gmail-m_-5936194478469772823gmail-na">name=</span><span class="gmail-m_-5936194478469772823gmail-s">"allow_duplicate_users"</span> <span class="gmail-m_-5936194478469772823gmail-na">value=</span><span class="gmail-m_-5936194478469772823gmail-s">"0"</span><span class="gmail-m_-5936194478469772823gmail-nt">/></span>
        <span class="gmail-m_-5936194478469772823gmail-nt"></authentication></span>
<span class="gmail-m_-5936194478469772823gmail-nt"></mount></span></code><br><br>I restarted the icecast server as:<br>sudo /etc/init.d/icecast2 restart<br></pre><pre>I tried to add a username/password to the /example.ogg stream and I get the following message in the error.log file:<br>[2018-10-27  01:11:26] INFO admin/admin_handle_request Received admin command manageauth.xsl on mount "/example.ogg"<br>[2018-10-27  01:11:26] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of myauth<br>[2018-10-27  01:11:26] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "myauth": Permission denied<br><br></pre><pre>Can someone please advice whree is the database "myauth" written to, so I can verify that directory has the correct permissions?<br><br></pre><pre>Thanks in advance.<br><br></pre><pre>Jayesh<br></pre></div></div></div></div>