AirTime installation error | AirTime ошибка в установке
  • I installed all the packages, what required: rabbitmq-server, liquidsoap, Icecast2, monit but the installator can't see them.

    typing
    apt-get install airtime

    Finish Result

    *** 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                             = Debian GNU/Linux 6.0.4 (squeeze) x86_64
    CPU                            = Intel(R) Xeon(R) CPU           X3440  @ 2.53GHz
    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.

    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    configured to not write apport reports
                                          Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Why it's going on? What I missed?

    -----

    Я установил все необходимые дополнения: rabbitmq-server, liquidsoap, Icecast2, но установщик Airtime не видит их! 

    После:
    apt-get install airtime

    Все в порядке, но на самой последней стадии:

    *** 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                             = Debian GNU/Linux 6.0.4 (squeeze) x86_64
    CPU                            = Intel(R) Xeon(R) CPU           X3440  @ 2.53GHz
    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.

    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    configured to not write apport reports
                                          Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Help me, please :)
    Помогите мне, пожалуйста :)

    UPD:

    root@:~# /etc/init.d/monit start
    Starting daemon monitor: monit.
    root@:~# /etc/init.d/lliquidsoap startt
    Starting channels: OK
    root@:~# /etc/init.d/icecast2 start
    Starting icecast2: root@:~#
    root@:~# /etc/init.d/rabbitmq-server start
    Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err
    rabbitmq-server.

    Some problem with a Rabbitmq. starttup_log:
    Starting all nodes...
    Starting node rabbit@mywebsitewithoutcom...

    WHATTA?!

    Debian 6 x64.
    Post edited by Игорь at 2012-04-15 16:25:56
  • 18 Comments sorted by
  • UP
    Post edited by Игорь at 2012-04-12 12:57:37
  • UP please!
  • up
    Post edited by Игорь at 2012-04-15 05:56:31
  • Looks like a problem with your rabbitmq installation in addition to an error with your webserver.

    what webserver are you using and post a copy of the rabbitmq config

    Post edited by Morgan McMurry at 2012-04-13 15:05:59
  • also helpful would be for you to run

    apt-get install airtime >> install.log and then post the install.log

  • Xen VPS 768 MB
    Debian 6 Blank x64.

    Don't understand how I can get install.log :(

    About rabbitmq. There is a trouble: there is nothing in the /etc/rabbitmq/. Now gonna to try reinstall the rabbitmq-server. 

    P.S. I was looked for config file of rabbitmq-server with help of ISP Manager. Check it on WinSCP. 
  • Yeah, in WinSCP same thing. I was installed rabbitmq-server by:
    apt-get install rabbitmq-server

    And were not any additional actions.) Just this line and that's all. Something wrong?
  • log of rabbitmq-server installation

    #gdebi rabbitmq-server_2.8.1-1_all.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Building data structures... Done
    Building data structures... Done


    An AMQP server written in Erlang
     RabbitMQ is an implementation of AMQP, the emerging standard for high
     performance enterprise messaging. The RabbitMQ server is a robust and
     scalable implementation of an AMQP broker.
    Do you want to install the software package? [y/N]:y
    Selecting previously deselected package rabbitmq-server.
    (Reading database ... 51489 files and directories currently installed.)
    Unpacking rabbitmq-server (from rabbitmq-server_2.8.1-1_all.deb) ...
    Setting up rabbitmq-server (2.8.1-1) ...
    Adding group `rabbitmq' (GID 113) ...
    Done.
    Adding system user `rabbitmq' (UID 110) ...
    Adding new user `rabbitmq' (UID 110) with group `rabbitmq' ...
    Not creating home directory `/var/lib/rabbitmq'.
    Starting rabbitmq-server: SUCCESS
    rabbitmq-server.
    Processing triggers for man-db ...

    that's all.
    Post edited by Игорь at 2012-04-13 18:02:35
  • Hi,

    Is you apache vhost file configured correctly? Can you post that file?

    Thank you

  • Hi,

    Thanks, for your answer!

    File: /etc/apache2/sites-available/airtime-vhost:

    <VirtualHost *:80>
          ServerName MYWEBSITE.COM
          #ServerAlias www.example.com

          ServerAdmin iamzloy@gmail.com

          DocumentRoot /usr/share/airtime/public
          DirectoryIndex index.php

          SetEnv APPLICATION_ENV "production"

          <Directory /usr/share/airtime/public>
                  Options -Indexes FollowSymLinks MultiViews
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          </Directory>
    </VirtualHost> 

    Or you may another file?
  • /etc/apache2/httpd.conf ? 
  • httpd.conf is empty.
  • Hi,

    Can you please completely remove airtime and install it again? Please post the output of install.

  • ~# apt-get install airtime
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
      airtime-audio-samples alsa-utils
    The following NEW packages will be installed:
      airtime
    0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
    Need to get 0 B/7653 kB of archives.
    After this operation, 30.8 MB of additional disk space will be used.
    Preconfiguring packages ...
    Selecting previously deselected package airtime.
    (Reading database ... 51672 files and directories currently installed.)
    Unpacking airtime (from .../airtime_2.0.3-1_all.deb) ...
    Processing triggers for man-db ...
    Setting up airtime (2.0.3-1) ...
    Site airtime-vhost already disabled
    Setting up apache2...
    Enabling site airtime-vhost.
    Run '/etc/init.d/apache2 reload' to activate new configuration!
    Module rewrite already enabled
    Site default already disabled
    Configuring php5...
    Setting up icecast2...
    Restarting icecast2: Starting icecast2
    Detaching from the console
    icecast2.
    Setting up monit configuration...
    Stopping daemon monitor: monit.
    Starting daemon monitor: monit.
    Restarting web server: apache2 ... waiting .

    Debian package of Airtime detected...

    * Checking for existing Airtime installation...
     * None found.

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

    *** Creating Virtualenv for Airtime ***
    Running virtualenv with interpreter /usr/bin/python2.6
    New python executable in /usr/lib/airtime/airtime_virtualenv/bin/python2.6
    Also creating executable in /usr/lib/airtime/airtime_virtualenv/bin/python
    Installing distribute.................................................................................................................................................................................done.

    *** Installing Python Libraries ***
    Unpacking /var/lib/airtime/tmp/python_apps/python-virtualenv/airtime_virtual_env.pybundle
    Downloading/unpacking kombu
      Running setup.py egg_info for package kombu
    Downloading/unpacking poster
      Running setup.py egg_info for package poster
    Downloading/unpacking anyjson
      Running setup.py egg_info for package anyjson
    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 pyinotify
      Running setup.py egg_info for package pyinotify
    Downloading/unpacking amqplib
      Running setup.py egg_info for package amqplib
    Downloading/unpacking mutagen
      Running setup.py egg_info for package mutagen
    Downloading/unpacking configobj
      Running setup.py egg_info for package configobj
    Installing collected packages: amqplib, anyjson, configobj, kombu, mutagen, poster, pyinotify, pytz
      Running setup.py install for amqplib
      Running setup.py install for anyjson
      Running setup.py install for configobj
      Running setup.py install for kombu
      Running setup.py install for mutagen
        changing mode of build/scripts-2.6/mutagen-pony from 644 to 755
        changing mode of build/scripts-2.6/moggsplit from 644 to 755
        changing mode of build/scripts-2.6/mutagen-inspect from 644 to 755
        changing mode of build/scripts-2.6/mid3iconv from 644 to 755
        changing mode of build/scripts-2.6/mid3v2 from 644 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/mutagen-inspect 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 poster
      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'
    Successfully installed amqplib anyjson configobj kombu mutagen poster pyinotify pytz
    Cleaning up...

    *** Patching Python Libraries ***

       ---Applying Patches for mutagen---
    patching file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py
    Hunk #2 succeeded at 169 (offset -4 lines).
    patching file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py
    Hunk #1 succeeded at 204 (offset -5 lines).
    * Checking for user pypo
     * Creating user pypo
    * 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 /usr/share/airtime
    * Creating /var/log/airtime
    * Creating /var/tmp/airtime
    * Creating INI files
    * Initializing INI files
    * Airtime Version: 2.0.3
    * Storage directory setup
    * Skipping directory already exists: /srv/airtime/stor
    * Giving Apache permission to access /srv/airtime/stor
    * Skipping directory already exists: /srv/airtime/stor/organize
    * Giving Apache permission to access /srv/airtime/stor/organize

    * Database Installation
     * Creating Airtime database user
      * Database user 'airtime' created.
     * Creating Airtime database
      * Database 'airtime' created.
     * Installing Postgres scripting language
     * Creating database tables
     * Setting Airtime version
     * Inserting stor directory location /srv/airtime/stor/ into music_dirs table
    * Waiting for media-monitor processes to start...
    Starting Airtime Media Monitor: Done.
    * Detecting OS: ...  Found Debian GNU/Linux 6.0.4 (squeeze) (squeeze) on amd64 architecture
    Unable to connect to the Airtime server.
    * Waiting for pypo processes to start...
    Stopping daemon monitor: monit.
    Starting daemon monitor: monit.

    *** 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                             = Debian GNU/Linux 6.0.4 (squeeze) x86_64
    CPU                            = Intel(R) Xeon(R) CPU           X3440  @ 2.53GHz
    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.

    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    configured to not write apport reports
                                          Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • When trying to reload Apache with deleted airtime

    # /etc/init.d/apache2 reload
    Reloading web server config: apache2Warning: DocumentRoot [/usr/share/airtime/public] does not exist
    .

    When airtime "installed":
    /etc/init.d/apache2 reload
    Reloading web server config: apache2.



  • :(
  • Hi,

    Some things look suspicious here. 

    Please find your api_key (don't post it here) in /etc/airtime/airtime.conf. 

    Now replace "%%api_key%%" in http://localhost/api/status/format/json/api_key/%%api_key%% with the api_key.

    Open this URL with a browser and tell us what you see.
    Airtime Pro Hosting: http://airtime.pro
  • Thank you for your answer, but actualy I already installed Ubuntu and everything is OK.