airtime-check-system says FAILED but system seems to be working
  • I did an install of 2.3.0 on debian squeeze using the airtime-easy-setup.deb
    I had to do several re-installs, and had to modify several config files to get it to
    use only one ip address:
      /etc/airtime/airtime.conf and api_client.cfg and liquidsoap.cfg
      /etc/icecast/icecast.xml
    I then rebooted. I can login just fine to the web app, and I was able to upload some files,
    do a broadcast, etc.
    Furthermore, all processes seem to be running.

    However, apt still thinks i haven't finished installing, and when I run airtime-check-system
    it can't seem to find the process ids (though in the web interface, the Status shows all
    green check marks). I have no idea how airtime-check-system is looking for process ids.
    The logs that it tails don't have any errors either. Here it is (changed to hide only my host name):

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.3.0
    OS                             = Debian GNU/Linux 6.0.7 (squeeze) i686
    CPU                            = Intel(R) Xeon(R) CPU           E5320  @ 1.86GHz
    WEB_SERVER                     = Apache/2.2.16 (Debian)
    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
    --     except Exception as e: self.unexpected_exception(e)
    -- AttributeError: 'ReplayGainUpdater' object has no attribute 'unexpected_exception'
    --
    -- 2013-03-18 01:26:06,853 DEBUG - [api_client.py : get_stream_parameters() : line 435] - {u'stream_params': {u's3': {u'admin_pass': u'', u'enable': u'false', u'description': u'', u'url\
    ': u'', u'bitrate': u'', u'mount': u'', u'channels': u'stereo', u'host': u'', u'admin_user': u'', u'user': u'', u'pass': u'', u'genre': u'', u'output': u'icecast', u'type': u'', u'port'\
    : u'', u'name': u''}, u's2': {u'admin_pass': u'', u'enable': u'false', u'description': u'', u'url': u'', u'bitrate': u'', u'mount': u'', u'channels': u'stereo', u'host': u'', u'admin_us\
    er': u'', u'user': u'', u'pass': u'', u'genre': u'', u'output': u'icecast', u'type': u'', u'port': u'', u'name': u''}, u's1': {u'admin_pass': u'donthackme', u'enable': u'true', u'descri\
    ption': u'Airtime Radio! Stream #1', u'url': u'http://airtime.sourcefabric.org', u'bitrate': u'128', u'mount': u'airtime_128', u'liquidsoap_error': u'OK', u'channels': u'stereo', u'host\
    ': u'pems.discerning.com', u'admin_user': u'admin', u'user': u'', u'pass': u'donthackme', u'genre': u'genre', u'output': u'icecast', u'type': u'ogg', u'port': u'8000', u'name': u'Airtim\
    e!'}}}
    -- 2013-03-18 01:26:07,197 DEBUG - [listenerstat.py : run() : line 131] - [{'timestamp': '2013-03-18 01:26:06', 'mount_name': u'airtime_128', 'num_listeners': u'0'}]
    --
    --
    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
    -- 2013/03/18 01:26:06 [lang:3] streams.master_dj_stop
    -- 2013/03/18 01:26:06 [lang:3] vars.stream_metadata_type
    -- 2013/03/18 01:26:06 [lang:3] vars.station_name
    -- 2013/03/18 01:26:06 [lang:3] vars.default_dj_fade
    -- 2013/03/18 01:26:06 [server:3] Client localhost disconnected.
    --
    --
    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-18 01:25:57,747 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 100 - Listener: Listener(StoreWatchListener), Signal(hosted_install_watch)
    -- 2013-03-18 01:25:57,751 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 99 - Attempting to add listener to path '/srv/airtime/stor/recorded'
    -- 2013-03-18 01:25:57,751 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 100 - Listener: Listener(StoreWatchListener), Signal(hosted_install_watch)
    -- 2013-03-18 01:25:58,551 INFO - [Thread-1] [bootstrap.py : flush_watch()] : LINE 63 - Flushed watch directory (/srv/airtime/stor/recorded).                 (added, modified, deleted) \
    = (0, 0, 0)
    -- 2013-03-18 01:25:59,296 INFO - [Thread-1] [bootstrap.py : flush_watch()] : LINE 63 - Flushed watch directory (/srv/airtime/stor/imported).                 (added, modified, deleted) \
    = (0, 0, 0)
    --
    --
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = -1
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%
    -- There appears to be a problem with your Airtime installation.

  • 3 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    mmhhhh (~~)

    if nothing is found
    you seems to have a host misconfiguration problem

    verify your /etc/hosts and your airtime-vhost configuration

    can you import new songs ?

  • I did an install of 2.3.0 on debian squeeze using the airtime-easy-setup.deb

    I had to do several re-installs, and had to modify several config files to get it to
    use only one ip address:
     
    What do you mean, exactly? The easy-setup.deb is about as easy as it gets :)
  • I have multiple ip addresses (and hostnames) on that box. The installer just picked the first one without asking, so I had to go in manually and specify the correct hostname in all the config files I could find. 

    The system seems to be working fine - i can upload files, etc. And the Status in the web app says all fine too. The apache side (including airtime-vhost, which i did manually modify) all seem fine.

    But airtime-check-system stil seems unhappy. How does it check on process ids?