From: Danny Milosavljevic <dannym@scratchpost.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: locales gone
Date: Sat, 15 Oct 2016 10:15:40 +0200 [thread overview]
Message-ID: <20161015101540.70cfc331@scratchpost.org> (raw)
In-Reply-To: <87insvci2p.fsf@gnu.org>
Hi,
On Fri, 14 Oct 2016 12:59:10 +0200
ludo@gnu.org (Ludovic Courtès) wrote:
> Then you’d have to strace psql to see why it thinks that en_US.UTF-8 is
> unavailable.
connect(3, {sa_family=AF_FILE, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_FILE, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0U\0\3\0\0user\0postgres\0database\0template1\0application_name\0psql\0client_encoding\0UTF8\0\0", 85, MSG_NOSIGNAL, NULL, 0) = 85
poll([{fd=3, events=POLLIN|POLLERR}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0E\0\0\1\34SFATAL\0CXX000\0Mdatabase locale is incompatible with operating system\0DThe database was initialized with LC_COLLATE \"en_US.UTF-8\", which is not recognized by setlocale().\0HRecreate the database with another locale or install the missing locale.\0Fpostinit.c\0L368\0RCheckMyDatabase\0\0", 16384, 0, NULL, NULL) = 294
write(2, "psql: FATAL: database locale is incompatible with operating system\nDETAIL: The database was initialized with LC_COLLATE \"en_US.UTF-8\", which is not recognized by setlocale().\nHINT: Recreate the database with another locale or install the missing locale.\n", 258psql: FATAL: database locale is incompatible with operating system
DETAIL: The database was initialized with LC_COLLATE "en_US.UTF-8", which is not recognized by setlocale().
HINT: Recreate the database with another locale or install the missing locale.
) = 258
close(3) = 0
exit_group(2) = ?
So it seems the message comes from the server.
next prev parent reply other threads:[~2016-10-15 8:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-25 21:32 locales gone, gnome-terminal doesn't start up anymore Danny Milosavljevic
2016-09-29 12:39 ` Ludovic Courtès
2016-10-08 14:00 ` locales gone Danny Milosavljevic
2016-10-10 21:06 ` Ludovic Courtès
2016-10-12 20:37 ` Danny Milosavljevic
2016-10-13 20:22 ` Ludovic Courtès
2016-10-13 20:31 ` Danny Milosavljevic
2016-10-14 10:59 ` Ludovic Courtès
2016-10-15 8:15 ` Danny Milosavljevic [this message]
2016-10-15 8:21 ` Danny Milosavljevic
2016-10-15 8:33 ` Danny Milosavljevic
2016-10-17 9:00 ` Ludovic Courtès
2016-10-17 19:24 ` Leo Famulari
2016-10-18 12:24 ` Ludovic Courtès
2016-11-06 0:36 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161015101540.70cfc331@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).