<div dir="ltr">i'm trying to config the usr authentication <div>but when i goto add myself into the admin part </div><div>i get add user failed check log?</div><div><br></div><div>so i did and i'm getting this</div><div><br></div><div>[2023-02-28  00:46:16] INFO admin/admin.c Received admin command manageauth.xsl on mount "/live.mp3"<br>[2023-02-28  00:46:16] EROR auth_htpasswd/auth_htpasswd.c No filename given in options for authenticator.<br>[2023-02-28  00:46:16] EROR auth_htpasswd/auth_htpasswd.c No filename given in options for authenticator.<br>[2023-02-28  00:46:16] DBUG admin/admin.c Sending XSLT (./admin\manageauth.xsl)<br>[2023-02-28  00:46:16] DBUG xslt/xslt.c Using cached sheet 0<br></div><div><br></div><div><br></div><div>[2023-02-28  00:44:26] WARN auth/auth.c unknown auth setting (auth)<br>[2023-02-28  00:44:26] WARN auth/auth.c unknown auth setting (comment)<br>[2023-02-28  00:44:26] EROR auth_htpasswd/auth_htpasswd.c No filename given in options for authenticator.<br>[2023-02-28  00:44:26] EROR connection/connection.c Could not create listener socket on port 8080 bind my ip<br>[2023-02-28  00:44:26] EROR connection/connection.c Could not create listener socket on port 8081 bind my ip<br></div><div><br></div><div><br></div><div><br></div><div>now my config file is </div><div><br></div><div><icecast><br>  <!-- location and admin are two arbitrary strings that are e.g. visible<br>         on the server info page of the icecast web interface<br>         (server_version.xsl). --><br>  <location>United Kingdom</location><br>  <admin><a href="mailto:someemail@example.com">someemail@example.com</a></admin><br><br>  <!-- This is the hostname other people will use to connect to your server.<br>         It affects mainly the urls generated by Icecast for playlists and yp<br>         listings. You MUST configure it properly for YP listings to work!<br>    --><br>  <hostname>yourip/url</hostname><br><br>  <!-- IMPORTANT!<br>         Especially for inexperienced users:<br>         Start out by ONLY changing all passwords and restarting Icecast.<br>         For detailed setup instructions please refer to the documentation.<br>         It's also available here: <a href="http://icecast.org/docs/">http://icecast.org/docs/</a><br>    --><br><br>  <limits><br>    <clients>9000</clients><br>    <sources>2</sources><br>    <queue-size>524288</queue-size><br>    <client-timeout>30</client-timeout><br>    <header-timeout>15</header-timeout><br>    <source-timeout>10</source-timeout><br>    <!-- If enabled, this will provide a burst of data when a client <br>             first connects, thereby significantly reducing the startup <br>             time for listeners that do substantial buffering. However,<br>             it also significantly increases latency between the source<br>             client and listening client.  For low-latency setups, you<br>             might want to disable this. --><br>    <burst-on-connect>1</burst-on-connect><br>    <!-- same as burst-on-connect, but this allows for being more<br>             specific on how much to burst. Most people won't need to<br>             change from the default 64k. Applies to all mountpoints  --><br>    <burst-size>65535</burst-size><br>  </limits><br><br>  <authentication><br>    <!-- Sources log in with username 'source' --><br>    <source-password>somepass</source-password><br>    <!-- Relays log in with username 'relay' --><br>    <relay-password>somepass</relay-password><br><br>    <!-- Admin logs in with the username given below --><br>    <admin-user>admin</admin-user><br>    <admin-password>somepass</admin-password><br>  </authentication><br>  <br><br>  <!-- set the mountpoint for a shoutcast source to use, the default if not --><br>  <!-- specified is /stream but you can change it here if an alternative is --><br>  <!-- wanted or an extension is required --><br>  <shoutcast-mount>/stream</shoutcast-mount><br><br>  <directory><br>    <yp-url-timeout>15</yp-url-timeout><br>    <yp-url><a href="http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph.org/cgi-bin/yp-cgi</a></yp-url><br>  </directory><br><br>  <!-- You may have multiple <listener> elements --><br>  <listen-socket><br>    <port>someport</port><br>    <bind-address>someip</bind-address><br>  <shoutcast-mount>/stream</shoutcast-mount><br>    <tls>1</tls><br>        <ssl>1</ssl><br>  </listen-socket><br><br>  <listen-socket><br>    <port>8080</port><br>    <tls>1</tls><br>  </listen-socket><br><br>  <listen-socket><br>    <port>8080</port><br>    <tls>1</tls><br>  </listen-socket><br><br>  <listen-socket><br>    <port>8080</port><br>    <shoutcast-mount>/stream</shoutcast-mount><br>  </listen-socket><br><br>  <listen-socket><br>    <port>8080</port><br>  </listen-socket><br><br>  <listen-socket><br>    <port>8080</port><br>  </listen-socket><br><br>  <listen-socket><br>    <port>8080</port><br>    <ssl>1</ssl><br>  </listen-socket><br><br>  <!-- Global header settings <br>         Headers defined here will be returned for every HTTP request to Icecast.<br><br>         The ACAO header makes Icecast public content/API by default<br>         This will make streams easier embeddable (some HTML5 functionality needs it).<br>         Also it allows direct access to e.g. /status-json.xsl from other sites.<br>         If you don't want this, comment out the following line or read up on CORS. <br>    --><br>  <http-headers><br>    <header name="Access-Control-Allow-Origin" value="*" /><br>    <header name="X-Robots-Tag" value="index, noarchive" status="200" /><br>  </http-headers><br><br>  <!-- Relaying<br>         You don't need this if you only have one server.<br>         Please refer to the config for a detailed explanation.<br>    --><br>  <!--<master-server>127.0.0.1</master-server>--><br>  <!--<master-server-port>8001</master-server-port>--><br>  <!--<master-update-interval>120</master-update-interval>--><br>  <!--<master-password>hackme</master-password>--><br><br>  <!-- setting this makes all relays on-demand unless overridden, this is<br>         useful for master relays which do not have <relay> definitions here.<br>         The default is 0 --><br>  <!--<relays-on-demand>1</relays-on-demand>--><br><br>  <relay><br>    <server>someip</server><br>    <port>someport</port><br>    <mount>/coolvibes.ogg</mount><br>    <local-mount>/strawbs.ogg</local-mount><br>    <on-demand>0</on-demand><br><br>    <relay-shoutcast-metadata>0</relay-shoutcast-metadata><br>  </relay><br><br>  <!-- Mountpoints<br>         Only define <mount> sections if you want to use advanced options,<br>         like alternative usernames or passwords<br>    --><br><br>  <!-- Default settings for all mounts that don't have a specific --><br><br>  <mount type="normal"><br>    <mount-name>/live.mp3</mount-name><br>    <username>someusername</username><br>    <password>someexamplepass</password><br>    <max-listeners>900</max-listeners><br>    <max-listener-duration>3600</max-listener-duration><br>    <dump-file>/tmp/dump-example1.ogg</dump-file><br>    <intro>/intro.ogg</intro><br>    <fallback-mount>/stream.ogg</fallback-mount><br>    <fallback-override>1</fallback-override><br>    <fallback-when-full>1</fallback-when-full><br>    <charset>ISO8859-1</charset><br>    <public>1</public><br>    <stream-name>somestream</stream-name><br>    <stream-description>'hello'</stream-description><br>    <stream-url>someurl</stream-url><br>    <genre>World</genre><br>    <bitrate>160</bitrate><br>    <type>application/mp3</type><br>    <subtype>mp3</subtype><br>    <hidden>1</hidden><br>    <burst-size>65536</burst-size><br>    <mp3-metadata-interval>4096</mp3-metadata-interval><br>    <authentication type="htpasswd"><br>      <auth name="stream_auth" value="#" /><br>       <option name="allow_duplicate_users" value="1"/><br>      <!-- See authentication documentation --><br>    </authentication><br>    <http-headers><br>      <header name="Access-Control-Allow-Origin" value="*" /><br>      <header name="X-Robots-Tag" value="index, noarchive" /><br>      <header name="foo" value="bar" status="200" /><br>      <header name="Nelson" value="Ha-Ha!" status="404" /><br>    </http-headers><br>    <on-connect>/home/icecast/bin/source-start</on-connect><br>    <on-disconnect>/home/icecast/bin/source-end</on-disconnect><br>  </mount><br><br>  <fileserve>1</fileserve><br><br>    <paths><br>        <logdir>./log</logdir><br>        <webroot>./web</webroot><br>        <adminroot>./admin</adminroot><br><br>        <!-- Aliases: treat requests for 'source' path as being for 'dest' path<br>             May be made specific to a port or bound address using the "port"<br>             and "bind-address" attributes.<br>          --><br>        <!--<br>        <alias source="/foo" destination="/bar"/><br>        --><br>        <!-- Aliases: can also be used for simple redirections as well,<br>             this example will redirect all requests for http://server:port/ to<br>             the status page<br>        --><br>        <alias source="/" destination="/status.xsl"/><br>        <!-- The certificate file needs to contain both public and private part.<br>             Both should be PEM encoded.<br>        <ssl-certificate>./icecast.pem</ssl-certificate><br>        --><br>    </paths><br> <br>      <security><br>        <chroot>0</chroot><br><br>        <changeowner><br>            <user>user</user><br>            <group>users</group><br>        </changeowner><br><br>    </security><br><br>  <logging><br>        <accesslog>access.log</accesslog><br>        <errorlog>error.log</errorlog><br>        <!-- <playlistlog>playlist.log</playlistlog> --><br>        <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --><br>        <logsize>10000</logsize> <!-- Max size of a logfile --><br>        <!-- If logarchive is enabled (1), then when logsize is reached<br>             the logfile will be moved to [error|access|playlist].log.DATESTAMP,<br>             otherwise it will be moved to [error|access|playlist].log.old.<br>             Default is non-archive mode (i.e. overwrite)<br>        --><br>        <!-- <logarchive>1</logarchive> --><br>    </logging><br></icecast><br></div></div>