pg_createcluster failing on Trusty - Mailing list pgsql-admin

From Kieren Scott
Subject pg_createcluster failing on Trusty
Date
Msg-id DUB127-W97C7D6919A80C0303D8A0AE380@phx.gbl
Whole thread Raw
Responses Re: pg_createcluster failing on Trusty  (Kieren Scott <kierenscott@hotmail.com>)
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: ORACLE_FDW using a view
Next
From: John Scalia
Date:
Subject: Hourly backup using pg_basebackup