Airtime install
  • bonjour j ai utiliser le tar.gz

    en fin d install j ai

    *** Verifying your system environment, running airtime-check-system ***
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Ubuntu 10.04.4 LTS x86_64
    CPU                            = Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
    WEB_SERVER                     = A
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = 0
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%

    -- There appears to be a problem with your Airtime installation.


  • 40 Comments sorted by
  • What is the output of 

    "sudo monit status"?
    Airtime Pro Hosting: http://airtime.pro
  • u have chat ? irc ??
  • monit: error connecting to the monit daemon
  • i have changing now i have
    The Monit daemon 5.0.3 uptime: 0m

    Process 'rabbitmq-server'
      status                            running
      monitoring status                 monitored
      pid                               3016
      parent pid                        1
      uptime                            0m
      children                          3
      memory kilobytes                  19436
      memory kilobytes total            21048
      memory percent                    0.4%
      memory percent total              0.5%
      cpu percent                       0.0%
      cpu percent total                 0.0%
      data collected                    Fri Jul 13 02:53:46 2012

    Process 'airtime-playout'
      status                            not monitored
      monitoring status                 not monitored
      data collected                    Fri Jul 13 02:53:36 2012

    Process 'airtime-media-monitor'
      status                            Does not exist
      monitoring status                 monitored
      data collected                    Fri Jul 13 02:53:36 2012

    Process 'airtime-liquidsoap'
      status                            PID changed
      monitoring status                 monitored
      pid                               4054
      parent pid                        0
      uptime                            0m
      children                          0
      memory kilobytes                  0
      memory kilobytes total            0
      memory percent                    0.0%
      memory percent total              0.0%
      cpu percent                       0.0%
      cpu percent total                 0.0%
      data collected                    Fri Jul 13 02:53:36 2012

    System 'sd-34678'
      status                            running
      monitoring status                 monitored
      load average                      [0.11] [0.07] [0.02]
      cpu                               1.0%us 0.2%sy 0.0%wa
      memory usage                      176504 kB [4.2%]
      data collected                    Fri Jul 13 02:53:36 2012



  • Please look in 

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

    and

    /var/log/airtime/pypo/pypo.log

    and tell us if anything looks suspicious
    Airtime Pro Hosting: http://airtime.pro
  • root@/# /etc/init.d/airtime-playout start
    Starting Airtime Playout: chown: cannot access `/etc/airtime/liquidsoap.cfg': No such file or directory
    Done.


    ######################## /var/log/airtime/media-monitor/media-monitor.log
    2012-07-13 02:53:07,083 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 78 -

    *** Media Monitor bootup ***


    2012-07-13 02:53:07,083 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 31 - Before ANSI_X3.4-1968
    2012-07-13 02:53:07,083 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 35 - No locale currently set. Attempting to get default locale.
    2012-07-13 02:53:07,083 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 39 - No default locale exists. Let's try loading from /etc/default/locale
    2012-07-13 02:53:07,083 INFO - [MainThread] [media_monitor.py : configure_locale()] : LINE 50 - New locale set to: C
    2012-07-13 02:53:07,084 ERROR - [MainThread] [media_monitor.py : <module>()] : LINE 143 - Exception: 'NoneType' object has no attribute 'lower'
    2012-07-13 02:53:07,084 ERROR - [MainThread] [media_monitor.py : <module>()] : LINE 144 - traceback: Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/media_monitor.py", line 82, in <module>
        configure_locale()
      File "/usr/lib/airtime/media-monitor/media_monitor.py", line 56, in configure_locale
        current_locale_encoding = locale.getlocale()[1].lower()
    AttributeError: 'NoneType' object has no attribute 'lower'

    2012-07-13 02:53:11,292 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 78 -


    #######################/var/log/airtime/pypo/pypo.log


    012-07-13 02:53:07,172 DEBUG - [pypocli.py : configure_locale() : line 54] - Before ANSI_X3.4-1968
    2012-07-13 02:53:07,173 DEBUG - [pypocli.py : configure_locale() : line 58] - No locale currently set. Attempting to get default locale.
    2012-07-13 02:53:07,173 DEBUG - [pypocli.py : configure_locale() : line 62] - No default locale exists. Let's try loading from /etc/default/locale
    2012-07-13 02:53:07,173 INFO - [pypocli.py : configure_locale() : line 73] - New locale set to: C
    2012-07-13 02:53:08,333 DEBUG - [pypocli.py : configure_locale() : line 54] - Before ANSI_X3.4-1968


  • i have probleme 4GB/4GB use memory with python generate_liquidsaop_cfg.py
  • Ok so it looks like your system locale's are not set up on this machine.

    Please download Airtime 2.1.3 and try installing. It will see your locales are not correctly configured and tell you exactly what you need to do.

    Airtime Pro Hosting: http://airtime.pro
  • i have install this doesnt work !
  • u want to see my terminal ?
  • Sure :). So you downloaded and installed the Airtime 2.1.3 today? It was released only a few hours ago.
    Airtime Pro Hosting: http://airtime.pro
  • yes sure :)
  • 5. Run Airtime Install
    ----------------------------------------------------
    * Making sure /etc/default/locale is set properly
     * Fail

    A non UTF-8 default locale found in /etc/default/locale. Airtime requires
    a UTF-8 locale to run. To fix this please do the following:

    Ubuntu:
    Put line 'en_US.UTF-8 UTF-8' (or similar) without quotes to '/var/lib/locales/supported.d/local',
    replacing any existing lines.
    A list of supported locales is available in '/usr/share/i18n/SUPPORTED'
    Then run 'sudo dpkg-reconfigure locales'

  • /var/lib/locales/supported.d/local

    fr_FR.UTF-8 UTF-8
    en_US.UTF-8 UTF-8


  • After you run 'sudo dpkg-reconfigure locales'


    what is the contents of '/etc/default/locale' ?
    Airtime Pro Hosting: http://airtime.pro

  • #  File generated by update-locale

  • i can add fr_FR.UTF-8 UTF-8
    en_US.UTF-8 UTF-8 on 

    '/etc/default/locale'  ??
  • Try this first:

    'sudo locale-gen fr_FR.UTF-8'

    then 'sudo dpkg-reconfigure locales'


    Airtime Pro Hosting: http://airtime.pro
  • * Making sure /etc/default/locale is set properly
     * Fail

    A non UTF-8 default loca
  • /etc/default/locale empty
  • Try

    'update-locale LANG=fr_FR.UTF-8 LANGUAGE=fr_FR:fr'


    Post edited by Martin Konecny at 2012-07-13 16:11:56
    Airtime Pro Hosting: http://airtime.pro
  •    ---Applying Patches for mutagen---
    patching file site-packages/mutagen/mp3.py
    Hunk #2 succeeded at 169 (offset -4 lines).
    patching file site-packages/mutagen/mp3.py
    Hunk #1 succeeded at 204 (offset -5 lines).
    * Checking for user pypo
     * Creating user pypo
    * Creating INI files
    * Initializing INI files
    * Airtime Version: 2.1.3
    * Storage directory setup
    * Directory /srv/airtime/stor created
    * Giving Apache permission to access /srv/airtime/stor
    * Directory /srv/airtime/stor/organize created
    * Giving Apache permission to access /srv/airtime/stor/organize
    * Checking database for correct encoding
     * Unfortunately your postgresql database has not been created using a UTF-8 encoding.
     * As of Airtime 2.1, installs will fail unless the encoding has been set to UTF-8. Please verify this is the ca                 se
     * and try the install again
    There was an error during install. Exit code 1

  • postgressql ? use iso ?
  • /home/airtime-2.1.3/install_full/ubuntu# locale -a
    C
    POSIX
    en_US.utf8
    fr_FR.utf8

  • Ok, you will also need your database to use UTF-8 encoding. Otherwise you cannot insert tracks with unicode names/metadata.

    "In most cases, if you are working with any non-ASCII data, it is unwise to use the SQL_ASCII setting, because PostgreSQL will be unable to help you by converting or validating non-ASCII characters."

    There is 2 things you can do now: completely remove postgresql (sudo apt-get purge postgresql*) and reinstall it again, or following these instructions if you have data in your database:


    We have a similar thread here:
    Airtime Pro Hosting: http://airtime.pro
  • not found for dump :(
  • /home/airtime-2.1.3/install_full/ubuntu# locale -a
    C
    POSIX
    en_US.utf8
    fr_FR.utf8

    it s utf8
  • AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-10-pve
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 4194304
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.1.3
    OS                             = Ubuntu 10.04.4 LTS x86_64
    CPU                            = Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
    WEB_SERVER                     = Apache/2.2.14 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 10429
    PLAYOUT_ENGINE_RUNNING_SECONDS = 11
    PLAYOUT_ENGINE_MEM_PERC        = 0.3%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 10432
    LIQUIDSOAP_RUNNING_SECONDS     = 11
    LIQUIDSOAP_MEM_PERC            = 0.4%
    LIQUIDSOAP_CPU_PERC            = 0.0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = -1
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = 3084
    RABBITMQ_RUNNING_SECONDS       = 10
    RABBITMQ_MEM_PERC              = 0.5%
    RABBITMQ_CPU_PERC              = 0.0%



  • Almost there :)

    Please look in /var/log/airtime/media-monitor and post py-interpreter.log and media-monitor.log
    Airtime Pro Hosting: http://airtime.pro
  • 2012-07-14 00:39:43,793 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 78 -

    *** Media Monitor bootup ***


    2012-07-14 00:39:43,794 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 31 - Before ANSI_X3.4-1968
    2012-07-14 00:39:43,794 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 35 - No locale currently set. Attempting to get default locale.
    2012-07-14 00:39:43,795 INFO - [MainThread] [media_monitor.py : configure_locale()] : LINE 50 - New locale set to: fr_FR.UTF8
    2012-07-14 00:39:43,795 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 57 - sys default encoding UTF-8
    2012-07-14 00:39:43,795 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 58 - After UTF-8
    2012-07-14 00:39:43,970 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 88 - Setting up monitor
    2012-07-14 00:39:44,206 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 398 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}
    2012-07-14 00:39:49,211 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 96 - Storage Directory is: /srv/airtime/stor/
    2012-07-14 00:39:49,214 ERROR - [MainThread] [media_monitor.py : <module>()] : LINE 143 - Exception: [Errno 38] Function not implemented
    2012-07-14 00:39:49,215 ERROR - [MainThread] [media_monitor.py : <module>()] : LINE 144 - traceback: Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/media_monitor.py", line 108, in <module>
        multi_queue = mpQueue()
      File "/usr/lib/python2.6/multiprocessing/__init__.py", line 213, in Queue
        return Queue(maxsize)
      File "/usr/lib/python2.6/multiprocessing/queues.py", line 37, in __init__
        self._rlock = Lock()
      File "/usr/lib/python2.6/multiprocessing/synchronize.py", line 117, in __init__
        SemLock.__init__(self, SEMAPHORE, 1, 1)
      File "/usr/lib/python2.6/multiprocessing/synchronize.py", line 49, in __init__
        sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
    OSError: [Errno 38] Function not implemented

    2012-07-14 00:39:55,023 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 78 -


    empty for py !



  • when i upload musique it s good i see on folder but not and playlist builder
  • how i add

     added the following to my /etc/fstab/

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

    ???
  • 'sudo nano /etc/fstab'
    Airtime Pro Hosting: http://airtime.pro
  • how i can see it s good now ?
  • sudo airtime-check-system
    Airtime Pro Hosting: http://airtime.pro
  • work ! thx you have manuel for master source ? config and thx  you are boss oO
  • Click on "Help" in Airtime and you will see link to "User Manual" :)
    Airtime Pro Hosting: http://airtime.pro
  • i think there are bug for playlist and calandar 
  • i can t delete playlist empty oO but its work 
    http://ca.spin-waves.com:8000/ thx ;)