sudo apt-get --purge remove postgresql\*Installed airtime-easy-setup via USC
sudo rm -r /etc/postgresql/
sudo rm -r /etc/postgresql-common/
sudo rm -r /var/lib/postgresql/
sudo userdel -r postgres
sudo groupdel postgres
sudo apt-get update && sudo apt-get install airtime
sudo apt-get install postgresqlbut actually it worked without this...
I followed the update and install steps quoted above.Setting up postgresql (9.1+129ubuntu1) ...
Selecting previously unselected package airtime-easy-setup.
(Reading database ... 67607 files and directories currently installed.)
Unpacking airtime-easy-setup (from airtime-easy-setup.deb) ...
Setting up airtime-easy-setup (2.2.1-1) ...
Installing Sourcefabric package signing key...
OK
Setting up Airtime for America/Denver timezone...
Setting Icecast and Airtime domain names to creek...
Setting defaults for non-interactive installation...
en_US.UTF-8 is the default locale on this server and appears to support UTF-8 encoding.
Now please run the commands:
sudo apt-get update
sudo apt-get install airtime
After that, installation of Airtime should be complete in a couple of minutes.
root@machine# airtime-check-system
AIRTIME_STATUS_URL = http://localhost:80/api/status/format/json/api_key/%%api_key%%
AIRTIME_SERVER_RESPONDING = OK
KERNEL_VERSION = 2.6.32-308.8.2.el5.028stab101.1
MACHINE_ARCHITECTURE = i686
TOTAL_MEMORY_MBYTES = 1048576
TOTAL_SWAP_MBYTES = 0
AIRTIME_VERSION = 2.2.1
OS = Ubuntu 12.04.1 LTS i686
CPU = Intel(R) Xeon(R) CPU E31270 @ 3.40GHz
WEB_SERVER = Apache/2.2.22 (Ubuntu)
PLAYOUT_ENGINE_PROCESS_ID = 24159
PLAYOUT_ENGINE_RUNNING_SECONDS = 43
PLAYOUT_ENGINE_MEM_PERC = 0.9%
PLAYOUT_ENGINE_CPU_PERC = 0.0%
LIQUIDSOAP_PROCESS_ID = 24191
LIQUIDSOAP_RUNNING_SECONDS = 43
LIQUIDSOAP_MEM_PERC = 1.3%
LIQUIDSOAP_CPU_PERC = 1.4%
MEDIA_MONITOR_PROCESS_ID = 24110
MEDIA_MONITOR_RUNNING_SECONDS = 43
MEDIA_MONITOR_MEM_PERC = 1.0%
MEDIA_MONITOR_CPU_PERC = 0.4%
RABBITMQ_PROCESS_ID = 1361
RABBITMQ_RUNNING_SECONDS = 529004
RABBITMQ_MEM_PERC = 1.7%
RABBITMQ_CPU_PERC = 0.0%
-- Your installation of Airtime looks OK!
< <source-password>donthackme</source-password>
< <relay-password>donthackme</relay-password>
< <admin-password>donthackme</admin-password>
< <hostname>non-FQDN-hostname</hostname>
I added the line:cat /etc/default/locale
# File generated by update-locale
root@airplay:~#
I got:LANG="en_US.UTF-8"
So, I pasted in the text above from Rex, reloaded the server from scratch, upgraded, and ran airtime-easy-setup again. This time I got:Checking that the server has a UTF-8 locale...
*** update-locale: Error: invalid locale settings: LANG="en_US.UTF-8"
dpkg: error processing airtime-easy-setup (--install):
subprocess installed post-installation script returned error exit status 255
Processing triggers for man-db ...
Errors were encountered while processing:
airtime-easy-setup
Can anyone help? At least I've scripted the whole thing so I can re-roll almost everything automagically except the gdebi command (because easy-setup wants to be attached to a terminal, andChecking that the server has a UTF-8 locale...
*** update-locale: Error: invalid locale settings: LC_TELEPHONE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_ALL= LC_ADDRESS="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_TIME="en_US.UTF-8" LANG=en_US.UTF-8 LC_IDENTIFICATION="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8"
dpkg: error processing airtime-easy-setup (--install):
subprocess installed post-installation script returned error exit status 255
Processing triggers for man-db ...
Errors were encountered while processing:
airtime-easy-setup
doesn't work for that)...vzctl exec CTID "gdebi airtime-easy-setup"
Are those two key/values on the same line? They should be on separate lines like so:LANGUAGE=en_IN:enLANG=en_IN.UTF-8
Checking that the server has a UTF-8 locale...
*** update-locale: Error: invalid locale settings: LANGUAGE=en_IN:en LANG=en_IN.UTF-8
dpkg: error processing airtime-easy-setup (--install):
subprocess installed post-installation script returned error exit status 255
Processing triggers for man-db ...
Errors were encountered while processing:
airtime-easy-setup
It looks like you're new here. If you want to get involved, click one of these buttons!