Rabbitmq problem after upgrade 2.04 to 2.13
  • Airtime is not working after upgrading. There seems to be some problem with rabbitmq:
    $ sudo invoke-rc.d airtime-media-monitor status
    AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.38-8-generic
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 3094432
    TOTAL_SWAP_MBYTES              = 2059260
    AIRTIME_VERSION                = 2.1.3
    OS                             = Linux Mint 11 Katya i686
    CPU                            = AMD Phenom(tm) 8550 Triple-Core Processor
    WEB_SERVER                     = Apache/2.2.17 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 1517
    PLAYOUT_ENGINE_RUNNING_SECONDS = 35271
    PLAYOUT_ENGINE_MEM_PERC        = 0.3%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 1532
    LIQUIDSOAP_RUNNING_SECONDS     = 35271
    LIQUIDSOAP_MEM_PERC            = 0.4%
    LIQUIDSOAP_CPU_PERC            = 10.8%
    MEDIA_MONITOR_PROCESS_ID       = 1499
    MEDIA_MONITOR_RUNNING_SECONDS  = 35271
    MEDIA_MONITOR_MEM_PERC         = 0.3%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    RABBITMQ_PROCESS_ID            = NOT MONITORED
    RABBITMQ_RUNNING_SECONDS       = 1
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%

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

    -- Please visit http://wiki.sourcefabric.org/x/HABQ
    invoke-rc.d: initscript airtime-media-monitor, action "status" failed.

    any solutions?
    Post edited by Adam Thomas at 2012-09-28 07:57:04
  • 4 Comments sorted by
  • The reason why this is happening is because we detect whether RabbitMQ is running based on the operating system. Since Linux Mint isn't supported, we are probably detecting RabbitMQ's status the wrong way. 

    There might be a way to resolve this, will get back to you.
    Airtime Pro Hosting: http://airtime.pro
  • Please try the following from the terminal:

    rabbitmqstatus=`/etc/init.d/rabbitmq-server status | grep "\[{pid" | sed "s/.*,\(.*\)\}.*/\1/"`
    echo "[{rabbit@ubuntu,$rabbitmqstatus}]" > var/lib/rabbitmq/pids

    then reinstall Airtime. This should resolve the problem.


    Post edited by Martin Konecny at 2012-09-05 15:29:09
    Airtime Pro Hosting: http://airtime.pro
  • Here is output from terminal:

    xxxxx@xxxxx ~ $ rabbitmqstatus=`/etc/init.d/rabbitmq-server status | grep "\[{pid" | sed "s/.*,\(.*\)\}.*/\1/"`
    xxxxx@xxxxx ~ $ echo "[{rabbit@ubuntu,$rabbitmqstatus}]" > /var/lib/rabbitmq/pids
    -bash: /var/lib/rabbitmq/pids: Adgang nægtet (Access denied)

    I have also tried with the sudo command but it still says access denied
  • I succeeded puting in what you sugested being root. Than I tried the:
    sudo apt-get update
    sudo apt-get upgrade

    Last lines:

    airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    So there is still something wrong.
    Or should I Install airtime from the very beginning.