[Icecast] unable to set username/password for a mount point
phschafft at de.loewenfelsen.net
Sat Oct 27 19:38:58 UTC 2018
On Sat, 2018-10-27 at 01:18 -0700, Jayesh Dalal wrote:
> I've icecast2 installed on Ubuntu 16.04 LTS and I can access it via
> I followed this document to add authentication:
> I added the following to /etc/icecast2/icecast.xml file:
> <authentication type="htpasswd">
> <option name="filename" value="myauth"/>
> <option name="allow_duplicate_users" value="0"/>
> 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?
The database is relative to Icecast's current working directory. As that
depends on what the init script does you can hard control that.
Therefore I suggest to use a absolute path for it.
I hope that helps!
With best regards,
Philipp Schafft (CEO/Geschäftsführer)
Telephon: +49.3535 490 17 92
Löwenfelsen UG (haftungsbeschränkt) Registration number:
Bickinger Straße 21 HRB 12308 CB
04916 Herzberg (Elster) VATIN/USt-ID:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: This is a digitally signed message part
More information about the Icecast