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 

All mounts use same password?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Sun Mar 04, 2012 9:37 pm    Post subject: All mounts use same password? Reply with quote

Hi all.

I'm having some issues in setting up different passwords for different mount points.

I have ices-cc connecting to /autodj - This only connects if I put 'aaaa' as the password, not 'cccc' which I expect it to be. /dj1 also only connects using aaaa, not bbbb.

It may be that I've completely set it up wrong, but I have /stream as the live mount, which is a relay of /dj1. This falls back to /autodj when no DJ is connected.

Code:
<icecast>
  <limits>
    <clients>100</clients>
    <sources>3</sources>
    <queue-size>524288</queue-size>
    <client-timeout>30</client-timeout>
    <header-timeout>15</header-timeout>
    <source-timeout>10</source-timeout>
  </limits>
  <authentication>
    <source-password>aaaa</source-password>
    <admin-user>admin</admin-user>
    <admin-password>notmypassword</admin-password>
  </authentication>
  <shoutcast-mount>/stream</shoutcast-mount>
  <directory>
    <yp-url-timeout>15</yp-url-timeout>
    <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
  </directory>
  <hostname>media.junglised.co.uk</hostname>
  <listen-socket>
    <port>8000</port>
  </listen-socket>
  <relay>
    <server>127.0.0.1</server>
    <port>8000</port>
    <mount>/dj1</mount>
    <local-mount>/stream</local-mount>
    <on-demand>0</on-demand>
    <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
  </relay>
  <mount>
    <mount-name>/stream</mount-name>
    <hidden>0</hidden>
    <no-yp>1</no-yp>
    <public>1</public>
  </mount>
  <mount>
    <mount-name>/dj1</mount-name>
    <password>bbbb</password>
    <max-listeners>100</max-listeners>
    <dump-file>/archive/%d_%m_%Y-%H%M_%S.mp3</dump-file>
    <fallback-mount>/autodj</fallback-mount>
    <fallback-override>1</fallback-override>
    <fallback-when-full>0</fallback-when-full>
    <hidden>1</hidden>
    <no-yp>1</no-yp>
  </mount>
  <mount>
    <mount-name>/audodj</mount-name>
    <password>cccc</password>
    <hidden>1</hidden>
    <no-yp>1</no-yp>
    <public>0</public>
  </mount>
  <fileserve>1</fileserve>
  <paths>
    <basedir>/usr/share/icecast</basedir>
    <logdir>/var/log/icecast</logdir>
    <webroot>/usr/share/icecast/web</webroot>
    <adminroot>/usr/share/icecast/admin</adminroot>
    <alias source="/" dest="/status.xsl"/>
  </paths>
  <logging>
    <accesslog>/access.log</accesslog>
    <errorlog>/error.log</errorlog>
    <loglevel>1</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    <logsize>10000</logsize> <!-- Max size of a logfile -->
  </logging>
  <security>
    <chroot>0</chroot>
      <changeowner>
        <user>icecast</user>
        <group>icecast</group>
      </changeowner>
   </security>
</icecast>
Back to top
View user's profile Send private message AIM Address
junglised



Joined: 30 Jun 2010
Posts: 25
Location: Wales, UK

PostPosted: Sun Mar 04, 2012 9:59 pm    Post subject: Reply with quote

It's as if it's ignoring half of my config file. I have /autodj set as hidden, yet it still shows on the front page before logging in as admin.
Back to top
View user's profile Send private message AIM Address
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 04, 2012 10:32 pm    Post subject: Reply with quote

if the xml is valid (looks ok here) then try increasing the log level to 4 and see what occurs when you connect up. make sure the connecting mountpoint matches the mount-name.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
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