Обсуждение: help
Creating new cluster 9.4/main ...
config /etc/postgresql/9.4/main
data /var/lib/postgresql/9.4/main
locale en_US.UTF-8
WARNING: 01000: could not determine encoding for locale "en_US.UTF-8": codeset is "ANSI_X3.4-1968"
DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
LOCATION: pg_get_encoding_from_locale, chklocale.c:389
could not determine encoding for locale "en_US.UTF-8": codeset is "ANSI_X3.4-1968"
initdb: could not find suitable encoding for locale "en_US.UTF-8"
Rerun initdb with the -E option.
Try "initdb --help" for more information.
Error: initdb failed
Error: could not create default cluster. Please create it manually with
config /etc/postgresql/9.4/main
data /var/lib/postgresql/9.4/main
locale en_US.UTF-8
WARNING: 01000: could not determine encoding for locale "en_US.UTF-8": codeset is "ANSI_X3.4-1968"
DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
LOCATION: pg_get_encoding_from_locale, chklocale.c:389
could not determine encoding for locale "en_US.UTF-8": codeset is "ANSI_X3.4-1968"
initdb: could not find suitable encoding for locale "en_US.UTF-8"
Rerun initdb with the -E option.
Try "initdb --help" for more information.
Error: initdb failed
Error: could not create default cluster. Please create it manually with
Yackson Mendoza Romero <yackson@softel.cu> writes:
> Creating new cluster 9.4/main ...
> config /etc/postgresql/9.4/main
> data /var/lib/postgresql/9.4/main
> locale en_US.UTF-8
> WARNING: 01000: could not determine encoding for locale "en_US.UTF-8": codeset is "ANSI_X3.4-1968"
> DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
Well, that's kind of interesting. What platform is this on?
Does that locale name appear in the output of "locale -a"?
regards, tom lane