[SOLVED] Newbie needing a few questions answered
  • Hey all -

    So excited about Airtime.  I'm starting an internet radio show, and it seems airtime is EXACTLY what I am looking for.  Here is the kicker... I'm not a "Server" guy... I'm more of a web dude, so I'm hoping with your help, I can get up and running.

    Here are a few first step questions...

    1)  I have a DV at Media Temple... will this do the trick?  (linux server)

    2)  If anyone has set up airtime on a Media Temple DV server, and has good step by step instructions, that would be helpful!

    Guess we can start there.  Thanks again in advance!!!

    Lance
    Post edited by Lance Korsun at 2011-11-30 07:13:02
    www.djlance.net
    @djlancestl
  • 50 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,

    first off, Media Temple DV server should contain Ubuntu (from 10.04) and at least 1Gb of RAM.
    After then you can follow the manual: http://en.flossmanuals.net/airtime/automated-installation/
  • Hi Lance,

    I should mention that we do the hosting ourselves. We setup everything for you, and you just need to log in.

    Airtime Pro Hosting: http://airtime.pro
  • @martin -  thanks!  --  I have 2 DV servers and 1 VE server with media temple that I am paying a nice fee for already -- so I was wanting to use one of those servers while i had the space --- at least to test out airtime.

    @Andrey - I've looked at those flossmanuals -- and they look like another language -- but I'm going to give it a shot... so -- i'll post my questions here for help!  :)

    Actually -- here is a good question.. should airtime run on it's own IP?

    thanks guys!
    Lance 
    www.djlance.net
    @djlancestl
  • The Airtime admin interface requires the root folder of your webserver. This will be fixed in an upcoming release.
    Airtime Pro Hosting: http://airtime.pro
  • ok.. so, here we go.. starting this process of installing.. any help along the way will be MUCH Appreciated. 

    So, first things first... would it be wise to do a test install locally on my MAMP setup? 


    www.djlance.net
    @djlancestl
  • talk about a set back... i just spoke with media temple.. i can install this on my VE server, but not my 2 DV servers.  Not sure how I feel about that -- being that I have an E-Comm site on the VE.
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team

    So, first things first... would it be wise to do a test install locally on my MAMP setup? 



    theoretically it's possible but not by novice.
  • Ok.. so Here is where I am. 

    1.  Got a VE Linux Server
    2.  Running Unbunto 11.04
    ---
    3.  uploaded airtime-1.9.5.tar.gz to /opt on my server
    4.  unpacked airtime
    5.  ran install script.
    ---

    Now, I noticed in Terminal that I'm getting database connectivity errors. --- and when I hit my url (ip) i get an error message:
    ERROR: DB Error: connect failed  [nativecode=pg_connect(): Unable to 
    connect to PostgreSQL server: could not connect to server: Connection
    refused
    Is the server running on host "localhost" and accepting
    TCP/IP connections on port 5432?
    could not connect to server: Connection refused
    Is the server running on host "localhost" and accepting
    TCP/IP connections on port 5432?] **
    pgsql(pgsql)://airtime:PASSWORD@localhost/airtime

    Anyone know what could have gone wrong?

    Thanks!
    Post edited by Lance Korsun at 2011-11-29 19:39:27
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    try to uninstall:  install_minimal/airtime-uninstall
    and install again: install_full/ubuntu/airtime-full-install
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    in addition: these scripts should be ran by root or via sudo
  • hmm. same thing. 
    Here is the terminal output for Database Installation:

    --------

    *** Database Installation ***
    * Creating Airtime database user
    * Database user 'airtime' already exists.
    * Creating Airtime database
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    createdb: could not connect to database postgres: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    * Database 'airtime' already exists.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    Post edited by Lance Korsun at 2011-11-29 19:38:39
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team

    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").




    to avoid this warning run:

    sudo locale-gen en_US.UTF-8


  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    check is postgers is running:

    sudo /etc/init.d/postgresql status

  • ahh.. perfect -- was trying to find that one on google.  Ok.. one really NEWBIE mistake i made --- I haven't installed LAMP on this server yet...  (don't laugh)

    I assume I need to do that before installing Airtime! :)

    I will uninstall -- remove all files, install LAMP, then reinstall airtime (guessing that's the proper steps to take from here)
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team

    I assume I need to do that before installing Airtime! :)



    actually don't. airtime-full-install script installs all necessary packages.

    try sudo ./airtime-full-install
  • ok sweet..  I'll try again.
    www.djlance.net
    @djlancestl
  • ok -- got this error now:
    *** Database Installation ***
    * Creating Airtime database user
    * Database user 'airtime' already exists.
    * Creating Airtime database
    createdb: could not connect to database postgres: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    * Database 'airtime' already exists.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    Post edited by Lance Korsun at 2011-11-29 19:38:18
    www.djlance.net
    @djlancestl

  • Post edited by Lance Korsun at 2011-11-28 13:43:29
    www.djlance.net
    @djlancestl
  •     Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?



    I wonder if this could be the problem?
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    check is postgers is running:


    sudo /etc/init.d/postgresql status
  • When I enter
    sudo /etc/init.d/postgresql status


    Nothing happens.. i get no message, no warning, just defaults to a new line in Terminal
    Post edited by Lance Korsun at 2011-11-29 19:38:01
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    ok, try then: sudo /etc/init.d/postgresql start
  • same thing.
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    ok, let's try deb installation

    uninstall airtime and follow this installation manual: http://en.flossmanuals.net/airtime/automated-installation/
  • ok will do -- really appreciate your help!
    www.djlance.net
    @djlancestl
  • man.. thought it was moving smoothly, but I got this error (same database error) when Finishing up the final configuration setting at the bottom of the URL above.

    Here is the Database message:
    *** Database Installation ***
    * Creating Airtime database user
    * Database user 'airtime' already exists.
    * Creating Airtime database
    * Database 'airtime' already exists.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Post edited by Lance Korsun at 2011-11-29 19:37:37
    www.djlance.net
    @djlancestl
  • Hi Lance,

    The problem is that your locale isn't set correctly. Please do the following:

    sudo apt-get purge postgresql
    locale-gen en_US.UTF-8
    update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8
    sudo apt-get install postgresql

    Then do an uninstall+install airtime and everything should work.
    Post edited by Martin Konecny at 2011-11-28 15:34:47
    Airtime Pro Hosting: http://airtime.pro
  • Getting this message --- still an error connecting to the DB
    *** Database Installation ***
    * Creating Airtime database user
    * Database user 'airtime' already exists.
    * Creating Airtime database
    createdb: could not connect to database postgres: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
    * Database 'airtime' already exists.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    DB Error: connect failed
     [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
    could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?] ** pgsql(pgsql)://airtime:PASSWORD@localhost/airtime
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    Post edited by Lance Korsun at 2011-11-29 19:37:14
    www.djlance.net
    @djlancestl
  • I ran "locale" in shell -- this is what it output:
    LANG=en_US.UTF-8
    LANGUAGE=
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    Post edited by Lance Korsun at 2011-11-29 19:36:49
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    locale is ok. You have fixed already. But there is a problem with postgres.

    please uninstall completely postrges:
    sudo apt-get autoremove --purge postgresql
    sudo apt-get autoremove --purge airtime

    and install again airtime:
    sudo apt-get install airtime

    please provide there all installation report

  • IT WORKED!!!!!!!!! 

    this time, when I got the configuration screen -- i chose "no, thanks" -- and then "no" to the icecast set up

    Here is the output from terminal (sorry, it's going to be long)

    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following extra packages will be installed:
      postgresql postgresql-8.4 postgresql-client-8.4 postgresql-client-common postgresql-common
    Suggested packages:
      airtime-audio-samples gnome-alsamixer alsamixergui alsa-utils oidentd ident-server postgresql-doc-8.4
    The following NEW packages will be installed:
      airtime postgresql postgresql-8.4 postgresql-client-8.4 postgresql-client-common postgresql-common
    0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
    Need to get 0 B/20.6 MB of archives.
    After this operation, 86.7 MB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Preconfiguring packages ...
    Can't exec "/tmp/postgresql-common.config.96861": Permission denied at /usr/share/perl/5.10/IPC/Open3.pm line 168.
    open2: exec of /tmp/postgresql-common.config.96861 configure  failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
    postgresql-common failed to preconfigure, with exit status 255
    Can't exec "/tmp/airtime.config.96863": Permission denied at /usr/share/perl/5.10/IPC/Open3.pm line 168.
    open2: exec of /tmp/airtime.config.96863 configure  failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
    airtime failed to preconfigure, with exit status 255
    Selecting previously deselected package postgresql-client-common.
    (Reading database ... 29969 files and directories currently installed.)
    Unpacking postgresql-client-common (from .../postgresql-client-common_114_all.deb) ...
    Selecting previously deselected package postgresql-client-8.4.
    Unpacking postgresql-client-8.4 (from .../postgresql-client-8.4_8.4.9-0ubuntu0.11.04_amd64.deb) ...
    Selecting previously deselected package postgresql-common.
    Unpacking postgresql-common (from .../postgresql-common_114_all.deb) ...
    Selecting previously deselected package postgresql-8.4.
    Unpacking postgresql-8.4 (from .../postgresql-8.4_8.4.9-0ubuntu0.11.04_amd64.deb) ...
    Selecting previously deselected package postgresql.
    Unpacking postgresql (from .../postgresql_8.4.9-0ubuntu0.11.04_all.deb) ...
    Processing triggers for man-db ...
    Setting up postgresql-client-common (114) ...
    Setting up postgresql-client-8.4 (8.4.9-0ubuntu0.11.04) ...
    update-alternatives: using /usr/share/postgresql/8.4/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode.
    Setting up postgresql-common (114) ...
    Building PostgreSQL dictionaries from installed myspell/hunspell packages...
    Setting up postgresql-8.4 (8.4.9-0ubuntu0.11.04) ...
    Creating new cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main)...
    Moving configuration file /var/lib/postgresql/8.4/main/postgresql.conf to /etc/postgresql/8.4/main...
    Moving configuration file /var/lib/postgresql/8.4/main/pg_hba.conf to /etc/postgresql/8.4/main...
    Moving configuration file /var/lib/postgresql/8.4/main/pg_ident.conf to /etc/postgresql/8.4/main...
    Configuring postgresql.conf to use port 5432...
    update-alternatives: using /usr/share/postgresql/8.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
     * Starting PostgreSQL 8.4 database server                                                                                                                                                         [ OK ]
    Setting up postgresql (8.4.9-0ubuntu0.11.04) ...
    Selecting previously deselected package airtime.
    (Reading database ... 30335 files and directories currently installed.)
    Unpacking airtime (from .../airtime_1.9.5-3_amd64.deb) ...
    Setting up airtime (1.9.5-3) ...
    Site airtime-vhost already disabled
    Installing phing...
    Channel "pear.phing.info" is already initialized
    phing/phing is already installed and is the same as the released version 2.4.2
    install failed
    Setting up apache2...
    Module rewrite already enabled
    Configuring php5...
    Setting monit configuration...
    Stopping daemon monitor: monit.
    Starting daemon monitor: monit.
    Setting local time zone...
     * Restarting web server apache2                                                                                                                                                                           ... waiting                                                                                                                                                                                       [ OK ]

    Debian package of Airtime detected...

    Ensuring python-virtualenv version > 1.4.8...Success!

    ******************************** Install Begin *********************************

    *** 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 ./airtime_virtual_env.pybundle
    Downloading/unpacking poster
      Running setup.py egg_info for package poster
    Downloading/unpacking anyjson
      Running setup.py egg_info for package anyjson
    Downloading/unpacking pyinotify
      Running setup.py egg_info for package pyinotify
    Downloading/unpacking kombu
      Running setup.py egg_info for package kombu
    Downloading/unpacking configobj
      Running setup.py egg_info for package configobj
    Downloading/unpacking amqplib
      Running setup.py egg_info for package amqplib
    Downloading/unpacking mutagen
      Running setup.py egg_info for package mutagen
    Installing collected packages: amqplib, anyjson, configobj, kombu, mutagen, poster, pyinotify
      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/mid3v2 from 644 to 755
        changing mode of build/scripts-2.6/mutagen-inspect from 644 to 755
        changing mode of build/scripts-2.6/moggsplit from 644 to 755
        changing mode of build/scripts-2.6/mid3iconv 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/mid3v2 to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mutagen-inspect 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
      Running setup.py install for poster
      Running setup.py install for pyinotify
    Successfully installed amqplib anyjson configobj kombu mutagen poster pyinotify
    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 #1 succeeded at 205 (offset -4 lines).
    patching file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py
    Hunk #2 succeeded at 169 (offset -4 lines).

    *** Creating Pypo User ***
    Checking for user pypo
    Creating user pypo
    New Airtime Install.
    * Creating INI files
    * Installing PHP code to /usr/share/airtime
    * Installing binaries to /usr/lib/airtime
    * Initializing INI files
    * Airtime Version: 1.9.5
    * 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
    * Creating /usr/bin symlinks
    * Installing airtime-import
    * Installing airtime-update-db-settings
    * Installing airtime-check-system
    * Installing airtime-user
    * Creating logs directory /var/log/airtime
    * Creating Cron File

    *** API Client Installation ***
    Copying directory /var/lib/airtime/tmp/python_apps/api_clients to /usr/lib/airtime/api_clients

    *** Pypo Installation ***
    Creating directory /var/log/airtime/pypo
    Creating directory /var/log/airtime/pypo-liquidsoap
    Creating directory /usr/lib/airtime/pypo/bin
    Creating directory /var/tmp/airtime/pypo/cache/
    Creating directory /var/tmp/airtime/pypo/files/
    Creating directory /var/tmp/airtime/pypo/tmp/
    Installing 64-bit liquidsoap binary (Natty)
    Copying directory /var/lib/airtime/tmp/python_apps/pypo to /usr/lib/airtime/pypo/bin
    Setting permissions
    Installing pypo daemon
    Waiting for processes to start...
    Starting Airtime Playout: Done.

    *** Recorder Installation ***
    Creating temporary media storage directory
    Creating directory /var/tmp/airtime/show-recorder/
    Creating log directories
    Creating directory /var/log/airtime/show-recorder
    Copying directory /var/lib/airtime/tmp/python_apps/show-recorder to /usr/lib/airtime/show-recorder
    Setting permissions
    Installing show-recorder daemon
    Waiting for processes to start...
    Starting Airtime Show Recorder: Done.

    *** Media Monitor Installation ***
    Creating log directories
    Creating directory /var/log/airtime/media-monitor
    Copying directory /var/lib/airtime/tmp/python_apps/media-monitor to /usr/lib/airtime/media-monitor
    Setting permissions
    Installing media-monitor daemon
    Waiting for processes to start...
    Starting Airtime Media Monitor: Done.

    *** Verifying your system environment ***
    CPU                            = Intel(R) Xeon(R) CPU           L5630  @ 2.13GHz
    Total RAM                      = 946344 kB
    Free RAM                       = 428936 kB
    OS                             = Ubuntu 11.04 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://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.5
    PLAYOUT_ENGINE_PROCESS_ID      = 12022
    PLAYOUT_ENGINE_RUNNING_SECONDS = 6
    LIQUIDSOAP_PROCESS_ID          = 12026
    LIQUIDSOAP_RUNNING_SECONDS     = 6
    MEDIA_MONITOR_PROCESS_ID       = 12092
    MEDIA_MONITOR_RUNNING_SECONDS  = 5
    SHOW_RECORDER_PROCESS_ID       = 12057
    SHOW_RECORDER_RUNNING_SECONDS  = 5
    ICECAST_PROCESS_ID             = 8181

      -- System setup looks OK!
    Post edited by Lance Korsun at 2011-11-29 19:36:17
    www.djlance.net
    @djlancestl
  • I'm guessing a list of things I need to change icecast passwords tho.
    www.djlance.net
    @djlancestl
  • This is going to sound stupid... but how do i set my user/password for Airtime?  I get the login screen, but I don't have a clue what my user/pass was (or if i even set one up)
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
  • ha.. good idea!  :) 
    www.djlance.net
    @djlancestl
  • Hi all! Let us know if (mt) can help at all with this. It looks like you've already discovered you need to install PostgresQL to run Airtime on a Media Temple (dv) or (ve) server.



    Matt Jones
    Product Manager
    (mt) Media Temple
  • @matt -- thanks! Will let ya know.

    The issue I am having now is when I upload songs under the "Add Media" tab, it seems to disappear?  Not sure where it goes?   I created a show on the calendar, but since my songs are missing, when I click "Add Content", there isn't any content to add.

    Any help?  So close.. .yet I feel so far away.
    www.djlance.net
    @djlancestl
  • I figure I should post my liquidsoap settings... maybe this will help:

    ###########################################
    # Liquidsoap config file                  #
    ###########################################

    ###########################################
    # Output settings                         #
    ###########################################
    output_sound_device = false
    output_icecast_vorbis = true
    output_icecast_mp3 = true
    output_shoutcast = false

    #output_bitrate = 128
    #output_samplerate = 44100
    #output_stereo = true

    ###########################################
    # Logging settings                        #
    ###########################################
    log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log"
    #log_level = 3

    ###########################################
    # Icecast Stream settings                 #
    ###########################################
    icecast_host = "72.10.48.133"
    icecast_port = 8000
    icecast_pass = "hackme"

    # Icecast mountpoint names
    mount_point_mp3 = "airtime.mp3"
    mount_point_vorbis = "airtime.ogg"

    # Webstream metadata settings
    icecast_url = "72.10.48.133"
    icecast_description = "Stimulation For Your Imagination : House Music Radio St. Louis!"
    icecast_genre = "House Music Baby!"
    Post edited by Lance Korsun at 2011-11-29 19:35:21
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    only one thing :

    Change your password !!!
  • I did -- just left it that way here in the forum
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    ok ;)
  • Still can't figure out why my music is not showing up once I upload it.  Frustrated!
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Did you look in the playlist builder?
  • Yeah I did... nothing there.  All thats there is my playlist.  no media.   I've set up a watch folder too. 
    www.djlance.net
    @djlancestl
  • I'm going through the "troubleshooting" page in the manual... I ran

    $sudo service airtime-playout
    This was the result:


    CPU                            = Intel(R) Xeon(R) CPU           L5630  @ 2.13GHz
    Total RAM                      = 946344 kB
    Free RAM                       = 175988 kB
    OS                             = Ubuntu 11.04 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://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.5
    PLAYOUT_ENGINE_PROCESS_ID      = 19562
    PLAYOUT_ENGINE_RUNNING_SECONDS = 79333
    LIQUIDSOAP_PROCESS_ID          = 19567
    LIQUIDSOAP_RUNNING_SECONDS     = 79333
    MEDIA_MONITOR_PROCESS_ID       =
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
      -- WARNING! It looks like the Media Monitor engine is continually restarting.
      -- 2011-11-29 16:28:28,064 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 38 - Setting up monitor
      -- 2011-11-29 16:28:28,213 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [u'/home/zunskigraphics/music/'], u'stor': u'/srv/airtime/stor/'}
      -- 2011-11-29 16:28:33,214 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 46 - Storage Directory is: /srv/airtime/stor/
      -- 2011-11-29 16:28:33,218 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 55 - Exception: [Errno 38] Function not implemented
      -- 2011-11-29 16:28:33,244 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 94 - Exception: name 'multi_queue' is not defined
      -- 2011-11-29 16:28:33,244 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 95 - traceback: Traceback (most recent call last):
      --   File "/usr/lib/airtime/media-monitor/MediaMonitor.py", line 62, in <module>
      --     pe = AirtimeProcessEvent(queue=multi_queue, airtime_config=config, wm=wm, mmc=mmc, api_client=api_client)
      -- NameError: name 'multi_queue' is not defined
      --
    SHOW_RECORDER_PROCESS_ID       = 12057
    SHOW_RECORDER_RUNNING_SECONDS  = 98715
    ICECAST_PROCESS_ID             = 8181

      -- There appears to be problems with your setup. Please visit
      -- http://wiki.sourcefabric.org/x/HABQ for troubleshooting info.


    Post edited by Lance Korsun at 2011-11-29 19:30:53
    www.djlance.net
    @djlancestl
  • I should have foreseen you would have this problem (it only happens on hosted system where the user machines are virtualized as in your case). Read this thread


    The solution is in the last post.
    Airtime Pro Hosting: http://airtime.pro
  • Oh cool.  I missed that post.  Checking it out now.. I'll keep you posted.  I know it's been painful, but I really appreciate everyone's help.


    www.djlance.net
    @djlancestl




  • =D>      ^:)^      \:D/      \m/     :D

    Let there be music!!!!!! That worked! 

    WOO HOO!  Thanks a million EVERYONE!  Now I'll set up my site, and get things situated for a normal user.  I'm sure I'll have more questions... but for now, thanks!!!!!!!
    Post edited by Lance Korsun at 2011-11-29 20:40:00
    www.djlance.net
    @djlancestl
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    mark this thread as resolved (that's help perhaps others newbies ;)
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    thank's to you ;)