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 

NEw setup - No htpasswd auth options
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Tue Sep 01, 2009 11:17 am    Post subject: NEw setup - No htpasswd auth options Reply with quote

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 Smile

Thanks Embarassed
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 01, 2009 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Tue Sep 01, 2009 3:50 pm    Post subject: Reply with quote

No, its not seeing any authentication?

What would cause this?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 01, 2009 5:42 pm    Post subject: Reply with quote

either the xml was edited after the xml was read or the <mount> section containing the auth is commented out.

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



Joined: 03 Sep 2008
Posts: 42

PostPosted: Wed Sep 02, 2009 12:21 am    Post subject: Reply with quote

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



Joined: 21 Aug 2009
Posts: 60
Location: Virginia, USA

PostPosted: Wed Sep 02, 2009 2:18 pm    Post subject: Reply with quote

<mount-name>/darremh.nsv</mount-name>
<local-mount>/darrenh.nsv</local-mount>

Make sure to eliminate typos from your config...
Back to top
View user's profile Send private message Visit poster's website AIM Address
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Wed Sep 02, 2009 4:22 pm    Post subject: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 02, 2009 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Wed Sep 02, 2009 5:39 pm    Post subject: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 02, 2009 5:46 pm    Post subject: Reply with quote

change the log level to 4 and lets see what gets logged.

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



Joined: 03 Sep 2008
Posts: 42

PostPosted: Wed Sep 02, 2009 5:55 pm    Post subject: Reply with quote

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 02, 2009 8:14 pm    Post subject: Reply with quote

I should say, when the source connects.

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



Joined: 03 Sep 2008
Posts: 42

PostPosted: Thu Sep 03, 2009 10:47 am    Post subject: Reply with quote

that was with an active source
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 03, 2009 12:57 pm    Post subject: Reply with quote

I know, but I asked for when it connects. Where the source logs in and has the settings applied.

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



Joined: 21 Aug 2009
Posts: 60
Location: Virginia, USA

PostPosted: Thu Sep 03, 2009 3:08 pm    Post subject: Reply with quote

gazzagood, I'll just ask a dumb question: You did reload the configuration after fixing the typo, right?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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