Airtime installation (Media Monitor) fails on Ubuntu Natty
  • Hello Sourcefabric developers and users,
    I'm experiencing issues with Airtime. I tried installing it by building it from source (Debian Squeeze) and tried it on Ubuntu Natty & Maverick.
    I'm trying the install on a VPS.
    But somehow the media monitor seems to fail. Log after installation:

    AIRTIME_STATUS_URL             = http://localhost/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.18-308.el5.028stab099.3
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 1572864
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.0.3
    OS                             = Ubuntu 11.04 i686
    CPU                            = Intel(R) Xeon(R) CPU E31240 @ 3.30GHz
    WEB_SERVER                     = Apache/2.2.17 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 21670
    PLAYOUT_ENGINE_RUNNING_SECONDS = 191
    PLAYOUT_ENGINE_MEM_PERC        = 0.6%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 21677
    LIQUIDSOAP_RUNNING_SECONDS     = 191
    LIQUIDSOAP_MEM_PERC            = 1.2%
    LIQUIDSOAP_CPU_PERC            = 0.0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = -1
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = 20139
    RABBITMQ_RUNNING_SECONDS       = 201
    RABBITMQ_MEM_PERC              = 1.0%
    RABBITMQ_CPU_PERC              = 0.0%

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

    Okay, so the problem seems to be Media-Monitor not starting.
    Media Monitor logfiles gave this:


    user@ubserver:/var/log/airtime/media-monitor$ tail -f media-monitor.log
    2012-05-08 18:51:54,128 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 39 - Setting up monitor
    2012-05-08 18:51:54,375 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 410 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}
    2012-05-08 18:51:59,375 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 47 - Storage Directory is: /srv/airtime/stor/
    2012-05-08 18:51:59,377 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 56 - Exception: [Errno 38] Function not implemented
    2012-05-08 18:51:59,389 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 95 - Exception: name 'multi_queue' is not defined
    2012-05-08 18:51:59,389 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 96 - traceback: Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/MediaMonitor.py", line 63, in <module>
        pe = AirtimeProcessEvent(queue=multi_queue, airtime_config=config, wm=wm, mmc=mmc, api_client=api_client)
    NameError: name 'multi_queue' is not defined

    2012-05-08 18:52:03,893 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 32 -

    *** Media Monitor bootup ***


    2012-05-08 18:52:04,114 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 39 - Setting up monitor
    2012-05-08 18:52:04,344 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 410 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}


    Please request any other needed logfiles. Maybe this is a resolved issue, but I couldn't find anything on it.
    Thanks,
    me.
    Post edited by Jakub Górnicki at 2012-05-15 14:57:32
  • 2 Comments sorted by
  • Vote Up0Vote Down Jakub GórnickiJakub Górnicki
    Posts: 134Member, Administrator, Sourcefabric Team
    (topic moved to Airtime-Dev)