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?
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. :(
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?
--
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 :)
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.
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.
It looks like you're new here. If you want to get involved, click one of these buttons!