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.
- 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
- Switch the service to Offline in the MediaCP
- Identify the processes running on the port
netstat -tulpn | grep 8000
- In this example, i can see that there is a process for icecast running on port 8000
- Now you can use the kill command and the proccess ID to terminate the remaining process
kill -9 30199;
- 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