Resolve IssueWhen you are running multiple stations on your [Linux server] running [Icecast] with [Liquidsoap], you will need to start and stop each station alone.
The following demonstrates how to start the station, what errors you may encounter, and how to get past them and successfully start your station.
./daemonize-liquidsoap.sh 101.liqIf you get this error.
[opam switch]Unable to find liquidsoap binary in your path.
Run the following.
opam switch [opam env]If you see the following warning
[WARNING] The environment is not in sync with the current switch.
You will need to run the following code to sync with the current version.
eval $(opam env) [Start Station]After you have done the above, you should then be able to run the following line.
./daemonize-liquidsoap.sh 101.liqTo start your station.
sudo systemctl start 101.liq-liquidsoapTo get the status of your station to make sure it is running.
sudo systemctl status 101.liq-liquidsoap [CMD/Linux - ]The output of a successfully running station.
CFFCS |
|
CMD (Windows Command Prompt) | L (Linux)
101.liq-liquidsoap.service - 101.liq Liquidsoap daemon
Loaded: loaded (/etc/systemd/system/101.liq-liquidsoap.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-08-26 18:24:21 EDT; 19s ago
Docs: http://liquidsoap.fm/
Process: 29252 =/home/iceUser/.opam/default/bin/liquidsoap /home/iceUser/liquidsoap-daemon/s>
Main PID: 29266 (liquidsoap)
Tasks: 10 (limit: 2250)
Memory: 73.3M
CGroup: /system.slice/101.liq-liquidsoap.service
+-29266 /home/iceUser/.opam/default/bin/liquidsoap /home/iceUser/liquidsoap-daemon/script/10>
Aug 26 18:24:20 linuxcore-03 systemd[1]: Starting 101.liq Liquidsoap daemon...
Aug 26 18:24:21 linuxcore-03 systemd[1]: Started 101.liq Liquidsoap daemon.