ls -l /etc/apache2/sites-available
sudo a2dissite <filename>
sudo service apache2 restart
sudo airtime-check-system
/usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap 'output.icecast(%vorbis, mount="test.ogg", sine())'
sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
ep@tower2[/email]:~$ airtime-check-system
CPU = AMD Athlon(tm) 64 Processor 3000+
Total RAM = 1996996 kB
Free RAM = 74312 kB
OS = Ubuntu 10.04.3 LTS Intel 80386
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.4
PLAYOUT_ENGINE_PROCESS_ID = 3809
PLAYOUT_ENGINE_RUNNING_SECONDS = 12010
LIQUIDSOAP_PROCESS_ID =
LIQUIDSOAP_RUNNING_SECONDS = 0
-- WARNING! It looks like the Liquidsoap engine is continually restarting.
-- 2011/10/16 20:56:39 [alsa_out(default):3] Samplefreq=44100Hz, Bufsize=15360B, Frame=4B, Periods=17
-- 2011/10/16 20:56:39 [threads:1] Thread "alsa_out(default)" aborts with exception Alsa error: Invalid argument!
-- 2011/10/16 20:56:39 [threads:3] Raised by primitive operation at file "", line 0, characters 0-0
-- 2011/10/16 20:56:39 [main:3] Shutdown started!
-- 2011/10/16 20:56:39 [main:3] Waiting for threads to terminate...
-- 2011/10/16 20:56:39 [stream:3] Closing connection...
-- 2011/10/16 20:56:39 [clock.wallclock_alsa:3] Streaming loop stopped.
-- 2011/10/16 20:56:39 [threads:3] Thread "wallclock_alsa" terminated (0 remaining).
-- 2011/10/16 20:56:39 [main:3] Cleaning downloaded files...
-- 2011/10/16 20:56:39 >>> LOG END
MEDIA_MONITOR_PROCESS_ID = 1210
MEDIA_MONITOR_RUNNING_SECONDS = 12818
SHOW_RECORDER_PROCESS_ID = 1237
SHOW_RECORDER_RUNNING_SECONDS = 12818
ICECAST_PROCESS_ID = 1246
-- There appears to be problems with your setup. Please visit
-- http://wiki.sourcefabric.org/x/HABQ for troubleshooting info.
<VirtualHost *:1000>
ServerAdmin technical@wgot.org[/email]
ServerName tower.wgot.org
DocumentRoot /usr/share/airtime/public
Alias /airtime /usr/share/airtime/public
SetEnv APPLICATION_ENV "development"
<Directory /usr/share/airtime/public>
DirectoryIndex index.php FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin technical@wgot.org[/email]
ServerName tower.wgot.org
DocumentRoot /usr/share/airtime/public
Alias /airtime /usr/share/airtime/public
SetEnv APPLICATION_ENV "development"
<Directory /usr/share/airtime/public>
DirectoryIndex index.php FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
ep@tower2[/email]:~$ /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap-i386 'output.icecast(%vorbis, mount="test.ogg", sine())'
2011/10/16 21:09:56 >>> LOG START
2011/10/16 21:09:56 [protocols.external:3] Didn't find "ufetch".
2011/10/16 21:09:56 [protocols.external:3] Found "/usr/bin/wget".
2011/10/16 21:09:56 [main:3] Liquidsoap 1.0.0-beta2
2011/10/16 21:09:56 [main:3] Using: pcre=6.0.1 dtools=0.2.2 duppy=0.4.0 duppy.syntax=0.4.0 cry=0.2.0 mm=0.1.0 xmlplaylist=0.1.2 ogg=0.4.2 vorbis=0.6.0 mad=0.4.2 flac=0.1.0 flac.ogg=0.1.0 lame=0.3.0 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 camomile=0.7.1 portaudio=@VERSION ladspa=0.1.2
2011/10/16 21:09:56 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/1.0.0-beta2/plugins.
2011/10/16 21:09:56 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2011/10/16 21:09:56 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2011/10/16 21:09:56 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2011/10/16 21:09:56 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2011/10/16 21:09:56 [threads:3] Created thread "generic queue #1".
2011/10/16 21:09:56 [test(dot)ogg:3] Connecting mount test.ogg for source@localhost...[/email]
2011/10/16 21:09:56 [test(dot)ogg:2] Connection failed: could not connect to host: Connection refused in connect()!
2011/10/16 21:09:56 [clock.wallclock_main:2] Error when starting output test(dot)ogg: Tutils.Exit!
init: exception encountered during main phase:
Tutils.Exit
exception: Tutils.Exit
Raised by primitive operation at file "", line 0, characters 0-0
2011/10/16 21:09:56 [main:3] Shutdown started!
2011/10/16 21:09:56 [main:3] Waiting for threads to terminate...
2011/10/16 21:09:56 [main:3] Cleaning downloaded files...
2011/10/16 21:09:56 >>> LOG END
ep@tower2[/email]:~$ sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
2011/10/16 21:13:06 >>> LOG START
2011/10/16 21:13:06 [protocols.external:3] Didn't find "ufetch".
2011/10/16 21:13:06 [protocols.external:3] Found "/usr/bin/wget".
2011/10/16 21:13:06 [main:3] Liquidsoap 1.0.0-beta2
2011/10/16 21:13:06 [main:3] Using: pcre=6.0.1 dtools=0.2.2 duppy=0.4.0 duppy.syntax=0.4.0 cry=0.2.0 mm=0.1.0 xmlplaylist=0.1.2 ogg=0.4.2 vorbis=0.6.0 mad=0.4.2 flac=0.1.0 flac.ogg=0.1.0 lame=0.3.0 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 camomile=0.7.1 portaudio=@VERSION ladspa=0.1.2
2011/10/16 21:13:06 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/1.0.0-beta2/plugins.
2011/10/16 21:13:06 [lang:3] Lastfm/audioscrobbler support was not compiled.
2011/10/16 21:13:06 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2011/10/16 21:13:06 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2011/10/16 21:13:06 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2011/10/16 21:13:06 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2011/10/16 21:13:06 [threads:3] Created thread "generic queue #1".
2011/10/16 21:13:06 [threads:3] Created thread "non-blocking queue #1".
2011/10/16 21:13:06 [threads:3] Created thread "alsa_out(default)" (1 total).
2011/10/16 21:13:06 [stream:3] Connecting mount stream for source@localhost...[/email]
2011/10/16 21:13:06 [stream:3] Connection setup was successful.
2011/10/16 21:13:06 [threads:3] Created thread "wallclock_alsa" (2 total).
2011/10/16 21:13:06 [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources.
2011/10/16 21:13:06 [fallback_4842:3] Switch to src_4840.
2011/10/16 21:13:06 [src_4840:3] Inserting missing metadata.
/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --data='0' --media-id=
#########################################
# *** pypo *** #
# pypo notification gateway #
#########################################
NOTICE: 'media_id' command-line argument not given.
2011/10/16 21:13:06 [alsa_out(default):3] Using ALSA 1.0.22.
2011/10/16 21:13:06 [alsa_out(default):3] Samplefreq=44100Hz, Bufsize=15360B, Frame=4B, Periods=17
2011/10/16 21:13:06 [threads:1] Thread "alsa_out(default)" aborts with exception Alsa error: Invalid argument!
2011/10/16 21:13:06 [threads:3] Raised by primitive operation at file "", line 0, characters 0-0
Thread 4 killed on uncaught exception Alsa.Invalid_argument
2011/10/16 21:13:06 [main:3] Shutdown started!
2011/10/16 21:13:06 [main:3] Waiting for threads to terminate...
2011/10/16 21:13:07 [stream:3] Closing connection...
2011/10/16 21:13:07 [clock.wallclock_alsa:3] Streaming loop stopped.
2011/10/16 21:13:07 [threads:3] Thread "wallclock_alsa" terminated (0 remaining).
2011/10/16 21:13:07 [main:3] Cleaning downloaded files...
2011/10/16 21:13:07 >>> LOG END
ep@tower2[/email]:/var/log/airtime$ sudo cat installation-errors.log
liquidsoap: no process found
[Sun Oct 16 17:05:56 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
[Sun Oct 16 17:05:58 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
ep@tower2:~$ cat /etc/timezone
America/New_York
ep@tower2:~$ cat /usr/share/airtime/public/.htaccess
php_value post_max_size 500M
php_value upload_max_filesize 500M
php_value request_order "GPC"
php_value session.gc_probability 0
php_value date.timezone "America/New_York"
php_value phar.readonly Off
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
RewriteBase /
SetEnv APPLICATION_ENV production
/usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap /usr/lib/airtime/pypo/bin/liquidsoap_scripts/library/pervasives.liq 'ignore(out(sine()))'
ep@tower2:~$ /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap /usr/lib/airtime/pypo/bin/liquidsoap_scripts/library/pervasi ves.liq 'ignore(out(sine()))'
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
2011/10/18 09:34:49 >>> LOG START
2011/10/18 09:34:49 [protocols.external:3] Didn't find "ufetch".
2011/10/18 09:34:49 [protocols.external:3] Found "/usr/bin/wget".
2011/10/18 09:34:49 [main:3] Liquidsoap 1.0.0-beta2
2011/10/18 09:34:49 [main:3] Using: pcre=6.0.1 dtools=0.2.2 duppy=0.4.0 duppy.syntax=0.4.0 cry=0.2.0 mm=0.1.0 xmlplaylist=0.1.2 ogg=0.4.2 vorbis=0.6.0 mad=0.4.2 flac=0.1.0 flac.ogg=0.1.0 lame=0.3.0 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 camomile=0.7.1 portaudio=@VERSION ladspa=0.1.2
2011/10/18 09:34:49 [lang:3] Lastfm/audioscrobbler support was not compiled.
2011/10/18 09:34:49 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2011/10/18 09:34:49 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2011/10/18 09:34:49 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2011/10/18 09:34:49 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2011/10/18 09:34:49 [threads:3] Created thread "generic queue #1".
Expression 'snd_pcm_hw_params_set_period_size_near( self->pcm, hwParams, &framesPerHostBuffer, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1621
Expression 'PaAlsaStreamComponent_DetermineFramesPerBuffer( &self->playback, outputParameters, framesPerUserBuffer, sampleRate, hwParamsPlayback, &accurate )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1833
Expression 'PaAlsaStream_DetermineFramesPerBuffer( self, realSr, inParams, outParams, framesPerUserBuffer, hwParamsCapture, hwParamsPlayback, hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1876
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1994
2011/10/18 09:34:49 [output(dot)portaudio:3] Unanticipated host error in open_default_stream. (ignoring)
2011/10/18 09:34:49 [clock.wallclock_pa:2] Error when starting output output(dot)portaudio: File "tools/utils.ml", line 23, characters 46-52: Assertion failed!
init: exception encountered during main phase:
File "tools/utils.ml", line 23, characters 46-52: Assertion failed
exception: File "tools/utils.ml", line 23, characters 46-52: Assertion failed
2011/10/18 09:34:49 [main:3] Shutdown started!
2011/10/18 09:34:49 [main:3] Waiting for threads to terminate...
2011/10/18 09:34:49 [main:3] Cleaning downloaded files...
2011/10/18 09:34:49 >>> LOG END
It looks like you're new here. If you want to get involved, click one of these buttons!