AirTime installation problem
  • I'm having some issues with my current installation of AirTime 2.0.2  I'm running the web interface on port 8080 and I have modified "airtime.conf" and "api_client.cfg" to use port 8080 as well. 

    *** Verifying your system environment, running airtime-check-system ***
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Ubuntu 11.10 i686
    CPU                            = Intel(R) Pentium(R) D CPU 2.80GHz
    WEB_SERVER                     = A
    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.

    Here is the report from the log files.

    This is the message-handler.log:
    2012-03-08 22:46:08,386 ERROR - [pypomessagehandler.py : main() : line 108] - Exception, 'NoneType' object has no attribute 'client'
    2012-03-08 22:46:08,387 INFO - [pypomessagehandler.py : main() : line 91] - Loop #202

    This is in media-monitor.log
    2012-03-08 22:42:26,407 ERROR - [MainThread] [airtimeprocessevent.py : notifier_loop_callback()] : LINE 301 - Exception: Socket closed
    2012-03-08 22:42:26,408 ERROR - [MainThread] [airtimeprocessevent.py : notifier_loop_callback()] : LINE 302 - traceback: Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/airtimefilemonitor/airtimeprocessevent.py", line 294, in notifier_loop_callback
        notifier.connection.drain_events(timeout=0.1)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/kombu/connection.py", line 175, in drain_events
        return self.transport.drain_events(self.connection, **kwargs)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 238, in drain_events
        return connection.drain_events(**kwargs)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 57, in drain_events
        return self.wait_multi(self.channels.values(), timeout=timeout)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 63, in wait_multi
        chanmap.keys(), allowed_methods, timeout=timeout)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 120, in _wait_multiple
        channel, method_sig, args, content = read_timeout(timeout)
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 94, in read_timeout
        return self.method_reader.read_method()
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/amqplib/client_0_8/method_framing.py", line 221, in read_method
        raise m
    IOError: Socket closed

    Pypo.log
    2012-03-08 22:28:56,417 INFO - [pypo-cli.py : <module>() : line 110] - ###########################################
    2012-03-08 22:28:56,417 INFO - [pypo-cli.py : <module>() : line 111] - #             *** pypo  ***               #
    2012-03-08 22:28:56,417 INFO - [pypo-cli.py : <module>() : line 112] - #   Liquidsoap Scheduled Playout System   #
    2012-03-08 22:28:56,417 INFO - [pypo-cli.py : <module>() : line 113] - ###########################################
    2012-03-08 22:28:56,421 DEBUG - [api_client.py : __get_airtime_version() : line 201] - Trying to contact http://localhost:8080/api/version/api_key/%%api_key%%
    2012-03-08 22:28:56,654 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 88] - #################################################
    2012-03-08 22:28:56,654 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 89] - # Calling server to update liquidsoap status    #
    2012-03-08 22:28:56,654 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 90] - #################################################
    2012-03-08 22:28:56,655 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 91] - msg = OK
    2012-03-08 22:28:56,655 DEBUG - [api_client.py : notify_liquidsoap_status() : line 590] - http://localhost:8080/api/update-liquidsoap-status/format/json/api_key/VFZS5TNBDS6LIWSOHW1D/msg/OK/stream_id/1/boot_time/1331267336.3
    2012-03-08 22:28:56,758 DEBUG - [api_client.py : __get_airtime_version() : line 208] - Data: {"version":"2.0.2"}
    2012-03-08 22:28:56,758 DEBUG - [api_client.py : __get_airtime_version() : line 211] - Airtime Version 2.0.2 detected
    2012-03-08 22:28:56,758 INFO - [api_client.py : is_server_compatible() : line 248] - Airtime version: 2.0.2
    2012-03-08 22:28:56,759 INFO - [api_client.py : is_server_compatible() : line 249] - pypo is at version 2.0.2 and is compatible with this version of Airtime.
    2012-03-08 22:28:57,009 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 93] - Response: null
    2012-03-08 22:28:57,322 INFO - [pypofetch.py : set_export_source() : line 239] - Creating cache directory at /var/tmp/airtime/pypo/cache/scheduler/
    2012-03-08 22:28:57,323 INFO - [pypofetch.py : __init__() : line 48] - PypoFetch: init complete
    2012-03-08 22:28:57,323 INFO - [api_client.py : get_schedule() : line 259] - Fetching schedule from http://localhost:8080/api/schedule/api_key/%%api_key%%
    2012-03-08 22:28:57,338 INFO - [pypopush.py : run() : line 193] - heartbeat
    2012-03-08 22:28:57,392 DEBUG - [connection.py : _start() : line 661] - Start from server, version: 8.0, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2011 VMware, Inc.',$
    2012-03-08 22:28:57,394 DEBUG - [connection.py : _open_ok() : line 507] - Open OK! known_hosts []
    2012-03-08 22:28:57,395 DEBUG - [channel.py : __init__() : line 70] - using channel_id: 1
    2012-03-08 22:28:57,396 DEBUG - [channel.py : _open_ok() : line 484] - Channel open
    2012-03-08 22:28:57,768 INFO - [pypofetch.py : main() : line 472] - Bootstrap schedule received: {u'status': {u'range': {u'start': u'2012-03-09 04:28:57', u'end': u'2012-03-10 04:28:57'}, u'version': u'1.1'}, u'playlists': [], u'check': 1, u'stream_metadata': {u'station_$
    2012-03-08 22:28:57,768 DEBUG - [pypofetch.py : prepare_playlists() : line 313] - Schedule is empty.
    2012-03-08 22:28:57,769 INFO - [pypofetch.py : main() : line 477] - Loop #1
    2012-03-08 22:28:59,341 DEBUG - [pypopush.py : push() : line 66] - Received data from pypo-fetch
    2012-03-08 22:28:59,341 DEBUG - [pypopush.py : push() : line 70] - schedule []
    2012-03-08 22:28:59,342 DEBUG - [pypopush.py : push() : line 71] - playlists {}
    2012-03-08 22:29:22,388 DEBUG - [channel.py : _do_close() : line 90] - Closed channel #1
    2012-03-08 22:29:27,369 INFO - [pypopush.py : run() : line 193] - heartbeat
    2012-03-08 22:29:57,399 INFO - [pypopush.py : run() : line 193] - heartbeat
    2012-03-08 22:30:27,430 INFO - [pypopush.py : run() : line 193] - heartbeat
    2012-03-08 22:30:57,459 INFO - [pypopush.py : run() : line 193] - heartbeat


  • 6 Comments sorted by
  • Hi,

    Just out of curiousity. What does the status page in the Web UI display?
    Airtime Pro Hosting: http://airtime.pro
  • Here's the image of that screen.

    image
  • ok I have filed a bug related to this issue. Please ignore airtime-check-system results if using ports other than 80 for yhe moment.

    http://dev.sourcefabric.org/browse/CC-3402
    Airtime Pro Hosting: http://airtime.pro
  • Just to clarify, your Airtime install is fine. There is only a problem with the status reporter.
    Airtime Pro Hosting: http://airtime.pro
  • The other problem I'm having is with the stream settings page.  The orange "getting info from server" box never changes.  Is there any way to fix this?

    image
  • For that please post the log file in /var/log/airtime/pypo-liquidsoap.

    Also try "sudo service airtime-playout restart"
    Airtime Pro Hosting: http://airtime.pro