| View previous topic :: View next topic |
| Author |
Message |
Enforcer
Joined: 02 Jan 2010 Posts: 29
|
Posted: Sat Jan 02, 2010 8:58 pm Post subject: Listener authentication problem |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Jan 02, 2010 9:35 pm Post subject: |
|
|
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 |
|
 |
Enforcer
Joined: 02 Jan 2010 Posts: 29
|
Posted: Sat Jan 02, 2010 9:59 pm Post subject: |
|
|
| 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 |
|
 |
Enforcer
Joined: 02 Jan 2010 Posts: 29
|
Posted: Sat Jan 02, 2010 10:10 pm Post subject: |
|
|
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.  |
|
| Back to top |
|
 |
Enforcer
Joined: 02 Jan 2010 Posts: 29
|
Posted: Sat Jan 02, 2010 10:14 pm Post subject: |
|
|
Well, its OK now.
ICECAST folder was chown as root. I changed to icecast and all good.
Thanks  |
|
| Back to top |
|
 |
|