ALSA is not active and UFT-8. Ubuntu Precise 12.04
  • Hello, I can not complete the installation. It took days and I've tried reinstalling the server twice.

    I would love to use their services.

    ¡Thank you very much!

    Sergio.

    Error 1:

    (...)
    Adding user `timidity' to group `audio' ...
    Adding user timidity to group audio
    Done.
     * Stopping TiMidity++ ALSA midi emulation...                                                                                                                          No timidity found running; none killed.
                                                                                                                                                                    [ OK ]
       ...fail!
     * ALSA is not active, cannot start TiMidity++ ALSA midi emulation
    Setting up vorbisgain (0.36-3.1ubuntu2) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Error 2:

    (...)
    apache2: Could not reliably determine the server's fully qualified domain name, using 94.249.183.163 for ServerName
     ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 94.249.183.163 for ServerName
                                                                                                                                                                    [ OK ]
    Liquidsoap symlink points to the right place!
    * Making sure /etc/default/locale is set properly
     * Fail

    A non UTF-8 default locale found in /etc/default/locale. Airtime requires
    a UTF-8 locale to run. To fix this please do the following:

    Ubuntu:
    Put line 'en_US.UTF-8 UTF-8' (or similar) without quotes to '/var/lib/locales/supported.d/local',
    replacing any existing lines.
    A list of supported locales is available in '/usr/share/i18n/SUPPORTED'
    Then run 'sudo dpkg-reconfigure locales'

    Debian:
    Run 'sudo dpkg-reconfigure locales' and use the interface to select 'en_US.UTF-8 UTF-8' (or similar).
    On the second page select this new locale as the default.

    After these changes have been made simply run install again.
  • 3 Comments sorted by
  • Vote Up1Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    you need to install alsa on your machine
    that is the problem with VPS, they are often bad configured and have a minimal installation

    for alsa

    sudo apt-get install alsa alsa-tools

    for utf-8
    1. check which locales are supported :



      less /usr/share/i18n/SUPPORTED
    2. add the locales you want (for example fr) :



      sudo locale-gen fr_FR
      sudo locale-gen fr_FR.UTF
    3. sudo update-locale
    Post edited by Albert FR at 2014-03-21 05:32:26
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    this problem is often present with poor vps instance...
  • I'm getting same problem. can't it fixed ? 
    my VPS has good instance too. 

    please see attachment : 
    image
    Thanks