Problem with Liquidsoap...
  • Airtime seems like such a nice system, and I can't wait to get it working properly (a great alternative to ices0!). But I'm having quite a few issues on Ubuntu 10.04 (x86_64) VPS headless...

    Firstly, no audio files seem to be picked up by airtime, even ones uploaded by Airtime itself. Also, when loading the "stream" settings page, I get a:

    Can not connect to the streaming server

    Problem with Liquidsoap...


    Any ides? Below is the output of "airtime-check-system" - as you can see, there are many failed flags. Endless Googling didn't help, so I thought I'd ask here!


    Thanks in advance!




    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Ubuntu 10.04 LTS x86_64
    CPU                            = Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
    WEB_SERVER                     = UNKNOWN
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = 0
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%

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

    Post edited by JonLambertt at 2012-07-11 18:22:57
  • 9 Comments sorted by
  • There can sometimes be problems on VPS servers as the environment is slightly different and some features are disabled. 

    You can help us pinpoint the problem by doing

    tar czf airtime.log /var/log/airtime

    and posting the tarball here. 

    Alternatively simply look through the files media-monitor.log and pypo.log and post any relevant sections here.
    Airtime Pro Hosting: http://airtime.pro
  • Tarball of the log folder attached! 
  • It appears that apache cannot find where Airtime at "http://localhost". By default media-monitor and pypo connect to http://localhost and try to obtain information about your environment.

    What URL are you using to access the Airtime web interface? If your domain is jon.com, Airtime login screen should pop up when you visit http://jon.com/

    This is what is appearing in the logs btw:

    2012-07-11 22:28:38,678 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 404: File Not Found
    2012-07-11 22:28:38,679 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.



    Airtime Pro Hosting: http://airtime.pro
  • Aha ok thanks.

    Where can I change that configuration to point to the correct domain?
  • I'm also running Airtime on port 8000... not sure if that helps!
  • Reply to @JonLambertt:

    Ok that's the problem right there :)

    Make sure you update your port configuration in /etc/airtime/airtime.conf and /etc/airtime/api_client.cfg
    Airtime Pro Hosting: http://airtime.pro
  • Reply to @Martin+Konecny: 

    Ahh thank you!! That's fantastic. Streaming is now working correctly.

    One more problem though... media files still aren't appearing in the system. Neither from the watched folders or uploaded mp3's...

    Any ideas?
  • Did you restart the media-monitor service after making these changes?

    sudo service airtime-media-monitor restart
    Airtime Pro Hosting: http://airtime.pro
  • All working perfectly - thank you so much for your help!