View previous topic :: View next topic |
Author |
Message |
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Tue Sep 01, 2009 11:17 am Post subject: NEw setup - No htpasswd auth options |
|
|
in the admin there are no options to add users to authentication?
Mount Point : (/darrenh.nsv)
List Clients | Move MountPoints | Update Metadata | Kill Source
Thats the only options?
Config:
<mount>
<mount-name>/darremh.nsv</mount-name>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<relay>
<server>87.98.168.51</server>
<port>8250</port>
<mount>/</mount>
<local-mount>/darrenh.nsv</local-mount>
<on-demand>0</on-demand>
</relay>
Basic setup, just want to get it working and go from there!
Sorry to bug you guys again
Thanks |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Sep 01, 2009 1:59 pm Post subject: |
|
|
but you do have a lock symbol on the xsl page? If not then icecast is unaware of any auth being applied to the mountpoint.
karl. |
|
Back to top |
|
|
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Tue Sep 01, 2009 3:50 pm Post subject: |
|
|
No, its not seeing any authentication?
What would cause this? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Sep 01, 2009 5:42 pm Post subject: |
|
|
either the xml was edited after the xml was read or the <mount> section containing the auth is commented out.
karl. |
|
Back to top |
|
|
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Wed Sep 02, 2009 12:21 am Post subject: |
|
|
<mount>
<mount-name>/darremh.nsv</mount-name>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
and icecast has been reset? so it cant be not reading it? |
|
Back to top |
|
|
audiorapture
Joined: 21 Aug 2009 Posts: 60 Location: Virginia, USA
|
Posted: Wed Sep 02, 2009 2:18 pm Post subject: |
|
|
<mount-name>/darremh.nsv</mount-name>
<local-mount>/darrenh.nsv</local-mount>
Make sure to eliminate typos from your config... |
|
Back to top |
|
|
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Wed Sep 02, 2009 4:22 pm Post subject: |
|
|
my mistake,
<mount>
<mount-name>/darrenh.nsv</mount-name>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<relay>
<server>87.98.168.51</server>
<port>8250</port>
<mount>/</mount>
<local-mount>/darrenh.nsv</local-mount>
<on-demand>0</on-demand>
</relay>
sorted now and still not showing the authentication |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 02, 2009 5:17 pm Post subject: |
|
|
are you 100% sure that the mount section is not commented out, obviously we cannot tell from a fragment of xml. If that is the case then you'll need to send your full xml so that it can be checked against the parsing routines of 2.3.2.
karl. |
|
Back to top |
|
|
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Wed Sep 02, 2009 5:39 pm Post subject: |
|
|
<!-- This config file contains a minimal set of configurable parameters,
and mostly just contains the things you need to change. We created
this for those who got scared away from the rather large and heavily
commented icecast.xml.dist file. -->
<icecast>
<limits>
<sources>1</sources>
</limits>
<authentication>
<source-password></source-password>
<relay-password></relay-password>
<admin-user></admin-user>
<admin-password></admin-password>
</authentication>
<hostname>87.98.168.51</hostname>
<listen-socket>
<port>8150</port>
</listen-socket>
<mount>
<mount-name>/darrenh.nsv</mount-name>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<relay>
<server>87.98.168.51</server>
<port>8250</port>
<mount>/</mount>
<local-mount>/darrenh.nsv</local-mount>
<on-demand>0</on-demand>
</relay>
<fileserve>1</fileserve>
<paths>
<logdir>/etc/icecast2/logs</logdir>
<webroot>/etc/icecast2/web</webroot>
<adminroot>/etc/icecast2/admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast> |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 02, 2009 5:46 pm Post subject: |
|
|
change the log level to 4 and lets see what gets logged.
karl. |
|
Back to top |
|
|
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Wed Sep 02, 2009 5:55 pm Post subject: |
|
|
[2009-09-02 19:55:05] INFO fserve/fserve_client_create checking for file /corner_topright.jpg (/etc/icecast2/web/corner_topright.jpg)
[2009-09-02 19:55:05] WARN fserve/fserve_client_create req for file "/etc/icecast2/web/corner_topright.jpg" No such file or directory
[2009-09-02 19:55:05] DBUG fserve/fserve_add_client Adding client to file serving engine
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (1
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (19)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (20)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node file_connections (3)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (5)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (4)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (3)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (21)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (22)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (4)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node connections (23)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (5)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node connections (24)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (23)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node client_connections (24)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (4)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (3)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (2)
[2009-09-02 19:55:05] DBUG stats/modify_node_event update node clients (1)
[2009-09-02 19:55:07] DBUG stats/modify_node_event update node total_bytes_read (1204444)
[2009-09-02 19:55:07] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2009-09-02 19:55:12] DBUG stats/modify_node_event update node total_bytes_read (1284287)
[2009-09-02 19:55:12] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2009-09-02 19:55:17] DBUG stats/modify_node_event update node total_bytes_read (1364952)
[2009-09-02 19:55:17] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2009-09-02 19:55:22] DBUG stats/modify_node_event update node total_bytes_read (1444786)
[2009-09-02 19:55:22] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2009-09-02 19:55:27] DBUG stats/modify_node_event update node total_bytes_read (1525032)
[2009-09-02 19:55:27] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2009-09-02 19:55:32] DBUG stats/modify_node_event update node total_bytes_read (1604861)
[2009-09-02 19:55:32] DBUG stats/modify_node_event update node total_bytes_sent (0) |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 02, 2009 8:14 pm Post subject: |
|
|
I should say, when the source connects.
karl. |
|
Back to top |
|
|
gazzagood
Joined: 03 Sep 2008 Posts: 42
|
Posted: Thu Sep 03, 2009 10:47 am Post subject: |
|
|
that was with an active source |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Sep 03, 2009 12:57 pm Post subject: |
|
|
I know, but I asked for when it connects. Where the source logs in and has the settings applied.
karl. |
|
Back to top |
|
|
audiorapture
Joined: 21 Aug 2009 Posts: 60 Location: Virginia, USA
|
Posted: Thu Sep 03, 2009 3:08 pm Post subject: |
|
|
gazzagood, I'll just ask a dumb question: You did reload the configuration after fixing the typo, right? |
|
Back to top |
|
|
|