View previous topic :: View next topic |
Author |
Message |
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Fri Oct 10, 2008 12:45 pm Post subject: Icecast-kh : unable to do master-relay |
|
|
Hello everybody,
I've set up a master-relay configuration with icecast2 on a debian etch 32bits server.
If i use icecast.debian as a master, and kh as relays, it works (but sometimes the master crash/some bugs). If i use kh as master and relay, the relay seems to simply not send relay requests to the master.
I've tried several versions of icecast-kh (kh2, kh32, kh34), with same or different versions for master and relay.
Does anybody have an idea about the problem? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 10, 2008 2:05 pm Post subject: |
|
|
not without seeing the xml and log files. those combinations should work fine, although I did fix a possible crash bug in kh2 as slave
karl. |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Fri Oct 10, 2008 2:50 pm Post subject: |
|
|
For the master : (obviously, the real pass/users/domains have been changed)
Code: |
<icecast>
<limits>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-size>65535</burst-size>
</limits>
<authentication>
<admin-user>admin</admin-user>
<admin-password>toto</admin-password>
<relay-user>liverelay</relay-user>
<relay-password>blabla</relay-password>
</authentication>
<hostname>master</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<mount>
<mount-name>/test.ogg</mount-name>
<username>test</username>
<password>passTest</password>
<authentication type="url">
<option name="mount_add" value="http://liveauth.domain.com/"/>
<option name="mount_remove" value="http://liveauth.domain.com/"/>
<option name="listener_add" value="http://liveauth.domain.com/"/>
<option name="listener_remove" value="http://liveauth.domain.com/"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
</mount>
<paths>
<basedir>/usr/share/icecast2</basedir>
<logdir>/var/log/icecast2</logdir>
<webroot>/etc/icecast2/webvs</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<pidfile>/usr/share/icecast2/icecast2.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>icecast-access_log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
<logarchive>0</logarchive>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast2</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
|
for the slave
Code: |
<icecast>
<limits>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<admin-user>admin</admin-user>
<admin-password>toto</admin-password>
</authentication>
<master-server>liveauth.domain.com</master-server>
<master-server-port>8000</master-server-port>
<master-update-interval>10</master-update-interval>
<master-username>liverelay</master-username>
<master-password>blabla</master-password>
<relays-on-demand>0</relays-on-demand>
<hostname>live2</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<mount>
<mount-name>/test.ogg</mount-name>
<on-connect>/root/streamOk.sh</on-connect>
<on-disconnect>/root/streamFail.sh</on-disconnect>
<authentication type="url">
<option name="listener_add" value="http://liveauth.domain.com/"/>
<option name="listener_remove" value="http://liveauth.domain.com/"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
</mount>
<paths>
<basedir>/usr/share/icecast2</basedir>
<logdir>/var/log/icecast2</logdir>
<webroot>/etc/icecast2/webvs</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<pidfile>/usr/share/icecast2/icecast2.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>icecast-access_log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>2</loglevel>
<logarchive>0</logarchive>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast2</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
|
For the log, as i said, nothing appears. I've already had troubles to relay streams, due to misconfigurations, but in this case, i've seen error messages. Here, it seems like the slave simply does not make the request to the master.
I'll try to make another test and provide the logs
Thanks
|
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 10, 2008 3:18 pm Post subject: |
|
|
is libcurl built into the slave?, also try with loglevel 4, the log can be big so you can email it or post a url to it.
karl. |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Fri Oct 10, 2008 3:26 pm Post subject: |
|
|
log of the master (kh2), please read from bottom to top (i used tac since the error log is too big) :
Code: |
[2008-10-10 16:54:47] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:46] DBUG stats/process_global_event update node on global "stream_kbytes_read" (2507)
[2008-10-10 16:54:46] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:45] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:45] DBUG stats/process_global_event update node on global "stream_kbytes_read" (2448)
[2008-10-10 16:54:45] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:44] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:44] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:44] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:44] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:44] DBUG admin/command_list_mounts List mounts request
[2008-10-10 16:54:44] INFO auth/auth_add_listener client connected as slave
[2008-10-10 16:54:44] DBUG stats/process_global_event update node on global "client_connections" (17)
[2008-10-10 16:54:44] DBUG connection/_handle_get_request start with /admin/streams
[2008-10-10 16:54:44] DBUG stats/process_global_event update node on global "connections" (19)
[2008-10-10 16:54:44] DBUG stats/process_global_event update node on global "clients" (3)
[2008-10-10 16:54:43] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "stream_kbytes_read" (2264)
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:41] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:41] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:41] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:41] DBUG admin/command_list_mounts List mounts request
[2008-10-10 16:54:41] INFO auth/auth_add_listener client connected as slave
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "client_connections" (16)
[2008-10-10 16:54:41] DBUG connection/_handle_get_request start with /admin/streams
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "connections" (18)
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "clients" (3)
[2008-10-10 16:54:41] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:40] DBUG stats/process_global_event update node on global "stream_kbytes_read" (2206)
[2008-10-10 16:54:40] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:39] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:39] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:39] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:39] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:39] DBUG admin/command_list_mounts List mounts request
[2008-10-10 16:54:39] INFO auth/auth_add_listener client connected as slave
[2008-10-10 16:54:39] DBUG stats/process_global_event update node on global "client_connections" (15)
[2008-10-10 16:54:39] DBUG connection/_handle_get_request start with /admin/streams
[2008-10-10 16:54:39] DBUG stats/process_global_event update node on global "connections" (17)
[2008-10-10 16:54:39] DBUG stats/process_global_event update node on global "clients" (3)
[2008-10-10 16:54:39] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:37] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:36] DBUG stats/process_global_event update node on global "stream_kbytes_read" (2014)
[2008-10-10 16:54:36] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:35] DBUG stats/process_global_event update node on global "stream_kbytes_read" (1950)
[2008-10-10 16:54:35] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:35] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:33] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:33] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:33] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:33] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:33] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:33] DBUG admin/command_list_mounts List mounts request
[2008-10-10 16:54:33] INFO auth/auth_add_listener client connected as slave
[2008-10-10 16:54:33] DBUG stats/process_global_event update node on global "client_connections" (14)
[2008-10-10 16:54:33] DBUG connection/_handle_get_request start with /admin/streams
[2008-10-10 16:54:33] DBUG stats/process_global_event update node on global "connections" (16)
[2008-10-10 16:54:33] DBUG stats/process_global_event update node on global "clients" (3)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "stream_kbytes_read" (1766)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:31] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:31] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:31] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:31] DBUG admin/command_list_mounts List mounts request
[2008-10-10 16:54:31] INFO auth/auth_add_listener client connected as slave
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "client_connections" (13)
[2008-10-10 16:54:31] DBUG connection/_handle_get_request start with /admin/streams
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "connections" (15)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "clients" (3)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "stream_kbytes_read" (1720)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:29] DBUG fserve/fserv_thread_function fserve handler exit
|
and for the slave :
Code: |
[2008-10-10 16:54:18] INFO main/main Icecast 2.3.2-kh2 server started
[2008-10-10 16:54:18] DBUG yp/yp_recheck_config Updating YP configuration
[2008-10-10 16:54:18] INFO slave/slave_startup max file descriptors 1024 (hard limit 1024)
[2008-10-10 16:54:18] INFO connection/connection_thread connection thread started
[2008-10-10 16:54:18] INFO connection/get_ssl_certificate No SSL capability on any configured ports
[2008-10-10 16:54:19] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:19] DBUG stats/process_global_event update node on global "connections" (1)
[2008-10-10 16:54:19] DBUG connection/_handle_get_request start with /test/images/ldscrn.jpg
[2008-10-10 16:54:19] DBUG stats/process_global_event update node on global "client_connections" (1)
[2008-10-10 16:54:19] INFO fserve/fserve_client_create checking for file /test/images/ldscrn.jpg (/etc/icecast2/webvs/test/images/ldscrn.jpg)
[2008-10-10 16:54:19] WARN fserve/fserve_client_create req for file "/etc/icecast2/webvs/test/images/ldscrn.jpg" No such file or directory
[2008-10-10 16:54:19] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:19] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:19] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:19] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:19] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:19] DBUG slave/streamlist_thread checking master stream list
[2008-10-10 16:54:20] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:20] DBUG stats/process_global_event update node on global "connections" (2)
[2008-10-10 16:54:20] DBUG connection/_handle_get_request start with /test/cortado640.jar
[2008-10-10 16:54:20] DBUG stats/process_global_event update node on global "client_connections" (2)
[2008-10-10 16:54:20] INFO fserve/fserve_client_create checking for file /test/cortado640.jar (/etc/icecast2/webvs/test/cortado640.jar)
[2008-10-10 16:54:20] DBUG stats/process_global_event update node on global "file_connections" (1)
[2008-10-10 16:54:20] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:20] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:21] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:21] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:21] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:21] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:21] DBUG stats/process_global_event update node on global "connections" (3)
[2008-10-10 16:54:21] DBUG connection/_handle_get_request start with /test.ogg
[2008-10-10 16:54:21] DBUG stats/process_global_event update node on global "client_connections" (3)
[2008-10-10 16:54:21] INFO auth/auth_add_listener adding client for authentication
[2008-10-10 16:54:21] DBUG auth/queue_auth_client starting auth thread 0
[2008-10-10 16:54:21] INFO auth/queue_auth_client auth on /test.ogg has 1 pending
[2008-10-10 16:54:21] INFO auth/auth_run_thread Authentication thread 1 started for /test.ogg
[2008-10-10 16:54:21] DBUG auth/auth_run_thread 1 client(s) pending on /test.ogg
[2008-10-10 16:54:21] DBUG auth_url/url_add_listener handler 1 sending request
[2008-10-10 16:54:21] DBUG auth_url/url_add_listener handler 1 request finished
[2008-10-10 16:54:21] INFO fserve/fserve_client_create checking for file /test.ogg (/etc/icecast2/webvs/test.ogg)
[2008-10-10 16:54:21] WARN fserve/fserve_client_create req for file "/etc/icecast2/webvs/test.ogg" No such file or directory
[2008-10-10 16:54:21] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:21] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:21] INFO auth/auth_new_listener client 2 failed
[2008-10-10 16:54:21] DBUG auth/auth_release ...refcount on auth_t /test.ogg is now 1
[2008-10-10 16:54:21] INFO auth/auth_run_thread Authenication thread 1 shutting down
[2008-10-10 16:54:21] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:21] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:22] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:22] DBUG stats/process_global_event update node on global "connections" (4)
[2008-10-10 16:54:22] DBUG connection/_handle_get_request start with /test.html
[2008-10-10 16:54:22] DBUG stats/process_global_event update node on global "client_connections" (4)
[2008-10-10 16:54:22] INFO fserve/fserve_client_create checking for file /test.html (/etc/icecast2/webvs/test.html)
[2008-10-10 16:54:22] DBUG stats/process_global_event update node on global "file_connections" (2)
[2008-10-10 16:54:22] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:22] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:22] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:22] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:23] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:25] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:26] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:26] DBUG stats/process_global_event update node on global "connections" (5)
[2008-10-10 16:54:26] DBUG connection/_handle_get_request start with /test.html
[2008-10-10 16:54:26] DBUG stats/process_global_event update node on global "client_connections" (5)
[2008-10-10 16:54:26] INFO fserve/fserve_client_create checking for file /test.html (/etc/icecast2/webvs/test.html)
[2008-10-10 16:54:26] DBUG stats/process_global_event update node on global "file_connections" (3)
[2008-10-10 16:54:26] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:26] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:26] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:26] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:27] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:27] DBUG stats/process_global_event update node on global "connections" (6)
[2008-10-10 16:54:27] DBUG connection/_handle_get_request start with /test/cortado640.jar
[2008-10-10 16:54:27] DBUG stats/process_global_event update node on global "client_connections" (6)
[2008-10-10 16:54:27] INFO fserve/fserve_client_create checking for file /test/cortado640.jar (/etc/icecast2/webvs/test/cortado640.jar)
[2008-10-10 16:54:27] DBUG stats/process_global_event update node on global "file_connections" (4)
[2008-10-10 16:54:27] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:27] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:27] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:27] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:27] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:28] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:28] DBUG stats/process_global_event update node on global "connections" (7)
[2008-10-10 16:54:28] DBUG connection/_handle_get_request start with /test/cortado640.jar
[2008-10-10 16:54:28] DBUG stats/process_global_event update node on global "client_connections" (7)
[2008-10-10 16:54:28] INFO fserve/fserve_client_create checking for file /test/cortado640.jar (/etc/icecast2/webvs/test/cortado640.jar)
[2008-10-10 16:54:28] DBUG stats/process_global_event update node on global "file_connections" (5)
[2008-10-10 16:54:28] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:28] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:28] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:28] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "connections" (8)
[2008-10-10 16:54:29] DBUG connection/_handle_get_request start with /test.html
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "client_connections" (8)
[2008-10-10 16:54:29] INFO fserve/fserve_client_create checking for file /test.html (/etc/icecast2/webvs/test.html)
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "file_connections" (6)
[2008-10-10 16:54:29] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:29] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:29] DBUG connection/_handle_get_request start with /test.ogg
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "client_connections" (10)
[2008-10-10 16:54:29] INFO auth/auth_add_listener adding client for authentication
[2008-10-10 16:54:29] DBUG auth/queue_auth_client max authentication handlers allocated
[2008-10-10 16:54:29] INFO auth/queue_auth_client auth on /test.ogg has 1 pending
[2008-10-10 16:54:29] DBUG auth_url/url_add_listener handler 1 request finished
[2008-10-10 16:54:29] INFO fserve/fserve_client_create checking for file /test.ogg (/etc/icecast2/webvs/test.ogg)
[2008-10-10 16:54:29] WARN fserve/fserve_client_create req for file "/etc/icecast2/webvs/test.ogg" No such file or directory
[2008-10-10 16:54:29] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:29] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:29] INFO auth/auth_new_listener client 8 failed
[2008-10-10 16:54:29] DBUG auth/auth_release ...refcount on auth_t /test.ogg is now 2
[2008-10-10 16:54:29] DBUG auth/auth_run_thread 1 client(s) pending on /test.ogg
[2008-10-10 16:54:29] DBUG auth_url/url_add_listener handler 1 sending request
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:29] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:29] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-10 16:54:29] DBUG slave/streamlist_thread checking master stream list
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "connections" (11)
[2008-10-10 16:54:30] DBUG connection/_handle_get_request start with /test/cortado640.jar
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "client_connections" (11)
[2008-10-10 16:54:30] INFO fserve/fserve_client_create checking for file /test/cortado640.jar (/etc/icecast2/webvs/test/cortado640.jar)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "file_connections" (7)
[2008-10-10 16:54:30] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:30] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:30] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "connections" (12)
[2008-10-10 16:54:30] DBUG connection/_handle_get_request start with /test/cortado640.jar
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "client_connections" (12)
[2008-10-10 16:54:30] INFO fserve/fserve_client_create checking for file /test/cortado640.jar (/etc/icecast2/webvs/test/cortado640.jar)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "file_connections" (8)
[2008-10-10 16:54:30] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:30] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:30] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "connections" (13)
[2008-10-10 16:54:30] DBUG connection/_handle_get_request start with /test/cortado640.jar
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "client_connections" (13)
[2008-10-10 16:54:30] INFO fserve/fserve_client_create checking for file /test/cortado640.jar (/etc/icecast2/webvs/test/cortado640.jar)
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "file_connections" (9)
[2008-10-10 16:54:30] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:30] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:30] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:30] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:31] DBUG auth_url/url_add_listener handler 1 request finished
[2008-10-10 16:54:31] INFO fserve/fserve_client_create checking for file /test.ogg (/etc/icecast2/webvs/test.ogg)
[2008-10-10 16:54:31] WARN fserve/fserve_client_create req for file "/etc/icecast2/webvs/test.ogg" No such file or directory
[2008-10-10 16:54:31] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:31] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:31] INFO auth/auth_new_listener client 9 failed
[2008-10-10 16:54:31] DBUG auth/auth_release ...refcount on auth_t /test.ogg is now 1
[2008-10-10 16:54:31] INFO auth/auth_run_thread Authenication thread 1 shutting down
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:31] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "connections" (14)
[2008-10-10 16:54:31] DBUG connection/_handle_get_request start with /test.html
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "client_connections" (14)
[2008-10-10 16:54:31] INFO fserve/fserve_client_create checking for file /test.html (/etc/icecast2/webvs/test.html)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "file_connections" (10)
[2008-10-10 16:54:31] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-10 16:54:31] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-10 16:54:31] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-10 16:54:31] DBUG stats/process_global_event update node on global "connections" (15)
[2008-10-10 16:54:31] DBUG connection/_handle_get_request start with /test/cortado640.jar
|
kh is built with libcurl. Actually, seeing the logs, it seems that the slave makes the request, but the master doesn't forward them to liveauth.mydomain.com (nothing appears in the logs of the server)
thanks |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 10, 2008 7:03 pm Post subject: |
|
|
I see the following
[2008-10-10 16:54:31] DBUG connection/_handle_get_request start with /admin/streams
so an attempt is being received but it looks like /test.ogg is not active on the master.
karl. |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Fri Oct 10, 2008 9:02 pm Post subject: |
|
|
Well, ok, but how can the stream not be present? i've a monitoring on the liveauth and it says that the stream is there. Actually i've not tried to see the stream directly on the master. I'll try on monday.
But if it's the case, why would the stream not be present on the master while it is configured?
thanks for the answers |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 10, 2008 10:27 pm Post subject: |
|
|
I can't say what the source client is doing, all I can go by is the master log and that does not indicate a stream is present, no stats updated for that mountpoint. The indications are that no stream is present on the master during that log snapshot and because of that, the slave does not see it either.
karl. |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Sat Oct 11, 2008 6:49 am Post subject: |
|
|
Ok, but the only difference is that the server is not the same. When it works it's the debian (i suppose main branch of icecast) version, and when it doesn't, it's the KH version. Everything else does'nt change.
The streaming source is a box that use a soft that we made and that use libshout to contact the master and send the stream. Is there any known incompatibility?
thanks |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Oct 11, 2008 12:39 pm Post subject: |
|
|
If there is an issue then I would need details. The original question was about the slave not relaying stream and for the the log indicates that there is no stream. If the question is why is the stream being rejected from the master then you'll need to check the log again at the point where the source client connects
karl. |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Wed Oct 15, 2008 12:00 pm Post subject: |
|
|
Ok, i've set up a new master and a new slave (icecast2-kh2). Their configurations are the same i gave in my second post (except that i've removed the authentification from liveauth.domain.com).
Here are the logs on the master :
* when the stream stops :
Code: |
[2008-10-15 13:50:59] INFO source/get_next_buffer End of Stream /test.ogg
[2008-10-15 13:50:59] INFO source/source_shutdown Source "/test.ogg" exiting
[2008-10-15 13:50:59] DBUG stats/process_global_event update node on global "stream_kbytes_sent" (0)
[2008-10-15 13:50:59] DBUG stats/process_global_event update node on global "stream_kbytes_read" (49128)
[2008-10-15 13:50:59] DBUG stats/process_source_event delete source node /test.ogg
[2008-10-15 13:50:59] DBUG source/source_clear_source clearing source "/test.ogg"
[2008-10-15 13:50:59] DBUG stats/process_global_event update node on global "clients" (0)
[2008-10-15 13:50:59] DBUG format-ogg/format_ogg_free_headers releasing header pages
[2008-10-15 13:50:59] DBUG format-ogg/free_ogg_codecs freeing codecs
[2008-10-15 13:50:59] DBUG format-vorbis/vorbis_codec_free freeing vorbis codec
[2008-10-15 13:50:59] DBUG format-theora/theora_codec_free freeing theora codec
[2008-10-15 13:50:59] WARN source/source_clear_source buffer is 2
[2008-10-15 13:50:59] DBUG stats/process_global_event update node on global "sources" (0)
[2008-10-15 13:50:59] DBUG source/source_free_source freeing source "/test.ogg"
[2008-10-15 13:50:59] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-15 13:50:59] DBUG stats/process_global_event update node on global "connections" (44)
|
* when the stream comes back :
Code: |
[2008-10-15 13:51:04] INFO connection/_handle_source_request Source logging in at mountpoint "/test.ogg"
[2008-10-15 13:51:04] DBUG connection/connection_complete_source sources count is 0
[2008-10-15 13:51:04] DBUG stats/process_global_event update node on global "sources" (1)
[2008-10-15 13:51:04] DBUG stats/process_source_event new source stat /test.ogg
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "listenurl" (http://master:8000/test.ogg)
[2008-10-15 13:51:04] INFO source/source_apply_mount Applying mount information for "/test.ogg"
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "listener_peak" (0)
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings filter for theora is 0
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings metadata via url is 0
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings oggpassthrough is 0
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings admin_comments_only is 0
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "public" (0)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "server_name" (no name)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "genre" (various)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "server_type" (application/ogg)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "authenticator" (url)
[2008-10-15 13:51:04] DBUG source/source_update_settings max listeners to -1
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "max_listeners" (-1)
[2008-10-15 13:51:04] DBUG source/source_update_settings public set to 0
[2008-10-15 13:51:04] DBUG source/source_update_settings queue size to 524288
[2008-10-15 13:51:04] DBUG source/source_update_settings burst size to 65535
[2008-10-15 13:51:04] DBUG source/source_update_settings source timeout to 10
[2008-10-15 13:51:04] DBUG connection/connection_complete_source source is ready to start
[2008-10-15 13:51:04] DBUG fserve/fserve_add_client_callback Adding client to file serving engine
[2008-10-15 13:51:04] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "source_ip" (192.168.10.80)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "user_agent" (libshout/2.2.2)
[2008-10-15 13:51:04] DBUG fserve/fserv_thread_function fserve handler exit
[2008-10-15 13:51:04] DBUG stats/process_global_event update node on global "source_client_connections" (2)
[2008-10-15 13:51:04] DBUG stats/process_global_event update node on global "source_total_connections" (2)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "slow_listeners" (0)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "listener_connections" (0)
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "stream_start" (Wed, 15 Oct 2008 13:51:04 +0200)
[2008-10-15 13:51:04] DBUG source/source_init Source creation complete
[2008-10-15 13:51:04] INFO source/source_apply_mount Applying mount information for "/test.ogg"
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings filter for theora is 0
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings metadata via url is 0
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings oggpassthrough is 0
[2008-10-15 13:51:04] DBUG format-ogg/apply_ogg_settings admin_comments_only is 0
[2008-10-15 13:51:04] DBUG source/source_update_settings max listeners to -1
[2008-10-15 13:51:04] DBUG source/source_update_settings public set to 0
[2008-10-15 13:51:04] DBUG source/source_update_settings queue size to 524288
[2008-10-15 13:51:04] DBUG source/source_update_settings burst size to 65535
[2008-10-15 13:51:04] DBUG source/source_update_settings source timeout to 10
[2008-10-15 13:51:04] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:51:04] INFO source/process_listeners listener count on /test.ogg now 0
[2008-10-15 13:51:04] DBUG stats/process_source_event new node on /test.ogg "listeners" (0)
[2008-10-15 13:51:04] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-15 13:51:04] DBUG stats/process_global_event update node on global "connections" (46)
|
* when the slave connects :
Code: |
[2008-10-15 13:56:01] DBUG stats/process_global_event update node on global "clients" (2)
[2008-10-15 13:56:01] DBUG stats/process_global_event update node on global "connections" (106)
[2008-10-15 13:56:01] DBUG connection/_handle_get_request start with /admin/streams
[2008-10-15 13:56:01] DBUG stats/process_global_event update node on global "client_connections" (104)
[2008-10-15 13:56:01] INFO auth/auth_add_listener client connected as slave
[2008-10-15 13:56:01] DBUG admin/command_list_mounts List mounts request
[2008-10-15 13:56:01] DBUG fserve/fserve_add_client_mount Adding client to file serving engine
[2008-10-15 13:56:01] DBUG fserve/fserve_add_pending fserve handler waking up
[2008-10-15 13:56:01] DBUG stats/process_global_event update node on global "clients" (1)
[2008-10-15 13:56:01] DBUG fserve/fserv_thread_function fserve handler exit
|
And now, on the slave, when it connects :
Code: |
[2008-10-15 13:57:22] DBUG slave/streamlist_thread checking master stream list
[2008-10-15 13:57:23] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:25] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:28] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:30] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:32] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:32] DBUG slave/streamlist_thread checking master stream list
[2008-10-15 13:57:34] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:36] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:39] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:41] DBUG stats/process_global_event update node on global "outgoing_kbitrate" (0)
[2008-10-15 13:57:42] DBUG slave/streamlist_thread checking master stream list
|
I can read the stream on the master, but not on the slave (404 not available using vlc).
I don't understand what is wrong with my setup, since i've checked twice each configuration, version, etc. Thanks for any help on this! |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Mon Oct 20, 2008 9:58 am Post subject: |
|
|
nobody has an idea about this problem?
thanks for any help |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 20, 2008 12:58 pm Post subject: |
|
|
I did send an email for details so I could run a test locally.
karl. |
|
Back to top |
|
|
arghbis
Joined: 10 Oct 2008 Posts: 9
|
Posted: Tue Oct 21, 2008 9:52 am Post subject: |
|
|
I've send you a pm, since i did not receive your email.
If you send me another email, could you please also send me a pm, to check
thanks |
|
Back to top |
|
|
CandyBar
Joined: 26 Aug 2007 Posts: 5
|
Posted: Fri Oct 24, 2008 3:00 pm Post subject: |
|
|
I'm having a similar issue. Here is where I think the problem *may* lie.
In the logs of the master I see this:
Code: |
66.79.xx.xx - relay [24/Oct/2008:07:56:41 -0700] "GET /admin/streamlist.txt HTTP/1.0" 200 44 "-" "-" 0 |
If I visit /admin/streamlist.txt I get a blank page. Now if I visit /admin/streamlist I get xml of the streams.
KarlH is this the reason the relay won't pickup any streams? If so is there something we can do? Actually I'm going to try a redirect and see if that works.
*update
Well if i add the redirect the slave's request is rejected.
*update2
Ok, I made a list of the streams I want relayed in a text file and placed it in the icecast webroot /usr/local/share/icecast/web/streamlist.txt
Code: |
/stream
/live
/whatever |
Then I made an alias in the config:
Code: |
<paths>
<alias source="/admin/streamlist.txt" dest="/streamlist.txt"/>
</paths>
|
And now the relay works. Obviously this is a hack, but I have toyed with this about 12 hours now
*update3
The relay will work, but the master won't forward listeners to the relay. |
|
Back to top |
|
|
|