Skip to content

Instantly share code, notes, and snippets.

@dz0ny
Created April 9, 2012 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dz0ny/2343287 to your computer and use it in GitHub Desktop.
Save dz0ny/2343287 to your computer and use it in GitHub Desktop.
vagrant-airtime-beta3
2.1 NGINX Config File
----------------------------------------------------
Reloading nginx configuration: nginx.
----------------------------------------------------
2.2 Airtime php pool file
----------------------------------------------------
* Reloading PHP5 FastCGI Process Manager php5-fpm
...done.
----------------------------------------------------
3. Enable Icecast
----------------------------------------------------
Starting icecast2: Starting icecast2
Detaching from the console
icecast2.
----------------------------------------------------
4. Enable Monit
----------------------------------------------------
----------------------------------------------------
5. Run Airtime Install
----------------------------------------------------
Starting icecast2
Detaching from the console
* Checking for existing Airtime installation...
* None found.
******************************** Install Begin *********************************
Ensuring python-virtualenv version > 1.4.8...Success!
*** Creating Virtualenv for Airtime ***
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 pip...............done.
Running virtualenv with interpreter /usr/bin/python2.6
*** Installing Python Libraries ***
Unpacking /tmp/vagrant-chef-1/airtime-2.1.0/python_apps/python-virtualenv/airtime_virtual_env.pybundle
Downloading/unpacking configobj
Running setup.py egg_info for package configobj
Downloading/unpacking mutagen
Running setup.py egg_info for package mutagen
Downloading/unpacking kombu
Running setup.py egg_info for package kombu
Downloading/unpacking anyjson
Running setup.py egg_info for package anyjson
Downloading/unpacking pyinotify
Running setup.py egg_info for package pyinotify
Downloading/unpacking poster
Running setup.py egg_info for package poster
Downloading/unpacking amqplib
Running setup.py egg_info for package amqplib
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'
Installing collected packages: configobj, mutagen, kombu, anyjson, pyinotify, poster, amqplib, pytz
Running setup.py install for configobj
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/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/moggsplit 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/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/moggsplit to 755
changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mid3v2 to 755
Running setup.py install for kombu
Running setup.py install for anyjson
Running setup.py install for pyinotify
Running setup.py install for poster
Running setup.py install for amqplib
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 configobj mutagen kombu anyjson pyinotify poster amqplib 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.1.0
* 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
* Database Installation
* Creating Airtime database user
* Database user 'airtime' created.
* Creating Airtime database
createdb: database creation failed: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.
* Database 'airtime' already exists.
DB Error: connect failed
[nativecode=pg_connect(): Unable to connect to PostgreSQL server: FATAL: database "airtime" does not exist] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
Database connection problem.
Check if database 'airtime' exists with corresponding permissions.
Starting Airtime Media Monitor: Done.
* Waiting for media-monitor processes to start...
No handlers could be found for logger "root"
* Detecting OS: ... Found Ubuntu 11.10 (oneiric) on amd64 architecture
* Installing Liquidsoap binary
Unable to connect to the Airtime server.
* 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 = FAILED
-- There appears to be a problem with your Airtime installation.
-- Please visit http://wiki.sourcefabric.org/x/HABQ
STDERR:
---- End output of sudo /tmp/vagrant-chef-1/airtime-*/install_full/ubuntu/airtime-full-install-nginx ----
Ran sudo /tmp/vagrant-chef-1/airtime-*/install_full/ubuntu/airtime-full-install-nginx returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment