No file upload & monitoring
  • Hi 

    I have airtime on Debian 
    I access on airtime with (ip_server)/regia , i have set a non_default folder for upload music : /var/www/musica 
     
    When i try to upload something , the uploader is green but the library is empty ( some things on terminal when i list the folder musica ) 

    this is the media-monitor log ( a piece that is repeat each 4 second ! ) 


    2013-10-18 16:42:53,048 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    2013-10-18 16:42:56,051 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    2013-10-18 16:42:56,052 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - Socket closed
    2013-10-18 16:42:56,052 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    2013-10-18 16:43:01,054 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    2013-10-18 16:43:04,058 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    2013-10-18 16:43:04,059 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - Socket closed
    2013-10-18 16:43:04,059 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    2013-10-18 16:43:09,064 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    2013-10-18 16:43:12,070 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    2013-10-18 16:43:12,071 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - Socket closed


    This is the result of airtime-check-system

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-5-xen-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 2092892
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.4.1
    OS                             = Debian GNU/Linux 6.0.7 (squeeze) x86_64
    CPU                            = Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
    WEB_SERVER                     = Apache/2.2.16 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 628
    PLAYOUT_ENGINE_RUNNING_SECONDS = 12265
    PLAYOUT_ENGINE_MEM_PERC        = 0.7%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 18227
    LIQUIDSOAP_RUNNING_SECONDS     = 828
    LIQUIDSOAP_MEM_PERC            = 0.7%
    LIQUIDSOAP_CPU_PERC            = 0.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-10-18 16:52:48,811 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    -- 2013-10-18 16:52:53,815 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2013-10-18 16:52:56,819 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    -- 2013-10-18 16:52:56,820 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 51 - Socket closed
    -- 2013-10-18 16:52:56,820 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    -- 
    -- 
    -- There appears to be a problem with your Airtime installation.

    Can you help me?

    P.S. i tried to restart RabbitMQ or --purge 6 install but nothing change

  • 3 Comments sorted by
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator

    Can you help me?


    P.S. i tried to restart RabbitMQ or --purge 6 install but nothing change

    how did you try to restart media-monitor?

    sudo service airtime-media-monitor restart
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • Yes , i used /etc/init.d/airtime-media-monitor restart , but the error in the media-monitor log persist , every 10 second there is the connection error to rabbitMQ
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Andrea,

    As you are running Squeeze, please see the section 'RabbitMQ on Debian squeeze' here:

    http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/preparing-the-server/

    If RabbitMQ is starting on boot, check the content of /etc/airtime/media-monitor.cfg - are the RabbitMQ settings valid?

    Cheers!

    Daniel