× Warning! This forum is in archival status. New contributions may not work.
[SOLVED]Media Monitor fails to start after Update
  • I am using Airtime in a VPS. After the Update to 2.31 the Mediamonitor doesnt start.


    root@RadioDemo:~# airtime-check-system
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-5-openvz-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 2097152
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.3.1
    OS                             = Debian GNU/Linux 6.0.7 (squeeze) x86_64
    CPU                            = Intel(R) Core(TM)2 Quad CPU    Q9650  @ 3.00GHz
    WEB_SERVER                     = Apache/2.2.16 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 403
    PLAYOUT_ENGINE_RUNNING_SECONDS = 103
    PLAYOUT_ENGINE_MEM_PERC        = 0.7%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 672
    LIQUIDSOAP_RUNNING_SECONDS     = 91
    LIQUIDSOAP_MEM_PERC            = 1.0%
    LIQUIDSOAP_CPU_PERC            = 0.0%
    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-03-28 11:03:56,605 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2013-03-28 11:03:56,606 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 35 - Initializing RabbitMQ message consumer...
    -- 2013-03-28 11:03:56,608 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 49 - Failed to initialize RabbitMQ consumer
    -- 2013-03-28 11:03:56,608 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - [Errno 111] Verbindungsaufbau abgelehnt
    -- 2013-03-28 11:03:56,609 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 30 - Error connecting to RabbitMQ Server. Trying again in few seconds

    i tried to restart the service manually, but no success. 

    Any Suggestions? Thank you.

    Post edited by Volker Steiger at 2013-04-01 11:15:08
  • 8 Comments sorted by
  • Vote Up1Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team

    LINE 30 - Error connecting to RabbitMQ Server. Trying again in few seconds



    Please make sure rabbitmq server is started, or simply run:
     sudo service rabbitmq-server start
    Cloud Radio -> http://airtime.pro
  • Hi!

    TY, Service is running.

    It looks like a memory problem. Does anything of Airtime needs Swap? I run Airtime in a OpenVZ Container with 2 Gbyte RAM.

    No Problems so far except the media monitor since the update.


  • Switched to a KVM VM with 512 Mb RAM and 512 Mb Swap. I dont get a Memory Error anymore, but the Media Monitor wont connect to the RabbitMQ anymore...

    I dont know what happen...

    Log:


    2013-03-31 17:35:37,859 INFO - [Thread-2] [organizer.py : handle()] : LINE 80 - Organized: "/srv/airtime/stor/organize/20 Agghir -  Le Diable A La St Jean.mp3" into "/srv/airtime/stor/imported/1/ Agghir/Mega Celtique [cd4] Women/ 20-Le$
    2013-03-31 17:35:38,420 INFO - [Thread-3] [watchersyncer.py : run()] : LINE 39 - We have 1 events that are unflushed
    2013-03-31 17:35:38,420 INFO - [Thread-3] [watchersyncer.py : flush_events()] : LINE 107 - Force flushing events...
    2013-03-31 17:35:38,420 INFO - [Thread-3] [watchersyncer.py : push_request()] : LINE 146 - WatchSyncer : Unleashing request
    2013-03-31 17:35:38,422 INFO - [Thread-142] [request.py : run_request()] : LINE 34 - Attempting request with 1 items.
    2013-03-31 17:35:38,480 INFO - [Thread-142] [api_client.py : send_media_monitor_requests()] : LINE 299 - Pumping out 1 requests...
    2013-03-31 17:35:38,581 INFO - [Thread-142] [request.py : run_request()] : LINE 54 - Request was successful
    2013-03-31 20:29:01,454 INFO - [MainThread] [launcher.py : setup_global()] : LINE 110 - Attempting to set the locale...
    2013-03-31 20:29:01,538 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    2013-03-31 20:29:01,546 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 35 - Initializing RabbitMQ message consumer...
    2013-03-31 20:29:01,620 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 49 - Failed to initialize RabbitMQ consumer
    2013-03-31 20:29:01,620 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - [Errno 111] Verbindungsaufbau abgelehnt
    2013-03-31 20:29:01,620 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 30 - Error connecting to RabbitMQ Server. Trying again in few seconds


    Ram use was within 240 Mb RAM when importing...

    I uploaded 120 Mp3s without problems.

    Please, need help... 

    Regards
    Volker
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Please try to execute:
    sudo service rabbitmq-server restart
    sudo service airtime-media-monitor restart 
    Cloud Radio -> http://airtime.pro
  • I did it earlier, No change.

    Now it seems to work. Checking it. TY.

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    did you do an :

    apt-get update && apt-get dist-upgrade

    before ?
  • I did a normal update, as usual. Dist-Upgrade? No, why? Its Debian Squeeze. ;)

    Seems to run now. TY!
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    lol

    cool :D