installation error on a fresh ubuntu 12.04
  • Hi
    On a fresh ubuntu 12.04 i can't install airtime
    I have installed iredmail which install pyhton
     python --version
    Python 2.7.3

    I have tried the manual install

    check
    5. Run Airtime Install
    ----------------------------------------------------
    * Making sure /etc/default/locale is set properly
    LANG=en_US.UTF-8
     * None found.
    * Temporarily stopping any previous running services

    ******************************** Install Begin *********************************
    Ensuring python-virtualenv version > 1.4.8...Success!

    *** Creating Virtualenv for Airtime ***
    Already using interpreter /usr/bin/python
    The --no-site-packages flag is deprecated; it is now the default behavior.
    New python executable in /usr/lib/airtime/airtime_virtualenv/bin/python
    Installing distribute...........................................................................                                                                        ................................................................................................                                                                        ..................done.
    Installing pip...............done.

    *** Installing Python Libraries ***
    Unpacking /root/airtime-2.1.3/python_apps/python-virtualenv/airtime_virtual_env.pybundle
    Downloading/unpacking pyinotify
      Running setup.py egg_info for package pyinotify

    Downloading/unpacking pytz
      Running setup.py egg_info for package pytz

        warning: no files found matching '*.pot' under directory 'pytz'
        warning: no previously-included files found matching 'test_zdump.py'
    Downloading/unpacking mutagen
      Running setup.py egg_info for package mutagen

    Downloading/unpacking anyjson
      Running setup.py egg_info for package anyjson

    Downloading/unpacking configobj
      Running setup.py egg_info for package configobj

    Downloading/unpacking amqplib
      Running setup.py egg_info for package amqplib

    Downloading/unpacking kombu
      Running setup.py egg_info for package kombu

    Downloading/unpacking poster
      Running setup.py egg_info for package poster

    Installing collected packages: pyinotify, pytz, mutagen, anyjson, configobj, amqplib, kombu, pos                                                                        ter
      Running setup.py install for pyinotify

      Running setup.py install for pytz

        warning: no files found matching '*.pot' under directory 'pytz'
        warning: no previously-included files found matching 'test_zdump.py'
      Running setup.py install for mutagen
        changing mode of build/scripts-2.7/mutagen-inspect from 644 to 755
        changing mode of build/scripts-2.7/mutagen-pony from 644 to 755
        changing mode of build/scripts-2.7/moggsplit from 644 to 755
        changing mode of build/scripts-2.7/mid3iconv from 644 to 755
        changing mode of build/scripts-2.7/mid3v2 from 644 to 755

        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mutagen-inspect to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mutagen-pony to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/moggsplit to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mid3iconv to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mid3v2 to 755
      Running setup.py install for anyjson

      Running setup.py install for configobj

      Running setup.py install for amqplib

      Running setup.py install for kombu

      Running setup.py install for poster

    Successfully installed pyinotify pytz mutagen anyjson configobj amqplib kombu poster
    Cleaning up...

    *** Patching Python Libraries ***
     * Patching virtualenv libraries in /usr/lib/airtime/airtime_virtualenv/lib/python2.7

       ---Applying Patches for mutagen---
    patching file site-packages/mutagen/mp3.py
    Hunk #1 succeeded at 205 (offset -4 lines).
    patching file site-packages/mutagen/mp3.py
    Hunk #2 succeeded at 169 (offset -4 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
    could not change directory to "/root/airtime-2.1.3/install_minimal"

    * Database Installation
     * Creating Airtime database user
      * Database user 'airtime' created.
     * Creating Airtime database
    could not change directory to "/root/airtime-2.1.3/install_minimal"
      * Database 'airtime' created.
      * Postgres scripting language already installed
     * Creating database tables
     * Setting Airtime version
     * Inserting stor directory location /srv/airtime/stor/ into music_dirs table
    * Creating /etc/airtime
    * Creating /etc/monit/conf.d/monit-airtime-generic.cfg
    * Creating /etc/cron.d/airtime-crons
    * Creating /usr/lib/airtime
    * Creating symbolic links in /usr/bin
    * Creating /var/log/airtime
    * Creating /usr/share/airtime
    * Creating /var/log/airtime
    * Creating /var/tmp/airtime
    Starting Airtime Media Monitor: Done.
    * Waiting for media-monitor processes to start...
    * Detecting OS: ...  Found Ubuntu 12.04.1 LTS (precise) on amd64 architecture
     * Installing Liquidsoap binary
    * Clearing previous pypo cache
    * Waiting for pypo processes to start...
     * Stopping daemon monitor monit
       ...done.
     * Starting daemon monitor monit
       ...done.

    *** Verifying your system environment, running airtime-check-system ***
    AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Ubuntu 12.04.1 LTS x86_64
    CPU                            = Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
    WEB_SERVER                     = Apache
    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.

    -- Please visit http://wiki.sourcefabric.org/x/HABQ

    Post edited by lechevo at 2012-09-05 08:15:33