Hi
I'm trying to run pg_createcluster on Ubuntu Trusty 14.04 LTS, but initdb is failing. I've installed the below packages and then run the "pg_createcluster 9.3 main" command as root.
$ dpkg --get-selections | grep -v deinstall|grep postg
postgresql install
postgresql-9.3 install
postgresql-client install
postgresql-client-9.3 install
postgresql-client-common install
postgresql-common install
postgresql-contrib install
postgresql-contrib-9.3 install
root@xxxxxx:# pg_createcluster 9.3 main
Creating new cluster 9.3/main ...
config /etc/postgresql/9.3/main
data /var/lib/postgresql/9.3/main
locale C
Error: initdb failed
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Has anyone else hit this problem or know what might be causing this?
Many thanks.