Installing Airtime On New VPS

vps

#1

Hi -

Have just switched over to the new Ubuntu VPS. I had been struggling for many weeks to install Airtime (sourcefabric.org) on the debian server and thought switching to the new VPS would ensure a smooth install. It hasn’t.

It has enabled me to install Icecast2 easily, but Airtime still throws up many error type messages causing the install to fail. I have successfully installed Airtime on an Ubuntu 12.04 VPS with another host - took about 20 minutes.

Does anyone here know how to get this done ?

Any help on this much appreciated.

–M

PS The user guide for the install that I followed is here: http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/automated-installation/


#2

What sorts of errors are you getting?


#3

I’ll create a new VPS, go through the install and post the issues here as it runs through.


#4

Hi -

Ok, well, ran through the install this time using these instructions:

And towards the end got the same fail I have had every time I hve tried to get the install done - as follows:

[code]

Adding user timidity' to groupaudio’ …
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
    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)[/code]

–M

The full read out as the install ran is:

$ sudo apt-get install airtime
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2 apache2-mpm-prefork apache2.2-bin apache2.2-common ecasound
  erlang-corba erlang-dev erlang-diameter erlang-docbuilder erlang-edoc
  erlang-erl-docgen erlang-eunit erlang-ic erlang-inviso erlang-nox
  erlang-os-mon erlang-parsetools erlang-percept erlang-snmp erlang-ssh
  erlang-tools erlang-webtool erlang-xmerl esound-common faad flac freepats
  lame libao-common libao4 libapache2-mod-php5 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libaudio2 libaudiofile1 libcamomile-ocaml-data libesd0
  libfaad2 libkvutils4 liblo7 libmad0 libmikmod2 liboil0.3 libopencore-amrnb0
  libopencore-amrwb0 libopus0 libportaudio2 libsox-fmt-alsa libsox-fmt-base
  libsox1b libtag1-vanilla libtag1c2a libwavpack1 libzend-framework-php
  liquidsoap mikmod monit mp3gain oss-compat php-apc php5-curl php5-gd
  php5-pgsql pwgen rabbitmq-server silan sox timidity timidity-daemon
  vorbis-tools vorbisgain
Suggested packages:
  airtime-audio-samples apache2-doc apache2-suexec apache2-suexec-custom ufw
  ecatools swh-plugins ladspa-plugin nama erlang erlang-manpages erlang-doc
  fop erlang-ic-java erlang-observer libroar1 libsndio0 roaraudio-server nas
  libcamomile-ocaml-dev pulseaudio-esound-compat liblo-dev opus-tools
  libsox-fmt-all libjs-dojo-core libjs-dojo-dijit libjs-dojo-dojox festival
  mplayer lha unrar zoo pmidi fluid-soundfont-gm fluid-soundfont-gs
The following NEW packages will be installed:
  airtime apache2 apache2-mpm-prefork apache2.2-bin apache2.2-common ecasound
  erlang-corba erlang-dev erlang-diameter erlang-docbuilder erlang-edoc
  erlang-erl-docgen erlang-eunit erlang-ic erlang-inviso erlang-nox
  erlang-os-mon erlang-parsetools erlang-percept erlang-snmp erlang-ssh
  erlang-tools erlang-webtool erlang-xmerl esound-common faad flac freepats
  lame libao-common libao4 libapache2-mod-php5 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libaudio2 libaudiofile1 libcamomile-ocaml-data libesd0
  libfaad2 libkvutils4 liblo7 libmad0 libmikmod2 liboil0.3 libopencore-amrnb0
  libopencore-amrwb0 libopus0 libportaudio2 libsox-fmt-alsa libsox-fmt-base
  libsox1b libtag1-vanilla libtag1c2a libwavpack1 libzend-framework-php
  liquidsoap mikmod monit mp3gain oss-compat php-apc php5-curl php5-gd
  php5-pgsql pwgen rabbitmq-server silan sox timidity timidity-daemon
  vorbis-tools vorbisgain
0 upgraded, 72 newly installed, 0 to remove and 81 not upgraded.
Need to get 76.4 MB of archives.
After this operation, 174 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirror.newdream.net/ubuntu/ precise/main libaprutil1-dbd-sqlite3 amd64 1.3.12+dfsg-3 [10.4 kB]
Get:2 http://mirror.newdream.net/ubuntu/ precise/main libaprutil1-ldap amd64 1.3.12+dfsg-3 [8,044 B]
Get:3 http://apt.sourcefabric.org/ precise/main libopus0 amd64 1.0.1~precise~sfo-1 [149 kB]
Get:4 http://mirror.newdream.net/ubuntu/ precise-updates/main apache2.2-bin amd64 2.2.22-1ubuntu1.7 [1,342 kB]
Get:5 http://apt.sourcefabric.org/ precise/main liquidsoap amd64 1.1.1~precise~sfo-2 [2,092 kB]
Get:6 http://mirror.newdream.net/ubuntu/ precise-updates/main apache2.2-common amd64 2.2.22-1ubuntu1.7 [226 kB]
Get:7 http://mirror.newdream.net/ubuntu/ precise-updates/main apache2-mpm-prefork amd64 2.2.22-1ubuntu1.7 [2,404 B]
Get:8 http://mirror.newdream.net/ubuntu/ precise-updates/main apache2 amd64 2.2.22-1ubuntu1.7 [1,494 B]
Get:9 http://mirror.newdream.net/ubuntu/ precise/main libaudiofile1 amd64 0.3.3-2 [91.6 kB]
Get:10 http://mirror.newdream.net/ubuntu/ precise/universe libkvutils4 amd64 2.8.1-5build1 [33.8 kB]
Get:11 http://mirror.newdream.net/ubuntu/ precise/universe liblo7 amd64 0.26~repack-7 [35.2 kB]
Get:12 http://apt.sourcefabric.org/ precise/main silan amd64 0.3.2~precise~sfo-1 [16.4 kB]
Get:13 http://mirror.newdream.net/ubuntu/ precise/universe liboil0.3 amd64 0.3.17-2ubuntu3 [144 kB]
Get:14 http://mirror.newdream.net/ubuntu/ precise/universe ecasound amd64 2.8.1-5build1 [716 kB]
Get:15 http://apt.sourcefabric.org/ precise/main airtime all 2.5.1-4 [8,384 kB]
Get:16 http://mirror.newdream.net/ubuntu/ precise-updates/main flac amd64 1.2.1-6ubuntu0.1 [168 kB]
Get:17 http://mirror.newdream.net/ubuntu/ precise-updates/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.15 [3,137 kB]
Get:18 http://mirror.newdream.net/ubuntu/ precise/main libao-common all 1.1.0-1ubuntu2 [6,646 B]
Get:19 http://mirror.newdream.net/ubuntu/ precise/main libao4 amd64 1.1.0-1ubuntu2 [39.4 kB]
Get:20 http://mirror.newdream.net/ubuntu/ precise/universe libfaad2 amd64 2.7-7 [179 kB]
Get:21 http://mirror.newdream.net/ubuntu/ precise/main libmad0 amd64 0.15.1b-7ubuntu1 [72.7 kB]
Get:22 http://mirror.newdream.net/ubuntu/ precise/main libportaudio2 amd64 19+svn20111121-1 [74.0 kB]
Get:23 http://mirror.newdream.net/ubuntu/ precise/main libtag1-vanilla amd64 1.7-1ubuntu5 [327 kB]
Get:24 http://mirror.newdream.net/ubuntu/ precise/main libtag1c2a amd64 1.7-1ubuntu5 [2,864 B]
Get:25 http://mirror.newdream.net/ubuntu/ precise/universe libcamomile-ocaml-data all 0.8.3-2build1 [5,275 kB]
Get:26 http://mirror.newdream.net/ubuntu/ precise/universe libsox1b amd64 14.3.2-3 [267 kB]
Get:27 http://mirror.newdream.net/ubuntu/ precise/universe libsox-fmt-alsa amd64 14.3.2-3 [7,602 B]
Get:28 http://mirror.newdream.net/ubuntu/ precise/universe libopencore-amrnb0 amd64 0.1.2-1 [98.4 kB]
Get:29 http://mirror.newdream.net/ubuntu/ precise/universe libopencore-amrwb0 amd64 0.1.2-1 [50.1 kB]
Get:30 http://mirror.newdream.net/ubuntu/ precise/main libwavpack1 amd64 4.60.1-2 [84.5 kB]
Get:31 http://mirror.newdream.net/ubuntu/ precise/universe libsox-fmt-base amd64 14.3.2-3 [29.6 kB]
Get:32 http://mirror.newdream.net/ubuntu/ precise/universe sox amd64 14.3.2-3 [96.2 kB]
Get:33 http://mirror.newdream.net/ubuntu/ precise/universe monit amd64 1:5.3.2-1 [276 kB]
Get:34 http://mirror.newdream.net/ubuntu/ precise/universe mp3gain amd64 1.5.2-r2-2 [73.3 kB]
Get:35 http://mirror.newdream.net/ubuntu/ precise-updates/main php5-curl amd64 5.3.10-1ubuntu3.15 [28.1 kB]
Get:36 http://mirror.newdream.net/ubuntu/ precise-updates/main php5-gd amd64 5.3.10-1ubuntu3.15 [38.8 kB]
Get:37 http://mirror.newdream.net/ubuntu/ precise-updates/main php5-pgsql amd64 5.3.10-1ubuntu3.15 [58.9 kB]
Get:38 http://mirror.newdream.net/ubuntu/ precise/universe php-apc amd64 3.1.7-1 [79.4 kB]
Get:39 http://mirror.newdream.net/ubuntu/ precise/main pwgen amd64 2.06-1ubuntu2 [21.7 kB]
Get:40 http://mirror.newdream.net/ubuntu/ precise/main erlang-corba amd64 1:14.b.4-dfsg-1ubuntu1 [2,420 kB]
Get:41 http://mirror.newdream.net/ubuntu/ precise/main erlang-diameter amd64 1:14.b.4-dfsg-1ubuntu1 [462 kB]
Get:42 http://mirror.newdream.net/ubuntu/ precise/main erlang-xmerl amd64 1:14.b.4-dfsg-1ubuntu1 [1,108 kB]
Get:43 http://mirror.newdream.net/ubuntu/ precise/main erlang-edoc amd64 1:14.b.4-dfsg-1ubuntu1 [316 kB]
Get:44 http://mirror.newdream.net/ubuntu/ precise/main erlang-docbuilder amd64 1:14.b.4-dfsg-1ubuntu1 [199 kB]
Get:45 http://mirror.newdream.net/ubuntu/ precise/main erlang-erl-docgen amd64 1:14.b.4-dfsg-1ubuntu1 [121 kB]
Get:46 http://mirror.newdream.net/ubuntu/ precise/main erlang-eunit amd64 1:14.b.4-dfsg-1ubuntu1 [144 kB]
Get:47 http://mirror.newdream.net/ubuntu/ precise/main erlang-ic amd64 1:14.b.4-dfsg-1ubuntu1 [867 kB]
Get:48 http://mirror.newdream.net/ubuntu/ precise/main erlang-inviso amd64 1:14.b.4-dfsg-1ubuntu1 [147 kB]
Get:49 http://mirror.newdream.net/ubuntu/ precise/main erlang-snmp amd64 1:14.b.4-dfsg-1ubuntu1 [1,548 kB]
Get:50 http://mirror.newdream.net/ubuntu/ precise/main erlang-os-mon amd64 1:14.b.4-dfsg-1ubuntu1 [100 kB]
Get:51 http://mirror.newdream.net/ubuntu/ precise/main erlang-parsetools amd64 1:14.b.4-dfsg-1ubuntu1 [159 kB]
Get:52 http://mirror.newdream.net/ubuntu/ precise/main erlang-percept amd64 1:14.b.4-dfsg-1ubuntu1 [143 kB]
Get:53 http://mirror.newdream.net/ubuntu/ precise/main erlang-ssh amd64 1:14.b.4-dfsg-1ubuntu1 [368 kB]
Get:54 http://mirror.newdream.net/ubuntu/ precise/main erlang-webtool amd64 1:14.b.4-dfsg-1ubuntu1 [42.1 kB]
Get:55 http://mirror.newdream.net/ubuntu/ precise/main erlang-tools amd64 1:14.b.4-dfsg-1ubuntu1 [542 kB]
Get:56 http://mirror.newdream.net/ubuntu/ precise/main erlang-nox all 1:14.b.4-dfsg-1ubuntu1 [19.0 kB]
Get:57 http://mirror.newdream.net/ubuntu/ precise/main rabbitmq-server all 2.7.1-0ubuntu4 [2,745 kB]
Get:58 http://mirror.newdream.net/ubuntu/ precise/main vorbisgain amd64 0.36-3.1ubuntu2 [28.2 kB]
Get:59 http://mirror.newdream.net/ubuntu/ precise/main vorbis-tools amd64 1.4.0-1ubuntu2 [127 kB]
Get:60 http://mirror.newdream.net/ubuntu/ precise/universe libzend-framework-php all 1.11.11-0ubuntu1 [10.4 MB]
Get:61 http://mirror.newdream.net/ubuntu/ precise-updates/main libaudio2 amd64 1.9.3-4ubuntu0.1 [57.1 kB]
Get:62 http://mirror.newdream.net/ubuntu/ precise/main esound-common all 0.2.41-10build3 [9,972 B]
Get:63 http://mirror.newdream.net/ubuntu/ precise/main libesd0 amd64 0.2.41-10build3 [20.1 kB]
Get:64 http://mirror.newdream.net/ubuntu/ precise/universe oss-compat all 1 [4,498 B]
Get:65 http://mirror.newdream.net/ubuntu/ precise/universe libmikmod2 amd64 3.1.12-2 [151 kB]
Get:66 http://mirror.newdream.net/ubuntu/ precise/main erlang-dev amd64 1:14.b.4-dfsg-1ubuntu1 [499 kB]
Get:67 http://mirror.newdream.net/ubuntu/ precise/universe faad amd64 2.7-7 [36.0 kB]
Get:68 http://mirror.newdream.net/ubuntu/ precise/universe freepats all 20060219-1 [29.0 MB]
Get:69 http://mirror.newdream.net/ubuntu/ precise/universe lame amd64 3.99.3+repack1-1 [214 kB]
Get:70 http://mirror.newdream.net/ubuntu/ precise/universe mikmod amd64 3.2.1-3 [62.8 kB]
Get:71 http://mirror.newdream.net/ubuntu/ precise/universe timidity amd64 2.13.2-40build2 [657 kB]
Get:72 http://mirror.newdream.net/ubuntu/ precise/universe timidity-daemon all 2.13.2-40build2 [5,996 B]
Fetched 76.4 MB in 19s (3,841 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Can't exec "/tmp/airtime.config.308401": Permission denied at /usr/share/perl/5.14/IPC/Open3.pm line 186.
open2: exec of /tmp/airtime.config.308401 configure  failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
Selecting previously unselected package libaprutil1-dbd-sqlite3.
(Reading database ... 165933 files and directories currently installed.)
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.3.12+dfsg-3_amd64.deb) ...
Selecting previously unselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.3.12+dfsg-3_amd64.deb) ...
Selecting previously unselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.22-1ubuntu1.7_amd64.deb) ...
Selecting previously unselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.22-1ubuntu1.7_amd64.deb) ...
Selecting previously unselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.22-1ubuntu1.7_amd64.deb) ...
Selecting previously unselected package apache2.
Unpacking apache2 (from .../apache2_2.2.22-1ubuntu1.7_amd64.deb) ...
Selecting previously unselected package libaudiofile1.
Unpacking libaudiofile1 (from .../libaudiofile1_0.3.3-2_amd64.deb) ...
Selecting previously unselected package libkvutils4.
Unpacking libkvutils4 (from .../libkvutils4_2.8.1-5build1_amd64.deb) ...
Selecting previously unselected package liblo7.
Unpacking liblo7 (from .../liblo7_0.26~repack-7_amd64.deb) ...
Selecting previously unselected package liboil0.3.
Unpacking liboil0.3 (from .../liboil0.3_0.3.17-2ubuntu3_amd64.deb) ...
Selecting previously unselected package ecasound.
Unpacking ecasound (from .../ecasound_2.8.1-5build1_amd64.deb) ...
Selecting previously unselected package flac.
Unpacking flac (from .../flac_1.2.1-6ubuntu0.1_amd64.deb) ...
Selecting previously unselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.10-1ubuntu3.15_amd64.deb) ...
Selecting previously unselected package libao-common.
Unpacking libao-common (from .../libao-common_1.1.0-1ubuntu2_all.deb) ...
Selecting previously unselected package libao4.
Unpacking libao4 (from .../libao4_1.1.0-1ubuntu2_amd64.deb) ...
Selecting previously unselected package libfaad2.
Unpacking libfaad2 (from .../libfaad2_2.7-7_amd64.deb) ...
Selecting previously unselected package libmad0.
Unpacking libmad0 (from .../libmad0_0.15.1b-7ubuntu1_amd64.deb) ...
Selecting previously unselected package libopus0.
Unpacking libopus0 (from .../libopus0_1.0.1~precise~sfo-1_amd64.deb) ...
Selecting previously unselected package libportaudio2.
Unpacking libportaudio2 (from .../libportaudio2_19+svn20111121-1_amd64.deb) ...
Selecting previously unselected package libtag1-vanilla.
Unpacking libtag1-vanilla (from .../libtag1-vanilla_1.7-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libtag1c2a.
Unpacking libtag1c2a (from .../libtag1c2a_1.7-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libcamomile-ocaml-data.
Unpacking libcamomile-ocaml-data (from .../libcamomile-ocaml-data_0.8.3-2build1_all.deb) ...
Selecting previously unselected package libsox1b.
Unpacking libsox1b (from .../libsox1b_14.3.2-3_amd64.deb) ...
Selecting previously unselected package libsox-fmt-alsa.
Unpacking libsox-fmt-alsa (from .../libsox-fmt-alsa_14.3.2-3_amd64.deb) ...
Selecting previously unselected package libopencore-amrnb0.
Unpacking libopencore-amrnb0 (from .../libopencore-amrnb0_0.1.2-1_amd64.deb) ...
Selecting previously unselected package libopencore-amrwb0.
Unpacking libopencore-amrwb0 (from .../libopencore-amrwb0_0.1.2-1_amd64.deb) ...
Selecting previously unselected package libwavpack1.
Unpacking libwavpack1 (from .../libwavpack1_4.60.1-2_amd64.deb) ...
Selecting previously unselected package libsox-fmt-base.
Unpacking libsox-fmt-base (from .../libsox-fmt-base_14.3.2-3_amd64.deb) ...
Selecting previously unselected package sox.
Unpacking sox (from .../sox_14.3.2-3_amd64.deb) ...
Selecting previously unselected package liquidsoap.
Unpacking liquidsoap (from .../liquidsoap_1.1.1~precise~sfo-2_amd64.deb) ...
Selecting previously unselected package monit.
Unpacking monit (from .../monit_1%3a5.3.2-1_amd64.deb) ...
Selecting previously unselected package mp3gain.
Unpacking mp3gain (from .../mp3gain_1.5.2-r2-2_amd64.deb) ...
Selecting previously unselected package php5-curl.
Unpacking php5-curl (from .../php5-curl_5.3.10-1ubuntu3.15_amd64.deb) ...
Selecting previously unselected package php5-gd.
Unpacking php5-gd (from .../php5-gd_5.3.10-1ubuntu3.15_amd64.deb) ...
Selecting previously unselected package php5-pgsql.
Unpacking php5-pgsql (from .../php5-pgsql_5.3.10-1ubuntu3.15_amd64.deb) ...
Selecting previously unselected package php-apc.
Unpacking php-apc (from .../php-apc_3.1.7-1_amd64.deb) ...
Selecting previously unselected package pwgen.
Unpacking pwgen (from .../pwgen_2.06-1ubuntu2_amd64.deb) ...
Selecting previously unselected package erlang-corba.
Unpacking erlang-corba (from .../erlang-corba_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-diameter.
Unpacking erlang-diameter (from .../erlang-diameter_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-xmerl.
Unpacking erlang-xmerl (from .../erlang-xmerl_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-edoc.
Unpacking erlang-edoc (from .../erlang-edoc_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-docbuilder.
Unpacking erlang-docbuilder (from .../erlang-docbuilder_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-erl-docgen.
Unpacking erlang-erl-docgen (from .../erlang-erl-docgen_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-eunit.
Unpacking erlang-eunit (from .../erlang-eunit_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-ic.
Unpacking erlang-ic (from .../erlang-ic_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-inviso.
Unpacking erlang-inviso (from .../erlang-inviso_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-snmp.
Unpacking erlang-snmp (from .../erlang-snmp_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-os-mon.
Unpacking erlang-os-mon (from .../erlang-os-mon_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-parsetools.
Unpacking erlang-parsetools (from .../erlang-parsetools_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-percept.
Unpacking erlang-percept (from .../erlang-percept_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-ssh.
Unpacking erlang-ssh (from .../erlang-ssh_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-webtool.
Unpacking erlang-webtool (from .../erlang-webtool_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-tools.
Unpacking erlang-tools (from .../erlang-tools_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package erlang-nox.
Unpacking erlang-nox (from .../erlang-nox_1%3a14.b.4-dfsg-1ubuntu1_all.deb) ...
Selecting previously unselected package rabbitmq-server.
Unpacking rabbitmq-server (from .../rabbitmq-server_2.7.1-0ubuntu4_all.deb) ...
Selecting previously unselected package silan.
Unpacking silan (from .../silan_0.3.2~precise~sfo-1_amd64.deb) ...
Selecting previously unselected package vorbisgain.
Unpacking vorbisgain (from .../vorbisgain_0.36-3.1ubuntu2_amd64.deb) ...
Selecting previously unselected package vorbis-tools.
Unpacking vorbis-tools (from .../vorbis-tools_1.4.0-1ubuntu2_amd64.deb) ...
Selecting previously unselected package libzend-framework-php.
Unpacking libzend-framework-php (from .../libzend-framework-php_1.11.11-0ubuntu1_all.deb) ...
Selecting previously unselected package airtime.
Unpacking airtime (from .../airtime_2.5.1-4_all.deb) ...
Selecting previously unselected package libaudio2.
Unpacking libaudio2 (from .../libaudio2_1.9.3-4ubuntu0.1_amd64.deb) ...
Selecting previously unselected package esound-common.
Unpacking esound-common (from .../esound-common_0.2.41-10build3_all.deb) ...
Selecting previously unselected package libesd0.
Unpacking libesd0 (from .../libesd0_0.2.41-10build3_amd64.deb) ...
Selecting previously unselected package oss-compat.
Unpacking oss-compat (from .../archives/oss-compat_1_all.deb) ...
Selecting previously unselected package libmikmod2.
Unpacking libmikmod2 (from .../libmikmod2_3.1.12-2_amd64.deb) ...
Selecting previously unselected package erlang-dev.
Unpacking erlang-dev (from .../erlang-dev_1%3a14.b.4-dfsg-1ubuntu1_amd64.deb) ...
Selecting previously unselected package faad.
Unpacking faad (from .../archives/faad_2.7-7_amd64.deb) ...
Selecting previously unselected package freepats.
Unpacking freepats (from .../freepats_20060219-1_all.deb) ...
Selecting previously unselected package lame.
Unpacking lame (from .../lame_3.99.3+repack1-1_amd64.deb) ...
Selecting previously unselected package mikmod.
Unpacking mikmod (from .../mikmod_3.2.1-3_amd64.deb) ...
Selecting previously unselected package timidity.
Unpacking timidity (from .../timidity_2.13.2-40build2_amd64.deb) ...
Selecting previously unselected package timidity-daemon.
Unpacking timidity-daemon (from .../timidity-daemon_2.13.2-40build2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libaprutil1-dbd-sqlite3 (1.3.12+dfsg-3) ...
Setting up libaprutil1-ldap (1.3.12+dfsg-3) ...
Setting up apache2.2-bin (2.2.22-1ubuntu1.7) ...
Setting up apache2.2-common (2.2.22-1ubuntu1.7) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-prefork (2.2.22-1ubuntu1.7) ...
 * Starting web server apache2                                                  (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]
invoke-rc.d: initscript apache2, action "start" failed.
Setting up apache2 (2.2.22-1ubuntu1.7) ...
Setting up libaudiofile1 (0.3.3-2) ...
Setting up libkvutils4 (2.8.1-5build1) ...
Setting up liblo7 (0.26~repack-7) ...
Setting up liboil0.3 (0.3.17-2ubuntu3) ...
Setting up ecasound (2.8.1-5build1) ...
Setting up flac (1.2.1-6ubuntu0.1) ...
Setting up libapache2-mod-php5 (5.3.10-1ubuntu3.15) ...

Creating config file /etc/php5/apache2/php.ini with new version
 * Restarting web server apache2                                                (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]
invoke-rc.d: initscript apache2, action "restart" failed.
Setting up libao-common (1.1.0-1ubuntu2) ...
Setting up libao4 (1.1.0-1ubuntu2) ...
Setting up libfaad2 (2.7-7) ...
Setting up libmad0 (0.15.1b-7ubuntu1) ...
Setting up libopus0 (1.0.1~precise~sfo-1) ...
Setting up libportaudio2 (19+svn20111121-1) ...
Setting up libtag1-vanilla (1.7-1ubuntu5) ...
Setting up libtag1c2a (1.7-1ubuntu5) ...
Setting up libcamomile-ocaml-data (0.8.3-2build1) ...
Setting up libsox1b (14.3.2-3) ...
Setting up libsox-fmt-alsa (14.3.2-3) ...
Setting up libopencore-amrnb0 (0.1.2-1) ...
Setting up libopencore-amrwb0 (0.1.2-1) ...
Setting up libwavpack1 (4.60.1-2) ...
Setting up libsox-fmt-base (14.3.2-3) ...
Setting up sox (14.3.2-3) ...
Setting up liquidsoap (1.1.1~precise~sfo-2) ...
Adding group `liquidsoap' (GID 118) ...
Done.
Adding system user `liquidsoap' (UID 118) ...
Adding new user `liquidsoap' (UID 118) with group `liquidsoap' ...
Creating home directory `/usr/share/liquidsoap' ...
Starting liquidsoap channels: no script found in /etc/liquidsoap
Setting up monit (1:5.3.2-1) ...
newaliases: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
postalias: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
 * Starting daemon monitor monit                                         [ OK ]
Setting up mp3gain (1.5.2-r2-2) ...
Setting up php5-curl (5.3.10-1ubuntu3.15) ...
Setting up php5-gd (5.3.10-1ubuntu3.15) ...
Setting up php5-pgsql (5.3.10-1ubuntu3.15) ...
Setting up php-apc (3.1.7-1) ...
Setting up pwgen (2.06-1ubuntu2) ...
Setting up erlang-corba (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-diameter (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-xmerl (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-edoc (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-docbuilder (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-erl-docgen (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-eunit (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-ic (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-inviso (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-snmp (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-os-mon (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-parsetools (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-percept (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-ssh (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-webtool (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-tools (1:14.b.4-dfsg-1ubuntu1) ...
Setting up erlang-nox (1:14.b.4-dfsg-1ubuntu1) ...
Setting up rabbitmq-server (2.7.1-0ubuntu4) ...
Adding group `rabbitmq' (GID 119) ...
Done.
Adding system user `rabbitmq' (UID 119) ...
Adding new user `rabbitmq' (UID 119) with group `rabbitmq' ...
Not creating home directory `/var/lib/rabbitmq'.
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
Setting up silan (0.3.2~precise~sfo-1) ...
Setting up vorbisgain (0.36-3.1ubuntu2) ...
Setting up vorbis-tools (1.4.0-1ubuntu2) ...
Setting up libzend-framework-php (1.11.11-0ubuntu1) ...
Setting up airtime (2.5.1-4) ...
Setting up apache2...
Enabling site airtime-vhost.conf.
To activate the new configuration, you need to run:
  service apache2 reload
Module alias already enabled
Enabling module headers.
Enabling module rewrite.
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  service apache2 restart
Configuring php5...
 * Restarting web server apache2                                                (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing airtime (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libaudio2 (1.9.3-4ubuntu0.1) ...
Setting up esound-common (0.2.41-10build3) ...
Setting up libesd0 (0.2.41-10build3) ...
Setting up oss-compat (1) ...
Setting up libmikmod2 (3.1.12-2) ...
Setting up erlang-dev (1:14.b.4-dfsg-1ubuntu1) ...
Setting up faad (2.7-7) ...
Setting up freepats (20060219-1) ...
Setting up lame (3.99.3+repack1-1) ...
Setting up mikmod (3.2.1-3) ...
Setting up timidity (2.13.2-40build2) ...
Setting up timidity-daemon (2.13.2-40build2) ...
Adding group timidity....done
Adding system user timidity....done
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
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)

#5

I ran into similar problems installing Tomcat7.

On the new Ubuntu VPS servers, /tmp is mounted noexec–you can’t write a shell script to /tmp and then execute it.

But apt-get allows some packages to generate scripts during installation which must then be executed. So this noexec security mechanism does not play well with Ubuntu’s package manager.

The VPS kernel will not allow you to remove that noexec even temporarily, and will not allow various other techniques that ought to have worked.

But I did finally find this:

  • Create an alternate directory, such as /opt/tmp

  • Create a new file /etc/apt/apt.conf.d/56tempfile, whose contents should be

APT::ExtractTemplates::TempDir “/opt/tmp”;

  • Now you should be able to install packages, and presumably the scripts will be run from /opt/tmp rather than /tmp.

This seemed to work OK for Tomcat7. I can’t certify that it solves every problem that the noexec flag may create.

If this is the best way to fix this, my own opinion is that DreamHost should set up this configuration on VPS before the customer even sees it, because it’s not at all obvious what’s going on here when packages start failing.


#6

Hi goshawk -

Thanks for your pointers but alas, no success.

I have used other SSD VPS, digitalocean, Vultr, Linode and in every case, installing airtime is a simple, straightforward process that takes about 10 minutes tops.

I have been able to install icecast on the dreamhost vps quite easily but this issue with airtime (and I suspect therefore with many other packages) is a joke. Seriously . . . its a deal breaher in terms of using dreamhost because it just takes up more time (wasted) to do simple stuff like install a package - the bread and butter of providing a decent VPS.

Very, very frustrating.

M


#7

From your previous install, the first evidence of problems was “Can’t exec “/tmp/airtime.config.308401”: Permission denied”. My previous advice ought to have removed most errors related to “Cannot exec ‘/tmp/…’.”. If those errors are still happening, or are happening but are a little different, more detail might help us find out what’s wrong.

I don’t know whether fixing that would cause additional error messages to be generated, but the next error message I see is this: “Address already in use: make_sock: could not bind to address 0.0.0.0:80”.

Your VPS comes with an Apache2 server installed under /dh/apache2 and controlled by the startup script /etc/init.d/httpd2. it looks like AirTime has pulled in Apache2, installed in /etc/apache2 and /var/www, and controlled by /etc/init.d/apache2. They both want to run on port 80, so you wonld need to disable httpd2 or change its port in order to let Apache2 install itself on that port.

Beyond that, I would probably need to see an update of your installation log to see what your new errors are, in order to say anything constructive.