Fail after automatic installation
  • Hi guys, i have this problem after make a automatic installation:

    ------------------------------------------------------------ -----------
    *** Verifying Correct System Environment ***
    CPU = Quad-Core AMD Opteron(tm) Processor 2347 HE
    Total RAM = 6291456 kB
    Free RAM = 6130756 kB
    OS = Ubuntu 10.04.2 LTS Intel 80386
    AIRTIME_CONFIG_FILES = OK
    POSTGRESQL_DATABASE = OK
    PYTHON_KOMBU_VERSION = 1.2.1
    PYTHON_POSTER_VERSION = 0.8.1
    RABBITMQ_SERVER = OK
    AIRTIME_VERSION_URL = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED = YES
    AIRTIME_VERSION = 1.8.2
    PLAYOUT_ENGINE_PROCESS_ID = 11693
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    -- WARNING! It looks like the playout engine is continually restarting.
    -- /etc/service/pypo: up (pid 11693) 0 seconds
    -- @400000004e5c430e24b9c19c Traceback (most recent call last):
    -- @400000004e5c430e24b9c584 File "/usr/lib/airtime/pypo/bin/pypo-cli.py", line 118, in <module>
    -- @400000004e5c430e24b9c96c if not g.selfcheck():
    -- @400000004e5c430e24ba4284 File "/usr/lib/airtime/pypo/bin/pypo-cli.py", line 62, in selfcheck
    -- @400000004e5c430e24ba466c return self.api_client.is_server_compatible()
    -- @400000004e5c430e24ba4a54 File "/usr/lib/airtime/pypo/api_clients/api_client.py", line 193, in is_server_compatible
    -- @400000004e5c430e24ba5224 version = self.__get_airtime_version(verbose)
    -- @400000004e5c430e24ba560c File "/usr/lib/airtime/pypo/api_clients/api_client.py", line 156, in __get_airtime_version
    -- @400000004e5c430e24ba7164 if e[1] == 401:
    -- @400000004e5c430e24ba754c IndexError: tuple index out of range
    LIQUIDSOAP_PROCESS_ID = 11357
    LIQUIDSOAP_RUNNING_SECONDS = 16
    ICECAST_PROCESS_ID = 1864

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

    ------------------------------------------------------------ ----------


    This problem seems common here but i tried to follow the steps of an other users of this forum and don't work any solution (reboot or re-install neither) :/

    The machine is a virtual server of Strato and Icecast work well. The OS is Ubuntu LTS 10.04 32bits



    This is the installation:
    ------------------------------------------------------------ ----------

    root@h1791805[/email][/email]:~# sudo apt-get install airtime
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut
    Status-Informationen einlesen... Fertig
    Die folgenden NEUEN Pakete werden installiert:
    airtime
    0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
    Es müssen noch 0B von 12,7MB an Archiven heruntergeladen werden.
    Nach dieser Operation werden 69,3MB Plattenplatz zusätzlich benutzt.
    Vorkonfiguration der Pakete ...
    Wähle vormals abgewähltes Paket airtime.
    (Lese Datenbank ... 75781 Dateien und Verzeichnisse sind derzeit installiert.)
    Entpacke airtime (aus .../airtime_1.8.2-6_all.deb) ...
    Richte airtime ein (1.8.2-6) ...
    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
    Requirement already satisfied: kombu in /usr/local/lib/python2.6/dist-packages
    Requirement already satisfied: anyjson>=0.3.1 in /usr/local/lib/python2.6/dist-packages (from kombu)
    Requirement already satisfied: amqplib>=1.0 in /usr/local/lib/python2.6/dist-packages (from kombu)
    Installing collected packages: amqplib, anyjson, kombu
    Successfully installed kombu
    Requirement already satisfied: poster in /usr/local/lib/python2.6/dist-packages
    Installing collected packages: poster
    Successfully installed poster


    ******************************** Install Begin *********************************
    New Airtime Install.
    * Creating INI files
    * Installing PHP code to /var/www/airtime
    * Installing binaries to /usr/lib/airtime
    * Initializing INI files
    * Airtime Version: 1.8.2

    *** Database Installation ***
    * Creating Airtime database user
    * Database user 'airtime' created.
    * Creating Airtime database
    * Database 'airtime' created.
    * Connected to database
    * Installing Postgres scripting language
    * Creating database tables
    * Storage directory setup
    * Skipping directory already exists: /srv/airtime
    * Skipping directory already exists: /srv/airtime/stor
    * Giving Apache permission to access /srv/airtime/stor
    * Creating /usr/bin symlinks
    * Installing airtime-import
    * Installing airtime-clean-storage
    * Installing airtime-update-db-settings
    * Installing airtime-check-system
    * Creating logs directory /var/log/airtime

    *** Pypo Installation ***
    Starting daemontool script pypo
    Starting daemontool script pypo-liquidsoap
    Checking and removing any existing pypo processes
    Checking for user pypo
    Creating user pypo
    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 32-bit liquidsoap binary
    Copying directory /var/lib/airtime/python_apps/pypo to /usr/lib/airtime/pypo/bin
    Copying directory /var/lib/airtime/python_apps/api_clients to /usr/lib/airtime/pypo/api_clients
    Setting permissions
    Creating symbolic links
    Installing pypo daemon
    Creating directory /etc/service/pypo
    Creating directory /etc/service/pypo/log
    Installing liquidsoap daemon
    Creating directory /etc/service/pypo-liquidsoap
    Creating directory /etc/service/pypo-liquidsoap/log
    Waiting for processes to start...
    /etc/service/pypo: up (pid 11291) 0 seconds

    /etc/service/pypo-liquidsoap: up (pid 10166) 6 seconds


    *** Recorder Installation ***
    Starting daemontool script recorder
    Checking and removing any existing recorder processes
    Checking for user pypo
    User already exists.
    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/python_apps/show-recorder to /usr/lib/airtime/show-recorder
    Setting permissions
    Creating symbolic links
    Installing recorder daemon
    Creating directory /etc/service/recorder
    Creating directory /etc/service/recorder/log
    Waiting for processes to start...
    /etc/service/recorder: up (pid 11625) 1 seconds
    ------------------------------------------------------------ -----------

    Thanks!
  • 2 Comments sorted by
  • I'd install again in debian and all was fine. Smile
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Looks like pypo cannot connect to the web server. What happens when you do:


    wget http://localhost:80/api/version/api_key/%%api_key%%

    from the command line? You need to substitute your real API key in place of
    "%%api_key%%", which you can get from /etc/airtime/airtime.conf.