| View previous topic :: View next topic |
| Author |
Message |
rec91402
Joined: 14 Nov 2009 Posts: 32
|
Posted: Thu Sep 09, 2010 3:23 pm Post subject: Password/Secure mount setup |
|
|
I am trying to setup a mount to be password protected... I added:
| Code: |
<mount>
<mount-name>/*mount*</mount-name>
<authentication type="htpasswd">
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
|
to the xml config
killed and restarted IceCast (KILL -HUP pid would not take this config change???)
I just can not add users:
I get:
| Code: |
[2010-09-09 11:14:43] DBUG stats/modify_node_event update node connections (32)
[2010-09-09 11:14:43] DBUG admin/admin_handle_request Admin request (/admin/manageauth.xsl)
[2010-09-09 11:14:43] DBUG admin/admin_handle_request Got command (manageauth.xsl)
[2010-09-09 11:14:43] INFO admin/admin_handle_request Received admin command manageauth.xsl on mount "/*mount*"
[2010-09-09 11:14:43] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of (null)
[2010-09-09 11:14:43] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "(null)": Bad address
[2010-09-09 11:14:43] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of (null)
[2010-09-09 11:14:43] DBUG admin/admin_send_response Sending XSLT (/usr/local/share/icecast/admin/manageauth.xsl)
[2010-09-09 11:14:43] DBUG xslt/xslt_get_stylesheet Using cached sheet 0
[2010-09-09 11:14:43] DBUG fserve/fserve_add_client Adding client to file serving engine
[2010-09-09 11:14:43] DBUG stats/modify_node_event update node client_connections (25)
[2010-09-09 11:14:43] DBUG stats/modify_node_event update node clients (8)
[2010-09-09 11:14:45] DBUG stats/modify_node_event update node total_bytes_read (884183)
|
This looks to be a permissions issue,, so what file and where is IceCast trying to create its password file... so I chmod it?
I can add:
| Code: |
<option name="file" value="myauth"/>
|
Does this need to be a full path ala /some/dir/to/use/filename |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Sep 09, 2010 3:26 pm Post subject: |
|
|
I would advise using a full path, relative paths can work but it does depend on which directory you run icecast from. we could really do with a default filename there.
karl. |
|
| Back to top |
|
 |
|