CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • Unable to find liquidsoap_binary in your path.

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    3236
  • Date Created
    Thursday, August 26, 2021
  • Last Updated
    Thursday, August 26, 2021
  • This Article Has been Viewed
    408 times
  • Short Desc
    When running the ./daemonize-liquidsoap.sh, you may run into an issue with the system not finding the liquidsoap_binary. The information in this article can easily fix this issue.
  • Details
    If the system is not synced with the current version of OPAM, you will run into this issue of being
     
    Unable to find liquidsoap_binary in your path.
  • Recreate Issue
    The environment is not in sync with the current switch and will need to be updated to complete the start of your station.
  • Resolve Issue
    When 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 and what error you may face, and how to get past the error and successfully start your station.

    ./daemonize-liquidsoap.sh 101.liq
    If you get this error.
     
    Unable to find liquidsoap_binary in your path.

    Run the following.
    opam switch
    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)
    After you have done the above, you should then be able to run the following line.
    ./daemonize-liquidsoap.sh 101.liq
    To start your station.
    sudo systemctl start 101.liq-liquidsoap
    To get the status of your station to make sure it is running.
    sudo systemctl status 101.liq-liquidsoap
    The output of a successfully running station.


    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 ExecStart=/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.