I'm trying to install PostgreSQL 9.4.1 on Ubuntu 14.04.2. I'm using the packages from
The package installs but it fails running
pg_createcluster. If I run manually, I get:
Creating new cluster 9.4/main...
Flags of /var/lib/postgresql/9.4/main set as --------------e-C
Error: initdb failed
I can't find any details as to why
If I manually run
initdb as the
postgres user, that works, but that does not create the config files.
I checked everything I could think of, including on-line and can't find a solution.