Icecast2 mount not working after ubuntu update
  • Vote Up0Vote Down MarcusMarcus
    Posts: 16Member
    I updated my ubuntuserver LTS to 14.04 and I have spent quiet a lot of time trying to figure out why this update stopped the icecast mount to stop working. 
    These are now the results of airtime-check-system:

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.15.0-6-generic
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 24680372
    TOTAL_SWAP_MBYTES              = 25155580
    AIRTIME_VERSION                = 2.5.1
    OS                             = Ubuntu Utopic Unicorn (development branch) x86_64
    CPU                            = Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
    WEB_SERVER                     = Apache/2.4.9 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2014-07-09 19:21:46,825 DEBUG - [api_client.py : __call__() : line 134] - http://radio.runetooncraft.com:80/api/get-files-without-silan-value/api_key/KB6XPT3LUFWZ9N4K891D
    -- 2014-07-09 19:21:46,927 ERROR - [api_client.py : get_files_without_silan_value() : line 474] - <urlopen error [Errno 111] Connection refused>
    -- 2014-07-09 19:21:46,927 INFO - [silananalyzer.py : run() : line 85] - Sleeping for 5...
    -- 2014-07-09 19:23:31,578 DEBUG - [api_client.py : __call__() : line 134] - http://radio.runetooncraft.com:80/api/get-stream-parameters/api_key/KB6XPT3LUFWZ9N4K891D/format/json
    -- 2014-07-09 19:23:31,663 ERROR - [listenerstat.py : run() : line 140] - Exception: <urlopen error [Errno 111] Connection refused>
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-07-09 19:13:36,559 INFO - [Thread-5] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    -- 2014-07-09 19:13:36,559 ERROR - [Thread-5] [airtime.py : init_rabbit_mq()] : LINE 51 - [Errno 111] Connection refused
    -- 2014-07-09 19:13:36,559 ERROR - [Thread-5] [eventdrainer.py : cb()] : LINE 22 - Error connecting to RabbitMQ Server.                                       Trying again in few seconds
    -- 2014-07-09 19:13:41,563 INFO - [Thread-5] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-07-09 19:13:41,571 INFO - [Thread-5] [airtime.py : init_rabbit_mq()] : LINE 48 - Initialized RabbitMQ consumer.
    --
    --
    -- There appears to be a problem with your Airtime installation.


    If you need anything else please ask. Any help would be awesome so that my game developing friend and I can get back to listening to the Japan Philharmonic while developing :).

    I installed my airtime with the automatic installation. I have over 1800 songs in my library so purging the install is my last resort.
  • 6 Comments sorted by
  • Upgrading Ubuntu would have upgraded PHP 5.4 to a version 5.5x that is not compatable with lots of the Airtime stuff.
    You could try downgrading the php but there may be other things that may be incompatable also

    http://askubuntu.com/questions/455614/downgrade-php-version-from-5-5-to-5-4-on-ubuntu-14-04


    No longer using Airtime or Libretime.
  • Vote Up0Vote Down MarcusMarcus
    Posts: 16Member
    Upgrading Ubuntu would have upgraded PHP 5.4 to a version 5.5x that is not compatable with lots of the Airtime stuff.
    You could try downgrading the php but there may be other things that may be incompatable also

    http://askubuntu.com/questions/455614/downgrade-php-version-from-5-5-to-5-4-on-ubuntu-14-04




    Thanks for the reply!
    So I tried downloading phpbrew and used these commands:
    phpbrew install 5.4.30 +default +apxs2

    phpbrew switch 5.4.30

    now php -v says:
    PHP 5.4.30 (cli) (built: Jul 10 2014 23:34:04)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

    So after that I restarted my server computer but now the airtime page is simply blank. Just a white page. You can see it here: http://radio.runetooncraft.com/
  • Running an Alpha release of Ubuntu in a production environment is a BAD idea, friend!  :-B
  • Vote Up0Vote Down MarcusMarcus
    Posts: 16Member

    Running an Alpha release of Ubuntu in a production environment is a BAD idea, friend!  :-B



    weird how when I upgraded my LTS it selected this version.
  • Vote Up0Vote Down MarcusMarcus
    Posts: 16Member
    Well for now I am running airtime on another computer running 12.04 LTS. Downgrading the main one was my last option considering everything else I run on it is working. I will wait till Airtime is compatible with PHP 5.5 before moving it back.
    Post edited by Marcus at 2014-07-11 17:04:08
  • Weird? How'd you do the update? I'm curious, too!