[Icecast] Icecast is running, but not responding
zinphad at gmail.com
Thu Jul 7 16:56:19 UTC 2016
I work for a public radio station, and have setup several Icecast servers
in the past to stream our content. We have a new HD channel that we are
trying to stream, and the new server is vexing me.
This is a fresh dedicated server running RHEL 7.2 on a virtual system
running VMWare 6.1.
The install was done with the command yum --nogpgcheck localinstall
I copied the old icecast.xml file from my primary Icecast server, to save
some time, but when that did not work, I started again from scratch and
setup a very basic xml file, but that did not work either. The current
icecast.xml file (a bit redacted) is:
<!-- Sources log in with username 'source' -->
<!-- Relays log in username 'relay' -->
<!-- Admin logs in with the username given below -->
<alias source="/" dest="/status.xsl"/>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
When I run netstat -tnlp I get
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
So it's listening. But when I try to access it via my.ip.address:8000, it
times out. Also when I try to send audio from the encoder, it will not
connect. However, when I do a tcpdump -n -i eth0 tcp port 8000 while the
encoder is trying to hit it, I get
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
12:40:42.043018 IP encoder.ip.address.52497 > my.ip.address.irdmi: Flags
[S], seq 3183330347, win 8192, options [mss 1460,nop,wscale
8,nop,nop,sackOK], length 0
every couple of seconds. When trying to connect via web browser I get
12:43:38.625144 IP browser.ip.address.54947 > my.ip.address.irdmi: Flags
[S], seq 1526231377, win 8192, options [mss 1460,nop,nop,sackOK], length 0
So packets from both the browser and the encoder are getting to the server.
The error log from last night (when I last restarted it) reads
[2016-07-06 22:53:09] INFO main/main Icecast 2.4.2 server started
[2016-07-06 22:53:09] DBUG yp/yp_recheck_config Updating YP configuration
[2016-07-06 22:53:09] INFO yp/yp_update_thread YP update thread started
[2016-07-06 22:53:09] INFO connection/get_ssl_certificate No SSL
capability on any configured ports
[2016-07-06 22:53:10] DBUG slave/_slave_thread checking master stream list
The last line repeats every couple of minutes from there on.
Icecast was started using the command
systemctl start icecast.service
systemctl -l status icecast.service
Jul 06 22:53:09 servername.company.name icecast: Starting icecast2
Jul 06 22:53:09 servername.company.name icecast: Detaching from the
Jul 06 22:53:09 servername.company.name icecast: Changed groupid to
Jul 06 22:53:09 servername.company.name icecast: Changed
supplementary groups based on user: icecast.
Jul 06 22:53:09 servername.company.name icecast: Changed userid to
The icecast.service file is
Description=Icecast Network Audio Streaming Server
ExecStart=/usr/bin/icecast -b -c /etc/icecast.xml
ExecReload=/bin/kill -HUP $MAINPID
I am sure there is info that I did not think to include.
Any thought you have as to why this is happening are welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast