media-monitor failure airtime 2.3.1 on Ubuntu 10.04
  • Vote Up0Vote Down nasrnasr
    Posts: 7Member
    Hi,

    The media-import process is failing to start, here is the log i got with  sudo airtime-check-system 

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.2.13-grsec-xxxx-grs-ipv6-64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 16335992
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.3.1
    OS                             = Ubuntu 10.04.2 LTS x86_64
    CPU                            = Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    WEB_SERVER                     = Apache/2.2.14 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 3231
    PLAYOUT_ENGINE_RUNNING_SECONDS = 79740
    PLAYOUT_ENGINE_MEM_PERC        = 0.0%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 3493
    LIQUIDSOAP_RUNNING_SECONDS     = 79736
    LIQUIDSOAP_MEM_PERC            = 0.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-04-13 15:21:12,296 INFO - [Thread-1] [handler.py : __init__()] : LINE 50 - Initialized problem file handler. Problem dir: '/home/srv/airtime/stor/problem_files'
    -- 2013-04-13 15:21:12,296 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 99 - Attempting to add listener to path '/home/srv/airtime/stor/imported'
    -- 2013-04-13 15:21:12,296 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 100 - Listener: Listener(StoreWatchListener), Signal(hosted_install_watch)
    -- 2013-04-13 15:21:12,309 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 99 - Attempting to add listener to path '/home/srv/airtime/stor/recorded'
    -- 2013-04-13 15:21:12,309 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 100 - Listener: Listener(StoreWatchListener), Signal(hosted_install_watch)
  • 8 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    upgrade to 12.04
    10.04 is not supported any more by Airtime...
  • 10.04 is still supported since it's an LTE, and is officially supported by Canonical until 2015 I believe.


    Please post the entire /var/log/airtime/media-monitor/media-monitor.log file
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    ho sorry...
    My bad :/
  • Vote Up0Vote Down nasrnasr
    Posts: 7Member
    maaaan :( 

    well, i did upgrade to 12.04 and had to reinstall airtime (and lost my tables..) and I'm still having media-monitor failure :

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.2.13-grsec-xxxx-grs-ipv6-64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 16335992
    TOTAL_SWAP_MBYTES              = 1046520
    AIRTIME_VERSION                = 2.3.1
    OS                             = Ubuntu 12.04.2 LTS x86_64
    CPU                            = Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    WEB_SERVER                     = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 15194
    PLAYOUT_ENGINE_RUNNING_SECONDS = 510
    PLAYOUT_ENGINE_MEM_PERC        = 0.1%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 15247
    LIQUIDSOAP_RUNNING_SECONDS     = 509
    LIQUIDSOAP_MEM_PERC            = 0.1%
    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-04-15 14:20:14,014 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 99 - Attempting to add listener t                        o path '/home/srv/airtime/stor/recorded'
    -- 2013-04-15 14:20:14,014 INFO - [Thread-1] [manager.py : __add_watch()] : LINE 100 - Listener: Listener(StoreWat                        chListener), Signal(hosted_install_watch)
    -- 2013-04-15 14:20:23,891 INFO - [MainThread] [launcher.py : setup_global()] : LINE 110 - Attempting to set the l                        ocale...
    -- 2013-04-15 14:20:23,896 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2013-04-15 14:20:23,897 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 35 - Initializing RabbitMQ mes                        sage consumer...
  • Vote Up0Vote Down nasrnasr
    Posts: 7Member
    @Martin Konecny 

    here is the entire /var/log/airtime/media-monitor/media-monitor.log


    Post edited by nasr at 2013-04-15 08:40:58
  • Please post /var/log/airtime/media-monitor/py-interpreter.log as well.

    M


    On Mon, Apr 15, 2013 at 8:34 AM, nasr <<br />airtime-support@lists.sourcefabric.org> wrote:

    > here is the entire /var/log/airtime/media-monitor/media-monitor.log
    >
    >
    >
    > - Attachment: media-monitor.log(Size: 189.32Kb)
    >
    >
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down nasrnasr
    Posts: 7Member
    @Martin 

    here is the /var/log/airtime/media-monitor/py-interpreter.log :


    Exception in thread Thread-1:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
        self.run()
      File "/usr/lib/airtime/media-monitor/mm2/media/saas/launcher.py", line 65, in           run
        airtime_receiver.change_storage({ 'directory':store[u'stor'] })
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/airtime.py", line 177,           in change_storage
        self.manager.change_storage_root(new_storage_directory)
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/manager.py", line 192,           in change_storage_root
        self.set_organize_path(store_paths['organize'])
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/manager.py", line 162,           in set_organize_path
        self.organize['organize_listener'].flush_events(new_path)
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/listeners.py", line 60,           in flush_events
        for f in mmp.walk_supported(path, clean_empties=True):
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/pure.py", line 161, in           walk_supported
        for root, dirs, files in os.walk(directory):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line 294, in w          alk
        for x in walk(new_path, topdown, onerror, followlinks):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line 294, in w          alk
        for x in walk(new_path, topdown, onerror, followlinks):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line 284, in w          alk
        if isdir(join(top, name)):
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/posixpath.py", line 71          , in join
        path += '/' + b
      File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/encodings/utf_8.py", l          ine 16, in decode
        return codecs.utf_8_decode(input, errors, True)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 1: invalid c          ontinuation byte

  • This happens with files that have no business existing on your filesystem
    (their filename character encoding is incorrect).

    Try the following:
    http://forum.sourcefabric.org/discussion/comment/18547#Comment_18547

    In your case, the /path/to/music should be replaced by /srv/airtime/stor


    On Mon, Apr 15, 2013 at 12:16 PM, nasr <<br />airtime-support@lists.sourcefabric.org> wrote:

    > @Martin
    >
    > here is the /var/log/airtime/media-monitor/py-interpreter.log :
    >
    >
    > Exception in thread Thread-1:
    > Traceback (most recent call last):
    > File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    > self.run()
    > File "/usr/lib/airtime/media-monitor/mm2/media/saas/launcher.py", line
    > 65, in run
    > airtime_receiver.change_storage({ 'directory':store[u'stor'] })
    > File "/usr/lib/airtime/media-monitor/mm2/media/monitor/airtime.py", line
    > 177, in change_storage
    > self.manager.change_storage_root(new_storage_directory)
    > File "/usr/lib/airtime/media-monitor/mm2/media/monitor/manager.py", line
    > 192, in change_storage_root
    > self.set_organize_path(store_paths['organize'])
    > File "/usr/lib/airtime/media-monitor/mm2/media/monitor/manager.py", line
    > 162, in set_organize_path
    > self.organize['organize_listener'].flush_events(new_path)
    > File "/usr/lib/airtime/media-monitor/mm2/media/monitor/listeners.py",
    > line 60, in flush_events
    > for f in mmp.walk_supported(path, clean_empties=True):
    > File "/usr/lib/airtime/media-monitor/mm2/media/monitor/pure.py", line
    > 161, in walk_supported
    > for root, dirs, files in os.walk(directory):
    > File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line
    > 294, in w alk
    > for x in walk(new_path, topdown, onerror, followlinks):
    > File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line
    > 294, in w alk
    > for x in walk(new_path, topdown, onerror, followlinks):
    > File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/os.py", line
    > 284, in w alk
    > if isdir(join(top, name)):
    > File "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/posixpath.py",
    > line 71 , in join
    > path += '/' + b
    > File
    > "/usr/lib/airtime/airtime_virtualenv/lib/python2.7/encodings/utf_8.py", l
    > ine 16, in decode
    > return codecs.utf_8_decode(input, errors, True)
    > UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 1:
    > invalid c ontinuation byte
    >
    >
    Airtime Pro Hosting: http://airtime.pro