media monitor problem on fresh install
  • Hi everyone!
    I try to install airtime 1.9 and i have some problems.
    First, during the install process there's no probleme with airtime-check-system :



    [color=green]*** Verifying your system environment ***
    CPU                            = Quad-Core AMD Opteron(tm) Processor 2354
    Total RAM                      = 2097152 kB
    Free RAM                       = 1783400 kB
    OS                             = Ubuntu 10.04.2 LTS x86-64
    AIRTIME_CONFIG_FILES           = OK
    POSTGRESQL_DATABASE            = OK
    PYTHON_KOMBU_VERSION           = 1.2.0
    PYTHON_POSTER_VERSION          = 0.8.1
    PYTHON_MUTAGEN_VERSION         = 1.20
    PYTHON_PYINOTIFY_VERSION       = 0.9.2
    RABBITMQ_SERVER                = OK
    AIRTIME_VERSION_URL            = [url]http://localhost:80/api/version/api_key/%%api_key%%[/url]
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.0
    PLAYOUT_ENGINE_PROCESS_ID      = 7174
    PLAYOUT_ENGINE_RUNNING_SECONDS = 7
    LIQUIDSOAP_PROCESS_ID          = 7178
    LIQUIDSOAP_RUNNING_SECONDS     = 7
    MEDIA_MONITOR_PROCESS_ID       = 7240[/color]



    But if i try airtime-check-system i have:

     airtime-check-system 
    CPU                            = Quad-Core AMD Opteron(tm) Processor 2354
    Total RAM                      = 2097152 kB
    Free RAM                       = 1621220 kB
    OS                             = Ubuntu 10.04.2 LTS x86-64
    AIRTIME_CONFIG_FILES           = OK
    POSTGRESQL_DATABASE            = OK
    PYTHON_KOMBU_VERSION           = 1.2.0
    PYTHON_POSTER_VERSION          = 0.8.1
    PYTHON_MUTAGEN_VERSION         = 1.20
    PYTHON_PYINOTIFY_VERSION       = 0.9.2
    RABBITMQ_SERVER                = OK
    AIRTIME_VERSION_URL            = [url]http://localhost:80/api/version/api_key/%%api_key%%[/url]
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.0
    PLAYOUT_ENGINE_PROCESS_ID      = 7543
    PLAYOUT_ENGINE_RUNNING_SECONDS = 6714
    LIQUIDSOAP_PROCESS_ID          = 7549
    LIQUIDSOAP_RUNNING_SECONDS     = 6714
    MEDIA_MONITOR_PROCESS_ID       = 
    [color=red]MEDIA_MONITOR_RUNNING_SECONDS  = 0
      -- WARNING! It looks like the Media Monitor engine is continually restarting.
      -- 2011-08-16 11:17:44,314 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 33 -
      -- 
      -- *** Media Monitor bootup ***
      -- 
      -- 
      -- 2011-08-16 11:17:44,316 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 39 - Setting up monitor
      -- 2011-08-16 11:17:44,856 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 390 - Connected to Airtime Server. Json Media Storage Dir: {u'stor': u'/srv/airtime/stor/'}
      -- 2011-08-16 11:17:49,857 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 46 - Storage Directory is: /srv/airtime/stor/
      -- 2011-08-16 11:17:49,864 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 55 - Exception: [Errno 38] Function not implemented
      -- 2011-08-16 11:17:49,899 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 87 - Exception: name 'multi_queue' is not defined[/color]
    SHOW_RECORDER_PROCESS_ID       = 7213
    SHOW_RECORDER_RUNNING_SECONDS  = 9987
    ICECAST_PROCESS_ID             = 3474
    
      -- There appears to be problems with your setup. Please visit
      -- [url]http://wiki.sourcefabric.org/x/HABQ[/url] for troubleshooting info.
    





    Second problem, when i try to upload some MP3, they are in /srv/airtime/stor/organize but they don't appear in the playlist builder. I think this 2 problems are connected but i reinstall an reinstall correctly, slowly but whithout success.

    Thx for your help

    Sam

    PS: virtualenv 1.4.5 is installed




  • 16 Comments sorted by
  • Hi Sam.

    Can you please un-install Airtime, install it again and post the entire output of the installation sequence?
  • Thanks for your help!
  • Hi please try the following in a terminal:

    source /usr/lib/airtime/airtime_virtualenv/bin/activate
    python --version


    What does the 2nd command return?
    Airtime Pro Hosting: http://airtime.pro
  • Please attach the following file as well:

    /var/log/airtime/media-monitor/media-monitor.log
    Airtime Pro Hosting: http://airtime.pro
  • Hi Martin

    root@vpsid145:~# source
    /usr/lib/airtime/airtime_virtualenv/bin/activate
    (airtime_virtualenv)root@vpsid145:~# python --version
    Python 2.6.6


    and my /var/log/airtime/media-monitor/media-monitor.log

    2011-08-18 12:25:10,715 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 33 -
    
    *** Media Monitor bootup ***
    
    
    2011-08-18 12:25:10,716 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 39 - Setting up monitor
    2011-08-18 12:25:10,838 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 390 - Connected to Airtime Server. Json Media Storage Dir: {u'stor': u'/s$
    2011-08-18 12:25:15,843 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 46 - Storage Directory is: /srv/airtime/stor/
    2011-08-18 12:25:15,845 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 55 - Exception: [Errno 38] Function not implemented
    2011-08-18 12:25:15,857 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 87 - Exception: name 'multi_queue' is not defined
    
    



    Exactly like my airtime-check-system

    and now i try to install on ubuntu 10.10 and same problem


  • it seems the problem appears when apache is started because if i stop it, media monitor start correctly...
    But maybe it's a wrong way...
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    sure,
    the problem seems to become from python, but that's really srange...
    perharps a breaking download of airtime
    un-install it, re-download it (check md5) and try to re-install it again
  • OK
    because Ubuntu don't wants me, I don't want Ubuntu!!!
    I 've installed Airtime 1.9 on a debian squeeze and all is ok.

    Thx for the help
    I'll try to help but on debian

    best regards to members and airtime's team
    Sam
  • still same identical problem on 1.9.4-13
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    are you on x64 or x32 ?

    that could be the problem to
    if some declarations are not clearly declarated in the code, that could be the problem
    try it on an x32 version

    anyway someone know what is the difference between 1.9.4.12 and .13 ?
  • x64

    but it's incredible how buggy is 1.9! i successiful run a 1.8 and it's a more than one month i cant run 1.9!!!

    sorry but the machine is x64 and i got to stay there
  • lephio2, did you try to remove airtime and re-install using the auto-install guide?

  • i installed airtime from the repo.

    why so many people tell to uninstall-reinstall? we are on linux, not on windows!!!
  • Vote Up0Vote Down Jakub GórnickiJakub Górnicki
    Posts: 134Member, Administrator, Sourcefabric Team
    lephio2 wrote on Mon, 10 October 2011 22:01

    why so many people tell to uninstall-reinstall? we are on linux, not on windows!!!


    Smile
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    i'm agree with you, in general i don't do that.
    but, airtime seems to be not really clean with upgrade
    (for example, but you can find others : ls_script.liq is overwritted on every update, when you have made change, that's not really cool) and some dependencies are not really the same between versions 1.8.x an 1.9.x for example.

    I like this app, but install and upgrade process must be improved...

    the remove/reinstall are for the moment the better way...
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    On Tue, Oct 11, 2011 at 5:13 AM, Albert FR <
    airtime-support@lists.sourcefabric.org> wrote:

    > **
    > i'm aggry with you, in general i don't do that.
    > but, airtime seems to be not really clean with upgrade
    > (for example, but you can find others : ls_script.liq is overwritted on
    > every update, when you have made change, that's not really cool) and some
    > dependencies are not really the same between versions 1.8.x an 1.9.x for
    > example.
    >
    > I like this app, but install and upgrade process must be improved...
    >
    > the remove/reinstall are for the moment the better way...
    >

    Can you please explain what needs to be improved in the install/upgrade
    process? We've put an enormous amount of time into the install and upgrade
    process (about 60% of development effort for 1.9.4 was on install and
    upgrade). So it's important for us to know what is not working.

    The case of overwriting the ls_script.liq file is correct since we make
    changes to that file. In the future we may be able to arrange it so that
    it's easier to extend, but there is still a lot of features to put in to it
    and it will be changing often.

    - Paul