LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   icecast problem with user addind for mount point (https://www.linuxquestions.org/questions/linux-software-2/icecast-problem-with-user-addind-for-mount-point-854660/)

sudhirmhrj 01-06-2011 12:21 PM

icecast problem with user addind for mount point
 
I want to configure icecast2 server with authentication in mount point so i did as was in help file but was not able to add user in htpasswd file

Please help....


config file details
=====================
<mount>
<mount-name>/live</mount-name>
<max-listeners>500</max-listeners>
<max-listener-duration>3600</max-listener-duration>
<charset>ISO8859-1</charset>
<public>1</public>
<stream-name>My audio stream</stream-name>
<stream-description>My audio description</stream-description>
<stream-url>http://202.70.88.138/live.m3u</stream-url>
<genre>live</genre>
<bitrate>64</bitrate>
<type>audio/mpeg</type>
<subtype>mp3</subtype>
<hidden>1</hidden>
<burst-size>65536</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>


error.log file details
=====================================================
[2011-01-06 23:55:27] INFO admin/admin_handle_request Received admin command manageauth.xsl on mount "/live"
[2011-01-06 23:55:27] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of myauth
[2011-01-06 23:55:27] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "myauth": Permission denied
[2011-01-06 23:55:27] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of myauth
[2011-01-06 23:55:27] INFO fserve/fserve_client_create checking for file /style.css (/usr/local/share/icecast/web/style.css)
[2011-01-06 23:55:27] INFO fserve/fserve_client_create checking for file /corner_topleft.jpg (/usr/local/share/icecast/web/corner_topleft.jpg)
[2011-01-06 23:55:27] INFO fserve/fserve_client_create checking for file /corner_bottomleft.jpg (/usr/local/share/icecast/web/corner_bottomleft.jpg)
[2011-01-06 23:55:30] INFO fserve/fserve_client_create checking for file /icecast.png (/usr/local/share/icecast/web/icecast.png)
[2011-01-06 23:55:30] INFO fserve/fserve_client_create checking for file /corner_topright.jpg (/usr/local/share/icecast/web/corner_topright.jpg)
[2011-01-06 23:55:30] INFO fserve/fserve_client_create checking for file /corner_bottomright.jpg (/usr/local/share/icecast/web/corner_bottomright.jpg)
auth_htpasswd

unSpawn 01-07-2011 08:43 AM

Quote:

Originally Posted by sudhirmhrj (Post 4215490)
Code:

[2011-01-06  23:55:27] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "myauth": Permission denied

The user icecast2 runs as has no read access on the "myauth" database.

sudhirmhrj 01-09-2011 12:20 PM

myauth database doesnot exist till now

sudhirmhrj 01-13-2011 09:07 AM

Solved

resetreset 01-14-2011 09:51 AM

hey..... so icecast still exists? :) are you setting up a radio station, sudhir? may I ask where? also, what is the difference, and why didn't you use Shoutcast?


All times are GMT -5. The time now is 04:51 PM.