Airtime won't start liquidsoap
  • Hi,

    Installed Airtime for the first time on Ubuntu 12.04 and I ran into a problem. Installation ended up with an error (I tried several times, but no luck), but airtime seems to work. Except for this:

    AIRTIME_STATUS_URL = http://airtime.xl8r.com:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 3.2.0-29-generic
    MACHINE_ARCHITECTURE = i686
    TOTAL_MEMORY_MBYTES = 507872
    TOTAL_SWAP_MBYTES = 522236
    AIRTIME_VERSION = 2.2.0
    OS = Ubuntu 12.04.1 LTS i686
    CPU = Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
    WEB_SERVER = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC = 0%
    PLAYOUT_ENGINE_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2012-11-19 13:02:47,898 ERROR - [pypocli.py : liquidsoap_running_test() : line 135] - [Errno 111] Yhteys torjuttu
    -- 2012-11-19 13:02:47,898 WARNING - [pypocli.py : <module>() : line 168] - Liquidsoap not started yet. Sleeping one second and trying again
    -- 2012-11-19 13:02:48,900 DEBUG - [pypocli.py : liquidsoap_running_test() : line 125] - Checking to see if Liquidsoap is running
    -- 2012-11-19 13:02:48,901 ERROR - [pypocli.py : liquidsoap_running_test() : line 135] - [Errno 111] Yhteys torjuttu
    -- 2012-11-19 13:02:48,901 WARNING - [pypocli.py : <module>() : line 168] - Liquidsoap not started yet. Sleeping one second and trying again
    --
    --
    LIQUIDSOAP_PROCESS_ID = FAILED
    LIQUIDSOAP_RUNNING_SECONDS = 0
    LIQUIDSOAP_MEM_PERC = 0%
    LIQUIDSOAP_CPU_PERC = 0%
    tail: tiedostoa â
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    MEDIA_MONITOR_PROCESS_ID = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS = 0
    MEDIA_MONITOR_MEM_PERC = 0%
    MEDIA_MONITOR_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log
    -- 2012-11-19 13:01:17,354 DEBUG - [Thread-2] [api_client.py : update_replay_gain_values()] : LINE 720 -
    -- 2012-11-19 13:01:17,355 INFO - [Thread-2] [replaygainupdater.py : main()] : LINE 61 - Processed: 0 songs
    -- 2012-11-19 13:01:17,735 INFO - [MainThread] [bootstrap.py : flush_watch()] : LINE 62 - Flushed watch directory (/srv/airtime/stor/recorded). (added, modified, deleted) = (0, 0, 0)
    -- 2012-11-19 13:01:18,166 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 379 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}
    -- 2012-11-19 13:01:19,130 INFO - [MainThread] [bootstrap.py : flush_watch()] : LINE 62 - Flushed watch directory (/srv/airtime/stor/imported). (added, modified, deleted) = (0, 0, 0)
    --
    --
    RABBITMQ_PROCESS_ID = 23640
    RABBITMQ_RUNNING_SECONDS = 3787
    RABBITMQ_MEM_PERC = 3.1%
    RABBITMQ_CPU_PERC = 0.0%

    --

    How can I fix this?


  • 19 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    how did you install it ?
    have you modified your sources.list ? update it ?
    or do a manual install ?
  • Through apt-get, modified sources.list. Clean install, not an update.
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    mmmm,
    I'm really tired this morning ;-)
    have you well declared your domain name into airtime and /etc/hosts ?

    you can reconfigure your airtime with this command :

    dpkg-reconfigure airtime
  • I've tried that before, tried it again and the result was the same.

    dpkg-reconfigure airtime fails: airtime is broken or not fully installed. :(


  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    ah
    that's not the same thing ;-)
    can you copy/paste the error message
    did you try an :

    apt-get upgrade && apt-get dist-upgrade
    Post edited by Albert FR at 2012-11-20 05:40:47
  • dist-upgrade in this case is not possible, since there are some stuff running on this computer that won't survive the distro upgrade :/ 

    What error messge do you mean? The one that comes in installation process or the one with dpkg-reconfigure?

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    some stuff ???

    - both
  • There are some experimental game related projects running on the same computer by my friends, i got a strict "NO!" when I suggested a dist-upgrade a while ago :D I checked with them first, theres nothing that could cause problem with airtime install.

    I'll get back to you as soon as I have time to reinstall (I'm at work now) with error messages. The dpkg-reconfigure error message as the one I stated before: airtime is broken or not fully installed.

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    your problem is perhaps you have a liquidsoap distribution version, and not sourcefabric liquidsoap version

    get the one who depand of your distribution here : http://apt.sourcefabric.org/pool/main/l/liquidsoap/
  • Ha, you're maybe right. I missed that I sould install that version. I'll test that and tell how it went.
  • Hmm, didn't help, the error stays. I installed the sourcefabrics distribution of liquidsoap and restarted airtime-media-monitor and  airtime-playout, but no luck.
  • Ok, so here's the output from installation:

    Setting up airtime (2.2.0-2) ...
    Site airtime-vhost disabled.
    To activate the new configuration, you need to run:
    service apache2 reload
    Setting up apache2...
    Enabling site airtime-vhost.
    To activate the new configuration, you need to run:
    service apache2 reload
    Module rewrite already enabled
    Configuring php5...
    Setting up icecast2...
    Restarting icecast2: Starting icecast2
    Detaching from the console
    icecast2.
    Setting up monit configuration...
    * Stopping daemon monitor monit [ OK ]
    * Starting daemon monitor monit [ OK ]
    * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    [ OK ]
    Liquidsoap symlink points to the right place!
    * Making sure /etc/default/locale is set properly
    LANG="en_US.UTF8"
    * 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 /var/lib/airtime/tmp/python_apps/python-virtualenv/airtime_virtual_env.pybundle
    Requirement already satisfied (use --upgrade to upgrade): wsgiref in /usr/lib/python2.7
    Downloading/unpacking amqplib
    Running setup.py egg_info for package amqplib

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

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

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

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

    Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7
    Downloading/unpacking anyjson
    Running setup.py egg_info for package anyjson

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

    warning: no previously-included files matching '*.bat' found anywhere in distribution
    warning: no previously-included files matching './CVS' found anywhere in distribution
    warning: no previously-included files matching '.cvsignore' found anywhere in distribution
    Downloading/unpacking configobj
    Running setup.py egg_info for package configobj

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

    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: amqplib, poster, kombu, docopt, pyinotify, anyjson, PyDispatcher, configobj, mutagen, pytz
    Running setup.py install for amqplib

    Running setup.py install for poster

    Running setup.py install for kombu

    Running setup.py install for docopt

    Running setup.py install for pyinotify

    Running setup.py install for anyjson

    Running setup.py install for PyDispatcher

    warning: no previously-included files matching '*.bat' found anywhere in distribution
    warning: no previously-included files matching './CVS' found anywhere in distribution
    warning: no previously-included files matching '.cvsignore' found anywhere in distribution
    Running setup.py install for configobj

    Running setup.py install for mutagen
    changing mode of build/scripts-2.7/mid3v2 from 644 to 755
    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/mid3iconv from 644 to 755
    changing mode of build/scripts-2.7/moggsplit from 644 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/mutagen-pony 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
    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 poster kombu docopt pyinotify anyjson PyDispatcher configobj mutagen pytz
    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.2.0
    * 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
    * Checking database for correct encoding

    * Database Installation
    * Creating Airtime database user
    * Database user 'airtime' created.
    * Creating Airtime database
    * 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
    * Waiting for media-monitor processes to start...
    Starting Airtime Media Monitor: Done.
    * Detecting OS: ... Found Ubuntu 12.04.1 LTS (precise) on i386 architecture
    * Creating symlink to Liquidsoap binary
    * Clearing previous pypo cache
    * Waiting for pypo processes to start...
    * Stopping daemon monitor monit [ OK ]
    * Starting daemon monitor monit [ OK ]

    *** 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 i686
    CPU = Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
    WEB_SERVER = A
    PLAYOUT_ENGINE_PROCESS_ID = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC = 0%
    PLAYOUT_ENGINE_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2012-11-21 11:10:04,782 DEBUG - [api_client.py : get_response_from_server() : line 87] - http://localhost:80/api/version/api_key/2LB1D1XZ0C8X9632UB3P
    -- 2012-11-21 11:10:04,783 ERROR - [api_client.py : get_response_from_server() : line 105] - Error connecting to server, waiting 5 seconds and trying again.
    -- 2012-11-21 11:10:09,797 ERROR - [api_client.py : get_response_from_server() : line 83] - Error Authenticating with remote server: HTTP Error 404: Not Found
    -- 2012-11-21 11:10:09,798 DEBUG - [api_client.py : get_response_from_server() : line 87] - http://localhost:80/api/version/api_key/2LB1D1XZ0C8X9632UB3P
    -- 2012-11-21 11:10:09,798 ERROR - [api_client.py : get_response_from_server() : line 105] - Error connecting to server, waiting 5 seconds and trying again.
    --
    --
    LIQUIDSOAP_PROCESS_ID = FAILED
    LIQUIDSOAP_RUNNING_SECONDS = 0
    LIQUIDSOAP_MEM_PERC = 0%
    LIQUIDSOAP_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    MEDIA_MONITOR_PROCESS_ID = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS = 0
    MEDIA_MONITOR_MEM_PERC = 0%
    MEDIA_MONITOR_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log
    -- 2012-11-21 11:10:09,115 DEBUG - [Thread-2] [api_client.py : get_response_from_server()] : LINE 87 - http://localhost:80/api/list-all-watched-dirs/format/json/api_key/2LB1D1XZ0C8X9632UB3P
    -- 2012-11-21 11:10:09,116 ERROR - [Thread-2] [api_client.py : get_response_from_server()] : LINE 105 - Error connecting to server, waiting 5 seconds and trying again.
    -- 2012-11-21 11:10:09,119 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 83 - Error Authenticating with remote server: HTTP Error 404: Not Found
    -- 2012-11-21 11:10:09,119 DEBUG - [MainThread] [api_client.py : get_response_from_server()] : LINE 87 - http://localhost:80/api/media-monitor-setup/format/json/api_key/2LB1D1XZ0C8X9632UB3P
    -- 2012-11-21 11:10:09,119 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 105 - Error connecting to server, waiting 5 seconds and trying again.
    --
    --
    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
    dpkg: error processing airtime (--configure):
    subprocess installed post-installation script returned error exit status 1
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
    airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    --

    After the installation I fixed airtime.conf and api_source.cfg, for some reason the installer doesn't change the base_url to point to the virtualhost (airtime.xl8r.com), but points to localhost. After that I restarted airtime-media-monitor, restart gives [OK]. Then airtime-playout, gives also [OK]. Then I restarted airtime-liquidsoap and it also gives [OK]. After that, the airtime-check-system still outputs this:

    AIRTIME_STATUS_URL = http://airtime.xl8r.com:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 3.2.0-29-generic
    MACHINE_ARCHITECTURE = i686
    TOTAL_MEMORY_MBYTES = 507872
    TOTAL_SWAP_MBYTES = 522236
    AIRTIME_VERSION = 2.2.0
    OS = Ubuntu 12.04.1 LTS i686
    CPU = Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
    WEB_SERVER = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC = 0%
    PLAYOUT_ENGINE_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2012-11-21 11:19:40,392 INFO - [pypofetch.py : update_liquidsoap_station_name() : line 424] - vars.station_name
    --
    -- 2012-11-21 11:19:40,395 INFO - [pypofetch.py : update_liquidsoap_transition_fade() : line 404] - vars.default_dj_fade 00.000000
    --
    -- 2012-11-21 11:19:40,405 INFO - [pypofetch.py : main() : line 523] - Loop #1
    --
    --
    LIQUIDSOAP_PROCESS_ID = FAILED
    LIQUIDSOAP_RUNNING_SECONDS = 0
    LIQUIDSOAP_MEM_PERC = 0%
    LIQUIDSOAP_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2012/11/21 11:19:40 [lang:3] vars.station_name
    -- 2012/11/21 11:19:40 [server:3] Client localhost disconnected.
    -- 2012/11/21 11:19:40 [server:3] New client: localhost.
    -- 2012/11/21 11:19:40 [lang:3] vars.default_dj_fade
    -- 2012/11/21 11:19:40 [server:3] Client localhost disconnected.
    --
    --
    MEDIA_MONITOR_PROCESS_ID = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS = 0
    MEDIA_MONITOR_MEM_PERC = 0%
    MEDIA_MONITOR_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log
    -- 2012-11-21 11:17:47,783 INFO - [Thread-2] [replaygainupdater.py : main()] : LINE 61 - Processed: 0 songs
    -- 2012-11-21 11:17:48,354 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 379 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}
    -- 2012-11-21 11:17:49,367 INFO - [MainThread] [bootstrap.py : flush_watch()] : LINE 62 - Flushed watch directory (/srv/airtime/stor/recorded). (added, modified, deleted) = (0, 0, 0)
    -- 2012-11-21 11:17:49,683 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 379 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [], u'stor': u'/srv/airtime/stor/'}
    -- 2012-11-21 11:17:50,502 INFO - [MainThread] [bootstrap.py : flush_watch()] : LINE 62 - Flushed watch directory (/srv/airtime/stor/imported). (added, modified, deleted) = (0, 0, 0)
    --
    --
    RABBITMQ_PROCESS_ID = 23640
    RABBITMQ_RUNNING_SECONDS = 170399
    RABBITMQ_MEM_PERC = 1.6%
    RABBITMQ_CPU_PERC = 0.0%

    If I try dpkg-reconfigure airtime, it gives this:

    /usr/sbin/dpkg-reconfigure: airtime is broken or not fully installed

    Still stuck with this, don't know how to fix it :( Airtime shows a great potential for our upcoming webradio station. Hope we can find the solution :)


  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    verify all packages from sourcefabric, try to update with them

    go here : http://apt.sourcefabric.org/pool/main/

    after this, do an dpkg-reconfigure airtime, give the good domain or subdomain attached to airtime

    and come back here ;-)
  • Ok, done all of that, got rid of Apaches error with ServerName on restart. Reinstalled everything again, no luck still, install still ends up with an error and can't do dpkg-reconfigure airtime. One exception: got media monitor running:

    AIRTIME_STATUS_URL = http://airtime.xl8r.com:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 3.2.0-29-generic
    MACHINE_ARCHITECTURE = i686
    TOTAL_MEMORY_MBYTES = 507872
    TOTAL_SWAP_MBYTES = 522236
    AIRTIME_VERSION = 2.2.0
    OS = Ubuntu 12.04.1 LTS i686
    CPU = Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
    WEB_SERVER = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC = 0%
    PLAYOUT_ENGINE_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2012-11-21 12:47:43,670 ERROR - [pypocli.py : liquidsoap_running_test() : line 135] - [Errno 111] Connection refused
    -- 2012-11-21 12:47:43,671 WARNING - [pypocli.py : <module>() : line 168] - Liquidsoap not started yet. Sleeping one second and trying again
    -- 2012-11-21 12:47:44,674 DEBUG - [pypocli.py : liquidsoap_running_test() : line 125] - Checking to see if Liquidsoap is running
    -- 2012-11-21 12:47:44,676 ERROR - [pypocli.py : liquidsoap_running_test() : line 135] - [Errno 111] Connection refused
    -- 2012-11-21 12:47:44,677 WARNING - [pypocli.py : <module>() : line 168] - Liquidsoap not started yet. Sleeping one second and trying again
    --
    --
    LIQUIDSOAP_PROCESS_ID = FAILED
    LIQUIDSOAP_RUNNING_SECONDS = 0
    LIQUIDSOAP_MEM_PERC = 0%
    LIQUIDSOAP_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    MEDIA_MONITOR_PROCESS_ID = 16102
    MEDIA_MONITOR_RUNNING_SECONDS = 553
    MEDIA_MONITOR_MEM_PERC = 2.0%
    MEDIA_MONITOR_CPU_PERC = 0.0%
    RABBITMQ_PROCESS_ID = 23640
    RABBITMQ_RUNNING_SECONDS = 175683
    RABBITMQ_MEM_PERC = 1.2%
    RABBITMQ_CPU_PERC = 0.0%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ


    I noticed this:

    root@helium:/etc/airtime# service airtime-liquidsoap start
    Starting Liquidsoap: Done.

    root@helium:/etc/airtime# service airtime-liquidsoap restart
    Restarting Liquidsoap: ('Error loading config file: %s', error(111, 'Connection refused'))
    start-stop-daemon: warning: failed to kill 18179: No such process

    Maybe this helps.

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    if connection is refused, it's a problem of domain name look your enabled site into apache and domain configuration into airtime

  • Could you be more specific what to look for?

    I have airtime-vhost at sites-enabled. The contents of the file is:

    <VirtualHost *:80>
    ServerName airtime.xl8r.com
    #ServerAlias www.example.com

      ServerAdmin xxxx@xxxxx.xxx


    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>

  • Hmm, think I solved it. 

    I gave

    chmod 777 /var/log/airtime/pypo-liquidsoap/ls_script.log

    ....and airtime-check-system checks out fine. Will test some more and will come back to you how it ended up.

  • Oh hell yes, it works like charm. Thank you very much, it's nice to notice that your project has so good support forum.
  • I got it working (more or less) with this tip:
    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap

    liquidsoap now runs, but is still showing as not running with airtime-check-system....