| View previous topic :: View next topic |
| Author |
Message |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Mon Oct 25, 2010 8:33 pm Post subject: Ices-04 running, IceCast 2.3 reading, but not sending. |
|
|
Hello! everyone at here,
And especially, I thank you, karlH, for all the help last week. Now both Ices-cc-04 (Centova.com version) and IceCast 2.3 are running like daemons, but IceCast error log suggsted me "Reading, but not Sending".
Also, the simple host and 8000 port access returns in an access error.
I post a couple of running proofs and error logs, so, will you take a look at them? Any please suggest me any further debug probe. Thanks.
ices-cc-0.4
| Code: |
~
biwa$ices -v -B
Into the land of the dreaded daemons we go... (pid: 30917)
~
biwa$ps -ef | grep ices
mkido 30917 1 0 20:28 ? 00:00:00 ices -v -B
mkido 30922 30879 0 20:28 pts/0 00:00:00 grep ices
~
biwa$
|
==================================================
| Code: |
/tmp
biwa$more ices.*
::::::::::::::
ices.cue
::::::::::::::
/home/mkido/2010-10.en_01_02_02.mp3
5292658
192
0:0:3:40
17.103240
1
Jules_Verne en 01_02_02
::::::::::::::
ices.log
::::::::::::::
Logfile opened
DEBUG: Sending following information to libshout:
DEBUG: Stream: 0
DEBUG: Host: 127.0.0.1:8000 (protocol: http)
DEBUG: Mount: /ices, Password: source7844
DEBUG: Name: Default stream URL: http://localhost/
DEBUG: Genre: Default genre Desc: Default description
DEBUG: Bitrate: 128 Public: 0
DEBUG: Dump file: (null)
DEBUG: Initializing playlist handler...
DEBUG: Initializing builting playlist handler...
DEBUG: Randomizing playlist
DEBUG: Startup complete
DEBUG: Builtin playlist handler serving: /home/mkido/2010-10.en_01_02_02.mp3
DEBUG: Filename cleaned up from [/home/mkido/2010-10.en_01_02_02.mp3] to [2010-10.en_01_02_02]
DEBUG: ID3v2: version 2.0. Tag size is 31 bytes.
DEBUG: ID3v2: Title found: Jules_Verne en 01_02_02
DEBUG: MPEG-1 layer III, 192 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0 Mode_Ext: 0 Copyright: 0 Original: 0
DEBUG: Error Protection: 1 Emphasis: 0 Padding: 1
Playing /home/mkido/2010-10.en_01_02_02.mp3
DEBUG: Updated metadata on /ices to: Jules_Verne en 01_02_02
Mounted on http://127.0.0.1:8000/ices
DEBUG: Delaying metadata update...
DEBUG: Updated metadata on /ices to: Jules_Verne en 01_02_02
::::::::::::::
ices.pid
::::::::::::::
1663
/tmp
biwa$
|
/var/log/icecast/error.log
==================================================
| Code: |
[2010-10-25 13:06:18] INFO main/main Icecast 2.3.1 server started
[2010-10-25 13:06:18] DBUG yp/yp_recheck_config Updating YP configuration
[2010-10-25 13:06:18] INFO stats/_stats_thread stats thread started
[2010-10-25 13:06:18] INFO fserve/fserv_thread_function file serving thread started
[2010-10-25 13:06:18] INFO yp/yp_update_thread YP update thread started
[2010-10-25 13:06:18] INFO auth/auth_run_thread Authentication thread started
[2010-10-25 13:06:19] DBUG slave/_slave_thread checking master stream list
[2010-10-25 13:08:20] DBUG slave/_slave_thread checking master stream list
[2010-10-25 13:10:21] DBUG slave/_slave_thread checking master stream list
[2010-10-25 13:10:55] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2010-10-25 13:10:55] DBUG admin/admin_handle_request Got command (metadata)
[2010-10-25 13:10:55] WARN admin/admin_handle_request Admin command metadata on non-existent source /ices
[2010-10-25 13:10:55] DBUG fserve/fserve_add_client Adding client to file serving engine
[2010-10-25 13:10:55] INFO connection/_handle_source_request Source logging in at mountpoint "/ices"
[2010-10-25 13:10:55] DBUG connection/connection_complete_source sources count is 0
[2010-10-25 13:10:55] DBUG source/source_apply_mount Applying mount information for "/ices"
[2010-10-25 13:10:55] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2010-10-25 13:10:55] DBUG source/source_update_settings public set to 0
[2010-10-25 13:10:55] DBUG source/source_update_settings max listeners to -1
[2010-10-25 13:10:55] DBUG source/source_update_settings queue size to 524288
[2010-10-25 13:10:55] DBUG source/source_update_settings burst size to 65535
[2010-10-25 13:10:55] DBUG source/source_update_settings source timeout to 10
[2010-10-25 13:10:55] DBUG source/source_update_settings fallback_when_full to 0
[2010-10-25 13:10:55] DBUG connection/connection_complete_source source is ready to start
[2010-10-25 13:10:55] DBUG fserve/fserve_add_client_callback Adding client to file serving engine
[2010-10-25 13:10:55] DBUG source/source_init Source creation complete
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node clients (1)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node connections (1)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node clients (2)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node connections (2)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node client_connections (1)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node sources (1)
[2010-10-25 13:10:55] DBUG stats/process_source_event new source stat /ices
[2010-10-25 13:10:55] DBUG stats/process_source_event new node public (0)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node server_name (Default stream)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node server_description (Default description)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node server_url (http://localhost/)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node genre (Default genre)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node server_type (audio/mpeg)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node max_listeners (unlimited)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node clients (1)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node source_ip (127.0.0.1)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node user_agent (ices/0.4.1 libshout/2.2.2)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node source_client_connections (1)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node listeners (0)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node bitrate (128)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node audio_info (bitrate=128)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node listenurl (http://localhost:8000/ices)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node source_total_connections (1)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node slow_listeners (0)
[2010-10-25 13:10:55] DBUG stats/modify_node_event update node listeners (0)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node listener_peak (0)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node stream_start (Mon, 25 Oct 2010 13:10:55 -0400)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node total_bytes_read (0)
[2010-10-25 13:10:55] DBUG stats/process_source_event new node total_bytes_sent (0)
[2010-10-25 13:10:56] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2010-10-25 13:10:56] DBUG admin/admin_handle_request Got command (metadata)
[2010-10-25 13:10:56] INFO admin/admin_handle_request Received admin command metadata on mount "/ices"
[2010-10-25 13:10:56] DBUG admin/command_metadata Got metadata update request
[2010-10-25 13:10:56] INFO admin/command_metadata Metadata on mountpoint /ices changed to "Jules_Verne en 01_02_02"
[2010-10-25 13:10:56] DBUG fserve/fserve_add_client Adding client to file serving engine
[2010-10-25 13:10:56] DBUG stats/modify_node_event update node clients (2)
[2010-10-25 13:10:56] DBUG stats/modify_node_event update node connections (3)
[2010-10-25 13:10:56] DBUG stats/modify_node_event update node client_connections (2)
[2010-10-25 13:10:56] DBUG stats/modify_node_event update node clients (1)
[2010-10-25 13:10:56] DBUG stats/process_source_event new node title (Jules_Verne en 01_02_02)
[2010-10-25 13:11:00] DBUG stats/modify_node_event update node total_bytes_read (110600)
[2010-10-25 13:11:00] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:05] DBUG stats/modify_node_event update node total_bytes_read (229600)
[2010-10-25 13:11:05] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:10] DBUG stats/modify_node_event update node total_bytes_read (352800)
[2010-10-25 13:11:10] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:15] DBUG stats/modify_node_event update node total_bytes_read (471800)
[2010-10-25 13:11:15] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:20] DBUG stats/modify_node_event update node total_bytes_read (590800)
[2010-10-25 13:11:20] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:25] DBUG stats/modify_node_event update node total_bytes_read (714000)
[2010-10-25 13:11:25] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:30] DBUG stats/modify_node_event update node total_bytes_read (831600)
[2010-10-25 13:11:30] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:35] DBUG stats/modify_node_event update node total_bytes_read (950600)
[2010-10-25 13:11:35] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:40] DBUG stats/modify_node_event update node total_bytes_read (1069600)
[2010-10-25 13:11:40] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:45] DBUG stats/modify_node_event update node total_bytes_read (1192800)
[2010-10-25 13:11:45] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:50] DBUG stats/modify_node_event update node total_bytes_read (1311800)
[2010-10-25 13:11:50] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:11:55] DBUG stats/modify_node_event update node total_bytes_read (1430800)
[2010-10-25 13:11:55] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:00] DBUG stats/modify_node_event update node total_bytes_read (1552600)
[2010-10-25 13:12:00] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:05] DBUG stats/modify_node_event update node total_bytes_read (1671600)
[2010-10-25 13:12:05] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:10] DBUG stats/modify_node_event update node total_bytes_read (1790600)
[2010-10-25 13:12:10] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:15] DBUG stats/modify_node_event update node total_bytes_read (1913800)
[2010-10-25 13:12:15] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:20] DBUG stats/modify_node_event update node total_bytes_read (2032800)
[2010-10-25 13:12:20] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:21] DBUG slave/_slave_thread checking master stream list
[2010-10-25 13:12:25] DBUG stats/modify_node_event update node total_bytes_read (2150400)
[2010-10-25 13:12:25] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2010-10-25 13:12:30] DBUG stats/modify_node_event update node total_bytes_read (2269400)
[2010-10-25 13:12:30] DBUG stats/modify_node_event update node total_bytes_sent (0)
[root@biwa icecast]#
|
|
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Mon Oct 25, 2010 8:39 pm Post subject: about hostname setting in icecast.xml. |
|
|
Because of this error, I reminded karl's comment, and I tried two ways of hostname in "icecast.xml", namely 64.214.83.249 or localhost. In either setting, the error.log of icecast shows the similar result. Reading but not sending.
mkido
| Code: |
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>64.214.83.249</hostname>
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->
=====================================================================================================
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>localhost</hostname>
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 25, 2010 8:40 pm Post subject: |
|
|
looks to be operating normally. All you need now is to connect a player
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Mon Oct 25, 2010 8:52 pm Post subject: thanks, karl, and how to? |
|
|
Hi karl, thanks, thanks, again.
"now is to connect a player "
How to connect a player? The simplest HTML codes Web page as below was placed in a test directory in the server, and clicking from a Firefox 2.x wasn't enough.
| Code: |
<html>
<p>
<a href="http://64.214.83.249:8000">http://64.214.83.249:8000</a>
</p>
</html>
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Mon Oct 25, 2010 10:03 pm Post subject: About "status.xsl" file. |
|
|
Hi! Dear karl,
I found "status.xsl" file at /usr/share/icecast/web/. I am not familiar with .XSL file, how to use it. It appears to generate a .HTML file by my quick study. When I placed "status.xsl" file in one of Web's HTML location, and I clicked the "status.xsl" file, it displayed almost HTML codes, rather than HTML page which is usually rendered by Firefox (if a file is .html).
Could you tell me briefly how to use "status.xsl" file? Or point me where to learn about it. Thanks.
mkido |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 25, 2010 10:24 pm Post subject: |
|
|
you do not need to change the xsl file, it is placed in the webroot directory so that icecast can see it and present a html page to the browser. I repeat, no changes are required.
When you do http://address:8000/ in a browser, the request for / is translated by the alias in the xml to /status.xsl. icecast sees the status.xsl file, fills in the details based on the stream you have connected and sends back a web page for the browser.
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Mon Oct 25, 2010 11:04 pm Post subject: I see. |
|
|
I see. "status.xsl" file stays at the original (the standard) location.
/usr/share/icecast/web/ do I understand correctly?
| Code: |
I repeat, no changes are required.
|
Your comment suggests that both location of file and inside content of "status.xsl" are not required to change. Do I understand correctly?
So, should I call the Address, Port, and (ices) from my regular HTML page as below? Do I understand correctly.
If everything is good, then http call is automatically access to "status.xsl" and present it into a html page? Do I undersand correctly?
| Code: |
<html>
<a href="http://64.214.83.249:8000/ices">To listen.</a>
</html>
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 26, 2010 12:42 am Post subject: |
|
|
The webroot is whatever you define in the icecast xml, If that is the path in webroot then that is where icecast will look for files when no streams match the specified request.
| Quote: |
| Your comment suggests that both location of file and inside content of "status.xsl" are not required to change. Do I understand correctly? |
yes, there is very little you have to change, this is key to make it run, this is also why you have done only minor changes, like the hostname
| Quote: |
<html>
<a href="http://64.214.83.249:8000/ices">To listen.</a>
</html> |
I think what you want to do here is put a link to a playlist, that way the browser can start a player. As I indicated before make the link ...../ices.m3u
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Tue Oct 26, 2010 1:08 am Post subject: Thanks, great! |
|
|
Great! karl,
Thank you always. I am getting by a step and a step into IceCast and Ices. Now I can recognize clearly <webroot>/usr/share/icecast/web</webroot> in icecast.xml file.
Now, I won't touch at all "status.xsl" file.
Because http://64.214.83.249:8000/ nor http://64.214.83.249:8000/ices have started a player yet. So, I will try the link of http://64.214.83.249:8000/ices.m3u, a little bit later.
Should I need to create a .m3u file somewhere, or adjust accordingly on a configuration file? Excuse me, a newbie is so vague at each step. Thanks, in advance.
mkido |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 26, 2010 1:23 am Post subject: |
|
|
no, the m3u link is automatically handled.
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Tue Oct 26, 2010 3:23 pm Post subject: Well, still not yet. |
|
|
H! everyone and karl, how are you today? I feel great with your help.
As before, ices is working, and icecast is running, and reading mp3 files all the time like a daemon.
Unfortunately, I haven't gotten yet from firefox. My impression is that the port 8000 hasn't responded. Nor port 8000/ices did't reply well. It appears before the player issue. I tried to revise a HTTPdaemon configuration file (/etc/httpd/conf/http.conf) to make 8000 port listened, by adding a line "Listen 8000" after "Listen 80", then it complained that 8000 port is already in use by "make sock". Well, I will post the firefox's error snaps here. Any possible debug, or any probe idea? Thanks.
firefox can't establish a connection to the server at 64.214.83.249:8000
firefox can't establish a connection to the server at 64.214.83.249:8000/ices
 |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 26, 2010 3:44 pm Post subject: |
|
|
If http://64.214.83.249:8000 is not connecting from an external address then check 2 things, the server is running and is listening on port 8000 and that you are forwarding external requests to the internal address. Obviously the latter will not apply if you try an internal address from within the LAN which you do have not reported yet.
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Tue Oct 26, 2010 4:04 pm Post subject: listening on port 8000 |
|
|
yes, server is running,
| Quote: |
| is listening on port 8000 |
what is a good command to see whether the server is listening on port 8000?
mkido |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 26, 2010 5:07 pm Post subject: |
|
|
netstat -tnlp | grep 8000
karl. |
|
| Back to top |
|
 |
|