Install Airtime on Amazon AWS EC2 Instance
  • After successfully installed Airtime 2.5.1 working with it on a vServer of a different hoster, I now need to run it on AWS. But I am not able to. I used the same OS on both servers. Icecast2 is working but the access to the admin/login is Forbidden 403 You don't have permission to access / on this server.

    Can someone please give me a hint or even a step by step?

    This is the output of airtime-check-system

    AIRTIME_STATUS_URL             = http://XXX.XXX.XXX.XXX:80/api/status/format/json/api_key/%%api_key%%

    AIRTIME_SERVER_RESPONDING      = OK

    KERNEL_VERSION                 = UNKNOWN

    MACHINE_ARCHITECTURE           = UNKNOWN

    TOTAL_MEMORY_MBYTES            = UNKNOWN

    TOTAL_SWAP_MBYTES              = UNKNOWN

    AIRTIME_VERSION                = UNKNOWN

    OS                             = Ubuntu 14.04.4 LTS x86_64

    CPU                            = Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz

    WEB_SERVER                     = Apache/2.4.7 (Ubuntu)

    PLAYOUT_ENGINE_PROCESS_ID      = FAILED

    PLAYOUT_ENGINE_RUNNING_SECONDS = 0

    PLAYOUT_ENGINE_MEM_PERC        = 0%

    PLAYOUT_ENGINE_CPU_PERC        = 0%

    tail: cannot open '/var/log/airtime/pypo/pypo.log' for reading: No such file or directory

    -- Displaying log file /var/log/airtime/pypo/pypo.log

    -- 

    -- 

    LIQUIDSOAP_PROCESS_ID          = FAILED

    LIQUIDSOAP_RUNNING_SECONDS     = 0

    LIQUIDSOAP_MEM_PERC            = 0%

    LIQUIDSOAP_CPU_PERC            = 0%

    tail: cannot open '/var/log/airtime/pypo-liquidsoap/ls_script.log' for reading: No such file or directory

    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log

    -- 

    -- 

    MEDIA_MONITOR_PROCESS_ID       = FAILED

    MEDIA_MONITOR_RUNNING_SECONDS  = 0

    MEDIA_MONITOR_MEM_PERC         = 0%

    MEDIA_MONITOR_CPU_PERC         = 0%

    tail: cannot open '/var/log/airtime/media-monitor/media-monitor.log' for reading: No such file or directory

    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log

    -- 

    -- 

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

    -- Please visit http://wiki.sourcefabric.org/x/HABQ

  • 1 Comment sorted by
  • I still own an answer:
    Version 2.5.2 solved my issue. I was able to install Airtime on Ubuntu 14.04LTS.

    ONE IMPORTANT HINT:
    If you want to use Master- and Showsource please do this:
    The solution explained  here is the good one : edit /usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/liquidsoap/ls_script.liq

    edit line 216 and 227  to set the good path, like :
       # old ret = get_process_lines("python     /usr/lib/airtime/pypo/bin/liquidsoap_scripts/liquidsoap_auth.py --master #{user} #{password}")
        ret = get_process_lines("python  /usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/liquidsoap/liquidsoap_auth.py --master #{user} #{password}")

    And it works !

    Found here: