Service showing offline Kill and Restart Service

In some circumstances we find that the shoutcast or icecast process running on the port might have been "lost track of." This results in the service showing as offline despite being online and streaming, to resolve the problem you can terminate the process and then restarting from the control panel.

In the example below, we're using a service on port 8000; be sure to change port 8000 to the portbase that your service is utilizing.

  1. Install netstat on the system, it will be used to see which process is running on the port:
    # CentOS / Almalinux
    yum install net-tools

    or

    # Debian / Ubuntu
    apt install net-tools
  2. Switch the service to Offline in the MediaCP
  3. Identify the processes running on the port
    netstat -tulpn | grep 8000
  4. In this example, i can see that there is a process for icecast running on port 8000
  5. Now you can use the kill command and the proccess ID to terminate the remaining process
    kill -9 30199;
  6. Now restart the service from the MediaCP

If you find multiple services running into this issue and would prefer to complete this across all of your services you can use the commands on this page to kill all of the audio services then restart all the services: MediaCP System Commands 

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Media tracks or files placed directly in content is not detected

Media file information is processed and stored in the database which means that files placed in...

AutoDJ (liquidsoap) constantly switching between live and playout

Switching back and forth between a live dj connection and autodj media file playout can occur for...

Stream name from DJ is not displayed when broadcasting through AutoDJ

When broadcasting directly to a SHOUTcast or Icecast service the Stream name is displayed on the...

Collecting Liquidsoap AutoDJ log files

Should you experience difficulty with Liquidsoap AutoDJ then it is possible to enable, collect...

How to change AutoDJ audio format

If you would like to change the audio format AutoDJ transmits with, you can manage this by...