pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around?
2+ messages / 2 participants
[nested] [flat]

* Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around?
@ 2017-08-16 16:03 Manuel Tijerino <ManuelTijerino@hotmail.com>
  2017-08-16 16:44 ` Re: Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around? Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Manuel Tijerino @ 2017-08-16 16:03 UTC (permalink / raw)
  To: pgsql-bugs

Setting up postgresql-9.4 (9.4.13-1.pgdg80+1) ...
Creating new PostgreSQL cluster 9.4/main ...
/usr/lib/postgresql/9.4/bin/initdb -D /var/lib/postgresql/9.4/main --auth-local peer --auth-host md5
WARNING:  01000: could not determine encoding for locale "en_US.utf8": codeset is "ANSI_X3.4-1968"
DETAIL:  Please report this to <pgsql-bugs@postgresql.org>.
LOCATION:  pg_get_encoding_from_locale, chklocale.c:389
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
could not determine encoding for locale "en_US.utf8": codeset is "ANSI_X3.4-1968"
initdb: could not find suitable encoding for locale "en_US.utf8"
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

  pg_createcluster 9.4 main --start

or a similar command (see 'man pg_createcluster').
update-alternatives: using /usr/share/postgresql/9.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql-contrib-9.4 (9.4.13-1.pgdg80+1) ...
root@antlet17:~# pg_createcluster 9.4 main --start
Creating new PostgreSQL cluster 9.4/main ...
/usr/lib/postgresql/9.4/bin/initdb -D /var/lib/postgresql/9.4/main --auth-local peer --auth-host md5
WARNING:  01000: could not determine encoding for locale "en_US.utf8": codeset is "ANSI_X3.4-1968"
DETAIL:  Please report this to <pgsql-bugs@postgresql.org>.
LOCATION:  pg_get_encoding_from_locale, chklocale.c:389
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
could not determine encoding for locale "en_US.utf8": codeset is "ANSI_X3.4-1968"
initdb: could not find suitable encoding for locale "en_US.utf8"
Rerun initdb with the -E option.
Try "initdb --help" for more information.
Error: initdb failed

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around?
  2017-08-16 16:03 Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around? Manuel Tijerino <ManuelTijerino@hotmail.com>
@ 2017-08-16 16:44 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2017-08-16 16:44 UTC (permalink / raw)
  To: Manuel Tijerino <ManuelTijerino@hotmail.com>; +Cc: pgsql-bugs

Manuel Tijerino <ManuelTijerino@hotmail.com> writes:
> WARNING:  01000: could not determine encoding for locale "en_US.utf8": codeset is "ANSI_X3.4-1968"

Seems like your system's locale data is flat out broken.  ANSI_X3.4-1968
refers to the ASCII standard, which is surely not the encoding that should
be used by a locale named "en_US.utf8".  I think you'd better take it up
with your distro provider.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-08-16 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-08-16 16:03 Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around? Manuel Tijerino <ManuelTijerino@hotmail.com>
2017-08-16 16:44 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox