AirTime + NGINX = Bust [SOLVED]
  • Hi, trying an AirTime installation with NGINX using the included airtime-full-install-nginx and following up with the minimal airtime-install script.
    Web interface is working great, however having issues. Pastes below.

    EDIT: Also notice my liquidsoap.cfg is completely empty? 
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Ubuntu 12.04.4 LTS x86_64
    CPU                            = Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
    WEB_SERVER                     = nginx/1.4.4
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2014-01-28 01:14:45,183 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    -- 2014-01-28 01:14:50,188 DEBUG - [api_client.py : __call__() : line 134] - http://ghosthz.com:80/api/version/api_key/W13B2YXF3XVME2CQGM9X
    -- 2014-01-28 01:14:50,192 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    --
    --
    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%
    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log
    -- 2014-01-28 01:14:13,184 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2014-01-28 01:14:13,184 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-01-28 01:14:13,191 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 48 - Initialized RabbitMQ consumer.
    -- 2014-01-28 01:14:13,191 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://ghosthz.com:80/api/media-monitor-setup/format/json/api_key/W13B2YXF3XVME2CQGM9X
    -- 2014-01-28 01:14:13,198 INFO - [Thread-1] [syncdb.py : reload_directories()] : LINE 49 - HTTP Error 404: Not Found
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

    The Monit daemon 5.3.2 uptime: 11m

    Process 'airtime-playout'
      status                            Running
      monitoring status                 Monitored
      pid                               900
      parent pid                        1
      uptime                            11m
      children                          0
      memory kilobytes                  15172
      memory kilobytes total            15172
      memory percent                    1.4%
      memory percent total              1.4%
      cpu percent                       0.0%
      cpu percent total                 0.0%
      data collected                    Tue, 28 Jan 2014 01:14:53

    Process 'airtime-media-monitor'
      status                            Does not exist
      monitoring status                 Monitored
      data collected                    Tue, 28 Jan 2014 01:14:53

    Process 'airtime-liquidsoap'
      status                            Execution failed
      monitoring status                 Monitored
      data collected                    Tue, 28 Jan 2014 01:14:43

    System 'system_login.ghosthz.com'
      status                            Running
      monitoring status                 Monitored
      load average                      [0.29] [0.25] [0.11]
      cpu                               1.5%us 4.5%sy 0.0%wa
      memory usage                      201784 kB [19.2%]
      swap usage                        0 kB [0.0%]
      data collected                    Tue, 28 Jan 2014 01:14:43

    service airtime-liquidsoap start
    * Starting Liquidsoap Playout Engine without Monit process watchdog. To make sure Monit is watching
    * Liquidsoap, use 'start-with-monit' instead of 'start'.
    Starting Liquidsoap Playout Engine: Unable to connect to the Airtime server.
    HTTP Error 404: Not Found
    traceback: Traceback (most recent call last):
      File "generate_liquidsoap_cfg.py", line 37, in <module>
        ss = ac.get_stream_setting()
      File "/usr/lib/airtime/api_clients/api_client.py", line 414, in get_stream_setting
        return self.services.get_stream_setting()
      File "/usr/lib/airtime/api_clients/api_client.py", line 137, in __call__
        f = urllib2.urlopen(req)
      File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 406, in open
        response = meth(req, response)
      File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.7/urllib2.py", line 444, in error
        return self._call_chain(*args)
      File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 404: Not Found

    :(( :((
    Post edited by Holden Stanford at 2014-01-30 23:19:29
  • 1 Comment sorted by
  • same problem here what you do plz help me