Problem With airtime-liquidsoap
  • Hello, 
    Thanks for The Great System,, 
    Im having a Problem here, 
    im running a 24hrs Radio Station with Airtime System, 
    Suddenly & from Time to time am getting Radio OFF, No thing is running !!
    When i go to Airtime control panel to check the problem, 
    i find that On Air is not red and when checking Status i find Liquidsoap with red disabled icon,
    After Some time I get Streaming working again and after some hours or days i may have problem again and so on, '
    Is there a solution for all that ?

    Thanks
  • 43 Comments sorted by
  • Please Any Help, 
    My Radio is not working at all, 
    Liquidsoap is disabled, and i dont know what to do !
  • Hello, 
    Im looking forward any Help !
    Here is a snapshot of what i get in Airtime Control Panel
    On Air is not Red, & airtime-liquidsoap disabled

    800 x 600 - 105K
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    check log file at /var/log/airtime/pypo-liquidsoap folder
  • Thanks alot for your answer, 
    Just Checked it outm but really cant understand what to do 
    File Attached
    Thanks in advance
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    you can find in the log a lot of connection to icecast errors:
    2012/06/01 01:30:41 [airtime_64:2] Error while sending data: could not write data to host: Broken pipe in write()!


    It means you have poor network connection between airtime box and icecast server. Consult with your local ISP
  • Thanks for Your Help, 

    Please revise it again, 
    as i tried to add new stream line airtime_642, Rebooted server, restarted airtime-playout, changed permission of liquidsop.cfg to 644 ... while trying to find solutions, May be that changes Affected the problem ?

    or its Poor Network Connection Makes Liquidsoap Disabled ?
  • I just opened a new ticket to my VPS Hosting Company, 
    Asking them about The poor network Coinnection 
    They replied that no any problems with Connection, & my service is running perfect without any issues, 
    I just refreshed, and now still having nothing played and airtime-liquidsoap is disabled.. 
    when am trying to go to Icecast server status i can find nothing,
    please help, Radio is completely OFF !

    Thanks
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    if airtime and icebox are running on same vps then try to change ip address of icecast server to 127.0.0.1
  • I had everything running perfect untill yesterday,
    I didnt do anything, not changes, suddenly tried to listen and there is nothing streaming !

    Please just tell me more on how to change icecast server ip ? can i do it via terminal console ?

    Any Help would be appreciated to get Airtime running again 
    Thanks
  • Same Problem Nothing Happened !
    Still OFF with Liquid-soap Disabled and On Air is not Red yet !
    Any Help would be appreciated Please
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    see log files at /var/log/airtime/pypo (pypo-liquidsoap)

    check airtime status:
    sudo /usr/lib/airtime/utils/airtime-check-system

  • sudo /usr/lib/airtime/utils/airtime-check-system   OUTPUT


    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.18-274.18.1.el5.028stab098.1
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 1572864
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.0.3
    OS                             = Ubuntu 11.04 x86_64
    CPU                            = Intel(R) Xeon(R) CPU           X3450  @ 2.67GHz
    WEB_SERVER                     = Apache/2.2.17 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 7841
    PLAYOUT_ENGINE_RUNNING_SECONDS = 15
    PLAYOUT_ENGINE_MEM_PERC        = 1.0%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = -1
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = 1464
    MEDIA_MONITOR_RUNNING_SECONDS  = 10049
    MEDIA_MONITOR_MEM_PERC         = 0.9%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    RABBITMQ_PROCESS_ID            = 1528
    RABBITMQ_RUNNING_SECONDS       = 10049
    RABBITMQ_MEM_PERC              = 1.9%
    RABBITMQ_CPU_PERC              = 0.0%

    -- There appears to be a problem with your Airtime installation.


    Attached pypo Folder with log files.
    And pypo-liquidsoap Folder log file attached in previous reply.

    Thanks in advance, 
    Help is really Appreciated :)


  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team

    Karim Ali said:

    And pypo-liquidsoap Folder log file attached in previous reply.

    attach latest version instead
  • Attached
    Another Problem Now, I just can't login to Control Panel, 
    Everytime i put username and password, I got nothing except for login page, 
    Although minutes ago i was able to login to control panel !

    Thanks
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    you have attached same log file


  • its a new one, 
    Just created it right now !
    i didnt do any changes still having same problem !

    Thanks alot
  • Im having now severe problem, 
    I cant even login to Airtime Control Panel with my username and password, 
    everytime i put username and password i got login page again 
    Please Help, 
    Seems everything is just destroyed although i didnt do any changes !!
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team

    Karim Ali said:

    Im having now severe problem, 

    Seems everything is just destroyed although i didnt do any changes !!


    It seems you need to investigate this issue with hosting support. We can offer reliable Airtime.Pro service: http://www.sourcefabric.com/en/airtimepro/
  • Ok, 
    i figured the problem out, 
    I just checked Disk Space, and found that all 40GB is FULL with no Free Space, 
    Airtime is scheduling MP3's and duplicate files while takes more and more space, 
    on this vps am just running Airtime with nothing else 
    Thats Why I cant login to Control Panel, 

    Im not really interested in Airtime Pro at this moment, 
    I just need to know how to solve liquid-soap problem 
    Can u please let me know and help me 
    i did provide you with all log files u requested
    Help !
  • Hi Karim,

    Can you also post liquidsoap.cfg? please remove password field before you post it. Thank you
  • Thanks James for Your Help, 
    liquidsoap.cfg is Attached 
    Thanks alot
  • can u run "sudo service airtime-playout restart" and check pypo and liquidsoap after?
  • Hello, 
    This is the OUTPUT:
    Restarting Airtime Playout: start-stop-daemon: warning: failed to kill 24080: No such process
    Done.

    Liquidsoap is still Disabled, On Air not Red Yet !

    Thanks alot for your Help, 
    Im looking forward a solution to get station streaming again
  • sorry i meant post pypo and liquidsoap log after restart.
    Can you also post the ouput of "ps aux | grep pypo"?
    Thank you
  • Hello, 
    OutPut:
    pypo      7993  4.3  1.0  97316 15908 ?        Sl   19:44   0:00 python -u /usr/lib/airtime/pypo/bin/pypo-cli.py
    root      8163  0.0  0.0   6260   740 pts/0    S+   19:44   0:00 grep --color=auto pypo

    Pypo & Liquidsoap log files attached.

    Thanks
  • ok some how liquidsoap is not starting at all.
    So let's try to run it manually and see what happen.
    Please run this command:

    /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq

    and post output.
    Thank you.
  • /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap 

    -bash: /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap: Permission denied

    /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq 

    -bash: /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq: Permission denied

    I logged in with root.. 
    Thanks

  • That was one command and append "sudo" in front.

    sudo /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq
  • OUTPUT: 

    sudo: /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap: command not found

    ?

  • There is your problem. Somehow you don't have liquidsoap binary file anymore.
    What files are under /usr/lib/airtime/pypo/bin/liquidsoap_bin ?

  • Directory Attached as a snapshot, 
    Thanks
    800 x 600 - 360K
  • Well if the file is there then you should be able to run that file. Not sure why you get command not found.
    Can you access the folder from the terminal?
  • It is possible that the binary does not have the correct permissions to execute. You can check this with ls -l in a terminal window.
  • Hello,
    Thanks alot for your support,
    but i really don't know what to do,
    Please I need steps,
    Liquidsoap in Airtime Status is still Offline & On Air is not yet Red,
    Please Help on How to reactivate liquidsoap to reconnect to icecast,
    when am trying to reach icecast page for ths status and current song ip:8000
    i get nothing just the menu bar with no information
    is there any steps i can do to get airtime running again ?
  • You can check this with ls -l in a terminal window. 
    Just Checked and Get the following OutPut !

    ---------- 1 root root 6107433 May  7 01:57 /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap
    ---------- 1 pypo pypo    4223 Apr  3 21:50 /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq

  • Any Help !!
    Media is running on Airtime Control Panel 
    but no streaming !
  • Attached is SnapShot of The problem.
    Help Would be Appreciated !

    Thanks,
    800 x 600 - 116K
  • ---------- 1 root root 6107433 May  7 01:57 /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap
    ---------- 1 pypo pypo    4223 Apr  3 21:50 /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq

    From the output i can see both of files are not excutable nor readable.
    Please set the mode to 755 on liqudsoap binary file and 644 on ls_script.liq file.
    You need to also change the ownership of liquidsoap binary file to pypo.
  • WOW, 
    Worked I just changed modes and everything just worked !
    Thank you very very much, 
    but can u please just tell me how to change the ownership of liquidsoap binary file to pypo ??

    Thanks again, Really Thanks :)

    Another question please
    I got this directory /var/tmp/airtime/pypo/cache/scheduler filled with tons of GB everyday !
    Im running Airtime on 40GB VPS
    Within this directory I got no free space every one or two days, so i need to delete folders myself to make it work.
    can i disable that function that creates tons of mp3 files with alot of GBs in this directory ?

    Thanks

  • but can u please just tell me how to change the ownership of liquidsoap binary file to pypo ??

    chown pypo:pypo /path/to/liquidsoap_file. I'm not sure exactly what the problem is however and why you need to do this?

    As for the /var/tmp/airtime/pypo/cache/scheduler, you should be able to edit /etc/airtime/pypo.cfg to control how long files should be kept in cache. In Airtime 2.0, I believe the default was 24 hours.
    Airtime Pro Hosting: http://airtime.pro
  • If i set it to ZERO Would that affect Airtime Streaming 

    Thanks alot for your precious support :)
  • Setting it to one hour should be good.
    Airtime Pro Hosting: http://airtime.pro