Steve Crawford <scrawford@xxxxxxxxxxxxxxxxxxxx> writes: >> creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL: >> XX000: failed to initialize lc_messages to "" We've seen this reported occasionally before, but none of the PG developers have ever been able to reproduce it. Do you have any LC_xxx environment variables besides what you showed? Could you try running initdb under "strace -f -o logfile" and send me the output (off-list, it'll likely be big)? regards, tom lane