Installation de airtime

Bonjour à tous :slightly_smiling:

Je souhaite installer airtime sur une debian wheezy à jour. Il me servira de « directeur » pour une webradio. Mon souci est qu’il dépend de timidity et que ce service ne veut pas démarrer.

# service timidity start 
 failed!
[warn] ALSA is not active, cannot start TiMidity++ ALSA midi emulation ... (warning).

C’est compréhensible que ALSA ne soit pas actif bien qu’il soit installé, l’installation se fait sur un serveur, il n’y a donc pas de carte son d’installée.

Merci pour votre aide :wink:.

Et webradio sur un serveur, c’est logique ?

Je n’ai pas compris ce que tu voulais dire. Ou plutôt, je ne vois pas en quoi ce serait illogique.

Alsa possède un module pour définir une carte son bidon : alsa-project.org/main/index. … dule-dummy

Il s’est avéré que le kernel de mon serveur OVH était compilé statiquement. Il n’était donc pas modulable.
J’ai mis le même .deb sur un serveur digicube et je n’ai pas eu ce soucis. Il faudrait faire de plus amples investigations mais je soupçonne OVH de tailler dans le vif avec leurs kernels.

Les kernels d’OVH n’acceptent pas le chargement de modules pour des raisons de sécurité. Si tu veux pouvoir charger des modules additionnels, il faut repasser sur un kernel Debian (auquel cas tu perdras aussi grsec et autres patchs utilisés par OVH).

Du coup je suis passé sur un autre serveur avec un kernel tout à fait banal et qui marche. Les problèmes liés à alsa ont soudainement disparus. Maintenant c’est juste airtime qui n’arrive pas à se connecter aux autres daemons.

# airtime-check-system
AIRTIME_STATUS_URL             = http://radio.swordarmor.fr:80/api/status/format/json/api_key/%%api_key%%
AIRTIME_SERVER_RESPONDING      = OK
KERNEL_VERSION                 = 3.2.0-4-amd64
MACHINE_ARCHITECTURE           = x86_64
TOTAL_MEMORY_MBYTES            = 8165416
TOTAL_SWAP_MBYTES              = 15622140
AIRTIME_VERSION                = 2.5.0
OS                             = Debian GNU/Linux 7.2 (wheezy) x86_64
CPU                            = AMD Athlon(tm) II X2 250 Processor
WEB_SERVER                     = Apache
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
-- 
-- 2013-11-21 22:57:18,099 DEBUG - [telnetliquidsoap.py : get_current_stream_id() : line 205] - stream_id: -1
-- 2013-11-21 22:57:18,101 INFO - [pypopush.py : main() : line 93] - heartbeat
-- 2013-11-21 22:57:18,101 INFO - [pypoliqqueue.py : main() : line 54] - New schedule received: {}
-- 2013-11-21 22:57:18,101 INFO - [pypoliqqueue.py : main() : line 34] - waiting indefinitely for schedule
-- 
-- 
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
-- 2013/11/21 22:58:46 [stdout:3]
-- 2013/11/21 22:58:46 [stdout:3] #########################################
-- 2013/11/21 22:58:46 [stdout:3] #           *** pypo  ***               #
-- 2013/11/21 22:58:46 [stdout:3] #     pypo notification gateway         #
-- 2013/11/21 22:58:46 [stdout:3] #########################################
-- 
-- 
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
-- 2013-11-21 22:58:46,860 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://radio.swordarmor.fr:80/api/media-monitor-setup/format/json/api_key/WD3763MVNZTD1E7L3PFR
-- 2013-11-21 22:58:46,973 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://radio.swordarmor.fr:80/api/list-all-watched-dirs/format/json/api_key/WD3763MVNZTD1E7L3PFR
-- 2013-11-21 22:58:47,057 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://radio.swordarmor.fr:80/api/list-all-files/format/json/api_key/WD3763MVNZTD1E7L3PFR/dir_id/1/all/0
-- 2013-11-21 22:58:47,181 INFO - [Thread-1] [bootstrap.py : flush_watch()] : LINE 63 - Flushed watch directory (/var/lib/airtime/stor/imported).                 (added, modified, deleted) = (0, 0, 0)
-- 2013-11-21 22:58:47,182 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://radio.swordarmor.fr:80/api/register-component/format/json/api_key/WD3763MVNZTD1E7L3PFR/component/media-monitor
-- 
-- 
-- There appears to be a problem with your Airtime installation.
-- Please visit http://wiki.sourcefabric.org/x/HABQ

Je n’ai pas encore beaucoup creusé mais paramètres marqué “FAILED” ne sont pas sur la page du lien, ça commence mal.