Problem with Airtime and RabbitMQ on Debian Wheezy
  • I got a problem with airtime on Debian Wheezy. Everything worked before but now I just get an error with MediaMonitor/RabbitMQ. See the output of airtime-check-system below:

    root@airtime:~# airtime-check-system 
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
    AIRTIME_STATUS_URL             = http://host:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.2.0-4-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 1964172
    TOTAL_SWAP_MBYTES              = 4284412
    AIRTIME_VERSION                = 2.4.0
    OS                             = Debian GNU/Linux 7.0 (wheezy) x86_64
    CPU                            = Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 13050
    PLAYOUT_ENGINE_RUNNING_SECONDS = 152
    PLAYOUT_ENGINE_MEM_PERC        = 0.8%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 13114
    LIQUIDSOAP_RUNNING_SECONDS     = 152
    LIQUIDSOAP_MEM_PERC            = 1.1%
    LIQUIDSOAP_CPU_PERC            = 7.9%
    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
    -- 2013-05-19 13:25:23,271 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    -- 2013-05-19 13:25:28,277 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2013-05-19 13:25:28,277 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    -- 2013-05-19 13:25:28,278 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - [Errno 111] Connection refused
    -- 2013-05-19 13:25:28,278 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    Post edited by Roman Schmerold at 2013-05-19 08:03:00
  • 2 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    "host" is really your domain name ?

    that can't work

    try localhost, an ip adress or a real domain name
  • I just replaced it with "host" here. Just don't wanted to reveal my hostname ;)