[RESOLVED] LiquidSoap Stopped Working...
  • Hi all I'm using the newest IceCast 2.4-beta3 for Opus playback. Installation was simple and followed SourceFabric's guide on the subject.
    Now all of a sudden LiquidSoap is being crabby.

    Airtime Check is as follows:

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-042stab076.8
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 1048576
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.4.1
    OS                             = Debian GNU/Linux 6.0.7 (squeeze) i686
    CPU                            = Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz
    WEB_SERVER                     = Apache/2.2.16 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 658
    PLAYOUT_ENGINE_RUNNING_SECONDS = 1953
    PLAYOUT_ENGINE_MEM_PERC        = 1.1%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/10/16 03:08:47 [stdout:3] #     pypo notification gateway         #
    -- 2013/10/16 03:08:47 [stdout:3] #########################################
    -- 2013/10/16 03:18:35 [server:3] New client: localhost.localdomain.
    -- 2013/10/16 03:18:35 [lang:3] dynamic_source.get_id
    -- 2013/10/16 03:18:35 [server:3] Client localhost.localdomain disconnected.
    --
    --
    MEDIA_MONITOR_PROCESS_ID       = 915
    MEDIA_MONITOR_RUNNING_SECONDS  = 1952
    MEDIA_MONITOR_MEM_PERC         = 0.9%
    MEDIA_MONITOR_CPU_PERC         = 0.0%

    Also the AirTime dashboard reports the following:
    Airtime-LiquidSoap 0d 0h 0m 0% CPU 0.0MB Memory

    What's happening here and how can I coerce it back into working?

    Post edited by Holden Stanford at 2013-10-16 03:54:18
  • 4 Comments sorted by
  • Also found this if it's relevant

    root@login:~# service liquidsoap restart
    Stopping liquidsoap channels: no script found in /etc/liquidsoap
    Starting liquidsoap channels: no script found in /etc/liquidsoap
    root@login:~# cd /etc/liquidsoap
    root@login:/etc/liquidsoap# ls
    radio.liq.example
  • Sorry for so many posts, trying to cover all relevant information:

    root@login:/etc/liquidsoap# dpkg -l | grep liquidsoap
    ii  liquidsoap 1.1.1~squeeze~sfo-1 audio streaming language

  • Looks like a few things just needed a refresh after reboot.

    Did:
    sudo service airtime-liquidsoap restart
    sudo service rabbitmq-server restart

    I guess that's Debian Squeeze for ya! Marked resolved, hope this helps someone out there.

  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Holden, the reason why you get this message:

    service liquidsoap restart
    Stopping liquidsoap channels: no script found in /etc/liquidsoap

    is because /etc/init.d/liquidsoap is not used by Airtime, it's just the default Debian/Ubuntu init script which runs any Liquidsoap scripts that happen to be in /etc/liquidsoap (none by default).

    You will also see that /etc/init.d/airtime-liquidsoap runs as user and group 'pypo', the name of our playout engine, rather than as user and group 'liquidsoap'.

    Cheers!

    Daniel