root@cs4414:~# cat /var/log/airtime/pypo-liquidsoap/main/current @400000004e0a141b150e3c64 *** Daemontools: starting liquidsoap @400000004e0a141b20f5bc8c 2011/06/28 21:49:05 >>> LOG START @400000004e0a141b20f66c54 2011/06/28 21:49:05 [protocols.external:3] Didn't find "ufetch". @400000004e0a141b20f6dd9c 2011/06/28 21:49:05 [protocols.external:3] Found "/usr/bin/wget". @400000004e0a141b20f73774 2011/06/28 21:49:05 [main:3] Liquidsoap 1.0.0-beta+svn (default@e712df4d96c0:20110502:175204) @400000004e0a141b20f7991c 2011/06/28 21:49:05 [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.1 vorbis=0.5.1 mad=0.4.0 flac=0.1.0 flac.ogg=0.1.0 lame=0.2.4 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 camomile=0.7.1 portaudio=@VERSION ladspa=0.1.2 @400000004e0a141b20f7fac4 2011/06/28 21:49:05 [main:2] @400000004e0a141b20f8549c 2011/06/28 21:49:05 [main:2] DISCLAIMER: This version of Liquidsoap has been @400000004e0a141b20f8ae74 2011/06/28 21:49:05 [main:2] compiled from a snapshot of the development code. @400000004e0a141b20f91bd4 2011/06/28 21:49:05 [main:2] As such, it should not be used in production @400000004e0a141b20f97994 2011/06/28 21:49:05 [main:2] unless you know what you are doing! @400000004e0a141b20f9df24 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fa38fc 2011/06/28 21:49:05 [main:2] We are, however, very interested in any feedback @400000004e0a141b20fa92d4 2011/06/28 21:49:05 [main:2] about our development code and committed to fix @400000004e0a141b20faecac 2011/06/28 21:49:05 [main:2] issues as soon as possible. @400000004e0a141b20fb4a6c 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fba05c 2011/06/28 21:49:05 [main:2] If you are interested in collaborating to @400000004e0a141b20fc7b1c 2011/06/28 21:49:05 [main:2] the development of Liquidsoap, feel free to @400000004e0a141b20fcd8dc 2011/06/28 21:49:05 [main:2] drop us a mail at <savonet-devl@lists.sf.net> @400000004e0a141b20fd369c 2011/06/28 21:49:05 [main:2] or to join the #savonet IRC channel on Freenode. @400000004e0a141b20fd9074 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fdea4c 2011/06/28 21:49:05 [main:2] Please send any bug report or feature request @400000004e0a141b20fe403c 2011/06/28 21:49:05 [main:2] using our trac <http://savonet.rastageeks.org>. @400000004e0a141b20fe9a14 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fef004 2011/06/28 21:49:05 [main:2] We hope you enjoy this snapshot build of Liquidsoap! @400000004e0a141b20ff49dc 2011/06/28 21:49:05 [main:2] @400000004e0a141b20ff9fcc 2011/06/28 21:49:05 [lang:3] Did not find flac binary: flac decoder disabled. @400000004e0a141b20fff9a4 2011/06/28 21:49:05 [lang:3] Did not find metaflac binary: flac metadata resolver disabled. @400000004e0a141b2100537c 2011/06/28 21:49:05 [lang:3] Did not find faad binary: faad decoder disabled. @400000004e0a141b2100a96c 2011/06/28 21:49:05 [lang:3] Lastfm/audioscrobbler support was not compiled. @400000004e0a141b21010344 2011/06/28 21:49:05 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. @400000004e0a141b21015d1c 2011/06/28 21:49:05 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. @400000004e0a141b2101b6f4 2011/06/28 21:49:05 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. @400000004e0a141b210210cc 2011/06/28 21:49:05 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. @400000004e0a141b2105ed14 2011/06/28 21:49:05 [threads:3] Created thread "generic queue #1". @400000004e0a141b2106d774 2011/06/28 21:49:05 [threads:3] Created thread "non-blocking queue #1". @400000004e0a141b27ff9dcc 2011/06/28 21:49:05 [airtime(dot)mp3:3] Connecting mount airtime.mp3 for source@109.234.154.173... @400000004e0a141b28974604 2011/06/28 21:49:05 [airtime(dot)mp3:2] Connection failed: could not connect to host: Connection refused in connect()! @400000004e0a141b2898056c 2011/06/28 21:49:05 [airtime(dot)mp3:3] Connection failed, will try again in 5 sec. @400000004e0a141b2899da2c 2011/06/28 21:49:05 [threads:3] Created thread "wallclock_main" (1 total). @400000004e0a141b289ca11c 2011/06/28 21:49:05 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock. @400000004e0a141b2fde3044 2011/06/28 21:49:05 [fallback_4309:3] Switch to src_4307. @400000004e0a141b2fe329b4 2011/06/28 21:49:05 [src_4307:3] Inserting missing metadata. @400000004e0a141b313e2da4 /usr/lib/airtime/pypo/bin/scripts/notify.sh --data='0' --media-id= @400000004e0a141c092587a4 @400000004e0a141c09258f74 ######################################### @400000004e0a141c09258f74 # *** pypo *** # @400000004e0a141c0925935c # pypo notification gateway # @400000004e0a141c09259744 ######################################### @400000004e0a141c09259b2c NOTICE: 'media_id' command-line argument not given. @400000004e0a1421009d5364 2011/06/28 21:49:11 [airtime(dot)mp3:3] Connecting mount airtime.mp3 for source@109.234.154.173... @400000004e0a14210453a0bc 2011/06/28 21:49:11 [airtime(dot)mp3:3] Connection setup was successful. root@cs4414:~# cat /var/log/airtime/pypo-liquidsoap/main/current @400000004e0a141b150e3c64 *** Daemontools: starting liquidsoap @400000004e0a141b20f5bc8c 2011/06/28 21:49:05 >>> LOG START @400000004e0a141b20f66c54 2011/06/28 21:49:05 [protocols.external:3] Didn't find "ufetch". @400000004e0a141b20f6dd9c 2011/06/28 21:49:05 [protocols.external:3] Found "/usr/bin/wget". @400000004e0a141b20f73774 2011/06/28 21:49:05 [main:3] Liquidsoap 1.0.0-beta+svn (default@e712df4d96c0:20110502:175204) @400000004e0a141b20f7991c 2011/06/28 21:49:05 [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.1 vorbis=0.5.1 mad=0.4.0 flac=0.1.0 flac.ogg=0.1.0 lame=0.2.4 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 camomile=0.7.1 portaudio=@VERSION ladspa=0.1.2 @400000004e0a141b20f7fac4 2011/06/28 21:49:05 [main:2] @400000004e0a141b20f8549c 2011/06/28 21:49:05 [main:2] DISCLAIMER: This version of Liquidsoap has been @400000004e0a141b20f8ae74 2011/06/28 21:49:05 [main:2] compiled from a snapshot of the development code. @400000004e0a141b20f91bd4 2011/06/28 21:49:05 [main:2] As such, it should not be used in production @400000004e0a141b20f97994 2011/06/28 21:49:05 [main:2] unless you know what you are doing! @400000004e0a141b20f9df24 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fa38fc 2011/06/28 21:49:05 [main:2] We are, however, very interested in any feedback @400000004e0a141b20fa92d4 2011/06/28 21:49:05 [main:2] about our development code and committed to fix @400000004e0a141b20faecac 2011/06/28 21:49:05 [main:2] issues as soon as possible. @400000004e0a141b20fb4a6c 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fba05c 2011/06/28 21:49:05 [main:2] If you are interested in collaborating to @400000004e0a141b20fc7b1c 2011/06/28 21:49:05 [main:2] the development of Liquidsoap, feel free to @400000004e0a141b20fcd8dc 2011/06/28 21:49:05 [main:2] drop us a mail at <savonet-devl@lists.sf.net> @400000004e0a141b20fd369c 2011/06/28 21:49:05 [main:2] or to join the #savonet IRC channel on Freenode. @400000004e0a141b20fd9074 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fdea4c 2011/06/28 21:49:05 [main:2] Please send any bug report or feature request @400000004e0a141b20fe403c 2011/06/28 21:49:05 [main:2] using our trac <http://savonet.rastageeks.org>. @400000004e0a141b20fe9a14 2011/06/28 21:49:05 [main:2] @400000004e0a141b20fef004 2011/06/28 21:49:05 [main:2] We hope you enjoy this snapshot build of Liquidsoap! @400000004e0a141b20ff49dc 2011/06/28 21:49:05 [main:2] @400000004e0a141b20ff9fcc 2011/06/28 21:49:05 [lang:3] Did not find flac binary: flac decoder disabled. @400000004e0a141b20fff9a4 2011/06/28 21:49:05 [lang:3] Did not find metaflac binary: flac metadata resolver disabled. @400000004e0a141b2100537c 2011/06/28 21:49:05 [lang:3] Did not find faad binary: faad decoder disabled. @400000004e0a141b2100a96c 2011/06/28 21:49:05 [lang:3] Lastfm/audioscrobbler support was not compiled. @400000004e0a141b21010344 2011/06/28 21:49:05 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. @400000004e0a141b21015d1c 2011/06/28 21:49:05 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. @400000004e0a141b2101b6f4 2011/06/28 21:49:05 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. @400000004e0a141b210210cc 2011/06/28 21:49:05 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. @400000004e0a141b2105ed14 2011/06/28 21:49:05 [threads:3] Created thread "generic queue #1". @400000004e0a141b2106d774 2011/06/28 21:49:05 [threads:3] Created thread "non-blocking queue #1". @400000004e0a141b27ff9dcc 2011/06/28 21:49:05 [airtime(dot)mp3:3] Connecting mount airtime.mp3 for source@109.234.154.173... @400000004e0a141b28974604 2011/06/28 21:49:05 [airtime(dot)mp3:2] Connection failed: could not connect to host: Connection refused in connect()! @400000004e0a141b2898056c 2011/06/28 21:49:05 [airtime(dot)mp3:3] Connection failed, will try again in 5 sec. @400000004e0a141b2899da2c 2011/06/28 21:49:05 [threads:3] Created thread "wallclock_main" (1 total). @400000004e0a141b289ca11c 2011/06/28 21:49:05 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock. @400000004e0a141b2fde3044 2011/06/28 21:49:05 [fallback_4309:3] Switch to src_4307. @400000004e0a141b2fe329b4 2011/06/28 21:49:05 [src_4307:3] Inserting missing metadata. @400000004e0a141b313e2da4 /usr/lib/airtime/pypo/bin/scripts/notify.sh --data='0' --media-id= @400000004e0a141c092587a4 @400000004e0a141c09258f74 ######################################### @400000004e0a141c09258f74 # *** pypo *** # @400000004e0a141c0925935c # pypo notification gateway # @400000004e0a141c09259744 ######################################### @400000004e0a141c09259b2c NOTICE: 'media_id' command-line argument not given. @400000004e0a1421009d5364 2011/06/28 21:49:11 [airtime(dot)mp3:3] Connecting mount airtime.mp3 for source@109.234.154.173... @400000004e0a14210453a0bc 2011/06/28 21:49:11 [airtime(dot)mp3:3] Connection setup was successful.
cat /var/log/rabbitmq/startup_log Starting all nodes... Starting node rabbit@cs4414... +---+ +---+ | | | | | | | | | | | | | +---+ +-------+ | | | RabbitMQ +---+ | | | | | | v1.7.2 +---+ | | | +-------------------+ AMQP 8-0 Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd. Licensed under the MPL. See http://www.rabbitmq.com/ node : rabbit@cs4414 app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/../ebin/rabbit.app home dir : /var/lib/rabbitmq cookie hash : wH62RPw3at4uDaTHm7MpcQ== log : /var/log/rabbitmq/rabbit.log sasl log : /var/log/rabbitmq/rabbit-sasl.log database dir : /var/lib/rabbitmq/mnesia/rabbit starting internal event notification system ...done starting logging server ...done starting database ...done -- kernel ready starting queue supervisor ...done starting node monitor ...done starting cluster router ...done starting alarm handler ...done -- core initialized starting empty DB check ...done starting exchange recovery ...done starting queue recovery ...done starting persister ...done starting guid generator ...done -- message delivery logic ready starting error log relay ...done starting networking ...done -- network listeners available starting codec correctness check ...done broker running OK done.
airtime-check-system CPU = Intel(R) Xeon(R) CPU E5620 @ 2.40GHz Total RAM = 524288 kB Free RAM = 292092 kB OS = Ubuntu 10.04.1 LTS Intel 80386 AIRTIME_CONFIG_FILES = OK POSTGRESQL_DATABASE = OK PYTHON_KOMBU_VERSION = 1.1.6 PYTHON_POSTER_VERSION = 0.8.1 RABBITMQ_SERVER = OK AIRTIME_VERSION_URL = http://109.234.154.173:80/api/version/api_key/% %api_key%% APACHE_CONFIGURED = YES AIRTIME_VERSION = 1.8.2 PLAYOUT_ENGINE_PROCESS_ID = 1335 PLAYOUT_ENGINE_RUNNING_SECONDS = 1213 LIQUIDSOAP_PROCESS_ID = 1143 LIQUIDSOAP_RUNNING_SECONDS = 1221 ICECAST_PROCESS_ID = 1214 -- There appears to be problems with your setup. Please visit -- http://wiki.sourcefabric.org/x/HABQ for troubleshooting info.
<!-- This is the hostname other people will use to connect to your server. It affects mainly the urls generated by Icecast for playlists and yp listings. --> <hostname>127.0.0.1</hostname> <!-- You may have multiple <listener> elements --> <listen-socket> <port>8000</port> <!-- <bind-address>127.0.0.1</bind-address> --> <!-- <shoutcast-mount>/stream</shoutcast-mount> --> </listen-socket> <!-- <listen-socket> <port>8001</port> </listen-socket> --> <!--<master-server>127.0.0.1</master-server>--> <!--<master-server-port>8001</master-server-port>--> <!--<master-update-interval>120</master-update-interval>--> <!--<master-password>hackme</master-password>--> <!-- setting this makes all relays on-demand unless overridden, this is useful for master relays which do not have <relay> definitions here. The default is 0 --> <!--<relays-on-demand>1</relays-on-demand>--> <!-- <relay> <server>127.0.0.1</server> <port>8001</port> <mount>/example.ogg</mount> <local-mount>/different.ogg</local-mount> <on-demand>0</on-demand> <relay-shoutcast-metadata>0</relay-shoutcast-metadata> </relay> --> <mount> <mount-name>/airtime.mp3</mount-name> <hidden>0</hidden> </mount> <mount> <mount-name>/live.mp3</mount-name> <fallback-mount>/airtime.mp3</fallback-mount> <fallback-override>1</fallback-override> <hidden>0</hidden> </mount>
GNU nano 2.2.2 File: /etc/airtime/liquidsoap.cfg ########################################### # liquidsoap config file # ########################################### ########################################### # general settings # ########################################### log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log" log_level = 3 ########################################### # stream settings # ########################################### icecast_host = "127.0.0.1" icecast_port = 8000 icecast_pass = "pass" ########################################### # webstream mountpoint names # ########################################### mount_point_mp3 = "airtime.mp3" mount_point_vorbis = "airtime.ogg" ########################################### # webstream metadata settings # ########################################### icecast_url = "http://www.pokeroff.ru" icecast_description = "Radio Pokeroff" icecast_genre = "live" ########################################### #liquidsoap output settings # ########################################### output_sound_device = false output_icecast_vorbis = false output_icecast_mp3 = true #audio stream metadata for vorbis/ogg is disabled by default #due to a large number of client media players that disconnect #when the metadata changes to that of a new track. Some versions of #mplayer and VLC have this problem. Enable this option at your #own risk! output_icecast_vorbis_metadata = false
[database] host = localhost dbname = airtime dbuser = airtime dbpass = airtime [rabbitmq] host = 127.0.0.1 port = 5672 user = guest password = guest vhost = / [general] api_key = 945C6JKUHWZCMF5BFAZR web_server_user = www-data airtime_dir = /var/www/airtime base_files_dir = /srv/airtime base_url = 127.0.0.1 base_port = 80 [soundcloud] connection_retries = 3 time_between_retries = 60
############################################ # pypo - configuration # ############################################ # Set the type of client you are using. # Currently supported types: # 1) "obp" = Open Broadcast Platform # 2) "airtime" # api_client = "airtime" ############################################ # Cache Directories # # *include* trailing slash !! # ############################################ cache_dir = '/var/tmp/airtime/pypo/cache/' file_dir = '/var/tmp/airtime/pypo/files/' tmp_dir = '/var/tmp/airtime/pypo/tmp/' ############################################ # Setup Directories # # Do *not* include trailing slash !! # ############################################ cache_base_dir = '/var/tmp/airtime/pypo' bin_dir = '/usr/lib/airtime/pypo' log_base_dir = '/var/log/airtime' pypo_log_dir = '/var/log/airtime/pypo' liquidsoap_log_dir = '/var/log/airtime/pypo-liquidsoap' # Hostname base_url = '127.0.0.1' base_port = 80 ############################################ # Liquidsoap settings # ############################################ ls_host = '127.0.0.1' ls_port = '1234' ############################################ # RabbitMQ settings # ############################################ rabbitmq_host = '127.0.0.1' rabbitmq_user = 'guest' rabbitmq_password = 'guest'
ps aux | grep pypo
sudo service icecast2 restart
root@cs4414:/var/log/airtime/pypo-liquidsoap# ps aux | grep pypo root 1124 0.0 0.0 1556 324 ? S 03:31 0:00 supervise pypo pypo 1127 0.0 0.0 1696 384 ? S 03:31 0:00 multilog t /var/log/airtime/pypo/main root 1128 0.0 0.0 1556 324 ? S 03:31 0:00 supervise pypo-liquidsoap pypo 1135 0.0 0.0 1696 380 ? S 03:31 0:00 multilog t /var/log/airtime/pypo-liquidsoap/main pypo 1138 0.0 0.1 2508 1112 ? S 03:31 0:00 su pypo -c python -u /usr/lib/airtime/show-recorder/recorder.py pypo 1140 0.0 0.0 1696 384 ? S 03:31 0:00 multilog t /var/log/airtime/show-recorder/main pypo 1151 0.0 0.6 9916 6672 ? S 03:31 0:01 python -u /usr/lib/airtime/show-recorder/recorder.py pypo 1152 0.0 0.1 2508 1116 ? S 03:31 0:00 su pypo -c /usr/lib/airtime/pypo/bin/liquidsoap/liquidsoap /usr/lib/airtime/pypo/bin/scripts/ls_script.liq pypo 1153 3.5 1.6 75348 17412 ? Sl 03:31 3:01 /usr/lib/airtime/pypo/bin/liquidsoap/liquidsoap /usr/lib/airtime/pypo/bin/scripts/ls_script.liq pypo 1323 0.0 0.8 32188 8652 ? Sl 03:31 0:01 python -u /usr/lib/airtime/pypo/bin/pypo-cli.py root 1795 0.0 0.2 5004 2696 pts/0 T 03:47 0:00 nano -w -w /etc/airtime/pypo.cfg root 3846 0.0 0.0 3252 784 pts/0 R+ 04:57 0:00 grep --color=auto pypo
It looks like you're new here. If you want to get involved, click one of these buttons!