How to fix locale issue in Ubuntu 14

Use below commands to fix locale issue typically seen when you install Multiplier in cloud machines.

Put below lines in .bashrc and load it (source .bashrc)

export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8



Then update locale using below command.

sudo update-locale



To verify it is fixed

locale



If you get below errow
No PostgreSQL clusters exist; see "man pg_createcluster", then create main cluster using below command.

pg_createcluster 9.3 main --start