Audio not importing
  • Hello

    I've searched the forums and tried everything suggested but still I can't get audio to import into this Airtime install.

    Clean install on Debian Wheezy. All services running. Apologies, I'm on an iPad so the output of the airtime-check-system is attached as an image.

    RabbitMQ looks like it's the problem but it's running fine. We get the 'failed to initialize RabbitMQ consumer' repeating error messages in the media monitor log file.

    Help - please!
    768 x 1024 - 169K
  • 5 Comments sorted by
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    check php-version with "php -v" - you need php5.4
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • Thank you - yes, I specifically made sure it was 5.4 and not 5.5 after a previous issue on a different install. Yep, confirmed as 5.4.4-14+deb7u9.
  • Here's my RabbitMQ status:

    Status of node 'rabbit@bpr-01' ...
    [{pid,1630},
     {running_applications,[{rabbit,"RabbitMQ","2.8.4"},
                            {os_mon,"CPO  CXC 138 46","2.2.9"},
                            {sasl,"SASL  CXC 138 11","2.2.1"},
                            {mnesia,"MNESIA  CXC 138 12","4.7"},
                            {stdlib,"ERTS  CXC 138 10","1.18.1"},
                            {kernel,"ERTS  CXC 138 10","2.15.1"}]},
     {os,{unix,linux}},
     {erlang_version,"Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:8:1] [async-threads:30] [kernel-poll:true]\n"},
     {memory,[{total,27818848},
              {processes,10978430},
              {processes_used,10978416},
              {system,16840418},
              {atom,504409},
              {atom_used,473669},
              {binary,247120},
              {code,11874771},
              {ets,771240}]},
     {vm_memory_high_watermark,0.39999999944120646},
     {vm_memory_limit,429496729},
     {disk_free_limit,1000000000},
     {disk_free,9217036288},
     {file_descriptors,[{total_limit,924},
                        {total_used,5},
                        {sockets_limit,829},
                        {sockets_used,3}]},
     {processes,[{limit,1048576},{used,132}]},
     {run_queue,0},
     {uptime,9287}]
    ...done.

  • Getting this in media-monitor.log though - over and over again:

    2014-05-22 01:15:03,305 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - [Errno 104] Connection reset by peer
    2014-05-22 01:15:03,305 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    2014-05-22 01:15:08,310 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    2014-05-22 01:15:11,327 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    2014-05-22 01:15:11,328 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - [Errno 104] Connection reset by peer
    2014-05-22 01:15:11,328 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    2014-05-22 01:15:16,331 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    2014-05-22 01:15:19,335 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    2014-05-22 01:15:19,336 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - [Errno 104] Connection reset by peer
    2014-05-22 01:15:19,336 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
  • OK - after extensive mucking about, this:


    is my solution. If you change your hostname AFTER you install you need to do this.