| View previous topic :: View next topic |
| Author |
Message |
discocop
Joined: 11 Oct 2008 Posts: 1
|
Posted: Sat Oct 11, 2008 8:16 pm Post subject: Mount-Authentication error |
|
|
Hey,
I've installed Icecast 2.3.2 on a Linux system and configured a mount point using the documentation. My code in icecast.xml looks like this:
| Code: |
<mount>
<mount-name>/demo.aac</mount-name>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
|
I can connect the streaming software with the server and want to set up users which are allowed to listen to that stream. So I've gone to the admin site where I can "Add New User" for that mount. If I will do that I get the error "User add failed - check the icecast error log". So I've checked the logs where I get the following error:
| Code: |
[2008-10-11 22:11:15] DBUG admin/admin_handle_request Admin request (/admin/manageauth.xsl)
[2008-10-11 22:11:15] DBUG admin/admin_handle_request Got command (manageauth.xsl)
[2008-10-11 22:11:15] INFO admin/admin_handle_request Received admin command manageauth.xsl on mount "/demo.aac"
[2008-10-11 22:11:15] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of myauth
[2008-10-11 22:11:15] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "myauth": Permission denied
[2008-10-11 22:11:15] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of myauth
[2008-10-11 22:11:15] DBUG admin/admin_send_response Sending XSLT (/usr/share/icecast/admin/manageauth.xsl) |
Ok I see failed to check/open authentication database "myauth". But what does that mean? Are there no rights on a specific file(myauth)? That can't happen cause the docu means that the myauth file needn't to be add before adding users. Where is the myauth file situated, cause I would chechk the rights, or do I think on a wrong way? What could I do? Any ideas, help?
Thanks and nice WE
discocop |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Oct 12, 2008 12:31 am Post subject: |
|
|
seeing that you haven't provided a path for myauth then it would be in the current directory which probably has no write permission for the user running icecast.
karl. |
|
| Back to top |
|
 |
|