Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mount-Authentication error

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
discocop



Joined: 11 Oct 2008
Posts: 1

PostPosted: Sat Oct 11, 2008 8:16 pm    Post subject: Mount-Authentication error Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Oct 12, 2008 12:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber