Fresh install 1.9.4-13
  • i love airtime, but i still can't have a no-errors installation:

    # airtime-check-system 
    CPU                            = Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    Total RAM                      = 1048576 kB
    Free RAM                       = 0 kB
    OS                             = Ubuntu 10.04.3 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            = http://radio.lephio.org:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.4
    PLAYOUT_ENGINE_PROCESS_ID      = 18085
    PLAYOUT_ENGINE_RUNNING_SECONDS = 130
    LIQUIDSOAP_PROCESS_ID          = 18145
    LIQUIDSOAP_RUNNING_SECONDS     = 130
    MEDIA_MONITOR_PROCESS_ID       = 
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
      -- WARNING! It looks like the Media Monitor engine is continually restarting.
      -- 2011-10-09 21:39:09,108 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 32 -
      -- 
      -- *** Media Monitor bootup ***
      -- 
      -- 
      -- 2011-10-09 21:39:09,109 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 38 - Setting up monitor
      -- 2011-10-09 21:39:09,322 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 394 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}
      -- 2011-10-09 21:39:14,322 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 46 - Storage Directory is: /srv/airtime/stor/
      -- 2011-10-09 21:39:14,324 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 55 - Exception: [Errno 38] Function not implemented
      -- 2011-10-09 21:39:14,344 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 92 - Exception: name 'multi_queue' is not defined
    SHOW_RECORDER_PROCESS_ID       = 16368
    SHOW_RECORDER_RUNNING_SECONDS  = 136
    ICECAST_PROCESS_ID             = 18189
    
    


    Any help?
  • 17 Comments sorted by
  • ..and if i upload some media, after giving me a "successiful" message, i can't see the file in the playlist builder
  • add this line :
    # -*- coding: utf-8 -*-
    at the first line of :
    /var/lib/airtime/tmp/python_apps/media-monitor/MediaMonitor. py

    no way Sad
  • Hi Lephio,

    Is this your own machine, or is someone hosting for you?

    Go into the terminal and type "python". A little python interpreter will run, and enter the following two commands:

    >>> from multiprocessing import Queue
    >>> Queue()


    What happens after you type the second command?
    Airtime Pro Hosting: http://airtime.pro
  • Hi Lephio, did you get your problem fixed?
    Airtime Pro Hosting: http://airtime.pro
  • Hi, I've read the topic about the problem that Lephio submitted.
    It seems that I have the same problem:
    airtime-check-system returns
    CPU                            = Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
    Total RAM                      = 524288 kB
    Free RAM                       = 257332 kB
    OS                             = Ubuntu 11.04 Intel 80386
    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            = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.4
    PLAYOUT_ENGINE_PROCESS_ID      = 15550
    PLAYOUT_ENGINE_RUNNING_SECONDS = 7659
    LIQUIDSOAP_PROCESS_ID          = 15556
    LIQUIDSOAP_RUNNING_SECONDS     = 7659
    MEDIA_MONITOR_PROCESS_ID       = 17685
    MEDIA_MONITOR_RUNNING_SECONDS  = 6
    SHOW_RECORDER_PROCESS_ID       = 15585
    SHOW_RECORDER_RUNNING_SECONDS  = 7658
    ICECAST_PROCESS_ID             = 14161
    


    the log file of media-monitor:
    2011-10-26 16:11:46,930 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 38 - Setting up monitor
    2011-10-26 16:11:48,689 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 394 - Connected to Airtime Server. Json Media Storag$
    2011-10-26 16:11:53,723 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 46 - Storage Directory is: /srv/airtime/stor/
    2011-10-26 16:11:53,726 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 55 - Exception: [Errno 38] Function not implemented
    2011-10-26 16:11:53,822 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 92 - Exception: name 'multi_queue' is not defined
    2011-10-26 16:11:58,011 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 32 -
    


    Finally I typed the command in the python terminal:
    >>> from multiprocessing import Queue
    >>> Queue()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python2.7/multiprocessing/__init__.py", line 215, in Queue
        return Queue(maxsize)
      File "/usr/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
        self._rlock = Lock()
      File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
        SemLock.__init__(self, SEMAPHORE, 1, 1)
      File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
        sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
    OSError: [Errno 38] Function not implemented
    

    Any help for fixing this problem?
    Thank you in advance

    dddonza
  • Hi,

    Are you running on a hosted server? This has something to do with permissions on /dev/shm

    https://github.com/ask/celery/issues/185
    http://stackoverflow.com/questions/2009278/python-multiproce ssing-permission-denied
    http://stackoverflow.com/questions/6033599/oserror-38-errno- 38-with-multiprocessing

    What is the output of the following 2 lines:

    ls -l /dev | grep shm
    ls -l /run | grep shm
    Airtime Pro Hosting: http://airtime.pro
  • Hi,
    yes, it is running on a hosted VPS.
    the output is
    root@mcp:/# ls -l /dev | grep shm
    drwxr-xr-x 2 root   root     4096 Jun 13 06:46 shm
    root@mcp:/# ls -l /run | grep shm
    ls: cannot access /run: No such file or directory
    

    I've tried by assigning full permissions with chmod to /dev/shm, but still not working, the media-monitor.log is the same and the uploaded files are not displayed in the Playlist Builder.
  • What are the permissions of /dev/shm after you've changed the permissions? Please do another
    ls -l /dev | grep shm
    Airtime Pro Hosting: http://airtime.pro
  • sorry I forgot to post it
    drwxrwxrwx 2 root   root     4096 Jun 13 06:46 shm
    
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    this version is bugged Sad
    all working fine with the .12
    but no with this one ...
    WE NEED A NEW VERSION BUG FREE REALLY SOON !
    that's not really cool when we are online and system require update ...
  • ok I will try the previous version.
    thank you anyway.
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    to be honest, the big default of this version is the impossibility to upgrade from the previous...
    and some stange dependencies not really assumed between the last version and this one...
  • Hi David,

    This problem has nothing to do with Airtime. As you see we depend on the multiprocessing package within python, which does not work on your system (as you saw when typing into the python interpreter in the terminal).

    I will try to look into this more over the weekend, in the meantime did you try the solutions that were found in those links I posted? Since we don't have a single system with this problem, it is hard to resolve.

    Who is your hosting company?
    Airtime Pro Hosting: http://airtime.pro
  • Sorry for my late update about the problem. After reading carefully the links you sent me, I was able to fix it.
    I added the following to my /etc/fstab/

    none dev/shm tmpfs rw,nosuid,nodev,noexec 0 0

    then rebooted the server. After that, everything was fine with airtime media monitor. RadiOsvaldo will give thanks you for your help!
    Post edited by Jakub Górnicki at 2011-11-03 14:18:28
  • worked! grazie davide!
  • grazie davide!