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 

Listener authentication problem

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



Joined: 02 Jan 2010
Posts: 29

PostPosted: Sat Jan 02, 2010 8:58 pm    Post subject: Listener authentication problem Reply with quote

Hello.

I want to make a listener authentication.

I put the next text into icecast.xml:

<mount>
<mount-name>/vocaltrance_def</mount-name>
<authentication type="htpasswd">
<option name="icepass" value="/home/icecast/htpasswd"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>

It seems to be ok.
But I cant create users through 192.168.1.1:8000/admin

The error: User add failed - check the icecast error log

error.log file says:

[2010-01-02 22:30:12] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of (null)
[2010-01-02 22:30:12] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "(null)": Bad address
[2010-01-02 22:30:12] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of (null)

What's wrong? The icecast cant find the file (icepass). Am I right?

I created HTPASSWD folder. chown icecast, chmod 755.
I created even empty ICEPASS file, chown icecast, chmod 755.

I dont understand where is the mistake...
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 02, 2010 9:35 pm    Post subject: Reply with quote

there is no such option name called icepass. I think you meant to use

<option name="filename" value="/home/icecast/htpasswd" />

or maybe

<option name="filename" value="/home/icecast/icepass" />

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Enforcer



Joined: 02 Jan 2010
Posts: 29

PostPosted: Sat Jan 02, 2010 9:59 pm    Post subject: Reply with quote

karlH wrote:
there is no such option name called icepass. I think you meant to use

<option name="filename" value="/home/icecast/htpasswd" />

or maybe

<option name="filename" value="/home/icecast/icepass" />

karl.


Thank you very much! All fine ))))
Back to top
View user's profile Send private message
Enforcer



Joined: 02 Jan 2010
Posts: 29

PostPosted: Sat Jan 02, 2010 10:10 pm    Post subject: Reply with quote

Not yet ((((

Now I cant delete users.

Error:
[2010-01-03 00:07:20] WARN auth_htpasswd/htpasswd_deleteuser Failed to open temporary authentication database "/home/icecast/icepass.tmp": Permission denied

What is going on? What is the icepass.tmp file?
The permission is right. Because I can create new users.
Help please. Sad
Back to top
View user's profile Send private message
Enforcer



Joined: 02 Jan 2010
Posts: 29

PostPosted: Sat Jan 02, 2010 10:14 pm    Post subject: Reply with quote

Well, its OK now.
ICECAST folder was chown as root. I changed to icecast and all good.

Thanks Wink
Back to top
View user's profile Send private message
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