"Ing. Jhon Carrillo - Caracas, Venezuela" <jdigital@cantv.net> writes:
> creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL: XX000:
> failed to initialize lc_messages to ""
What PG version is this exactly, what platform are you running it on,
and what locale environment are you running initdb in? (For the last
question, show the output of "locale", or if you don't have that
program then "env | grep ^L".)
regards, tom lane