From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: locales gone Date: Sat, 15 Oct 2016 10:15:40 +0200 Message-ID: <20161015101540.70cfc331@scratchpost.org> References: <20160925233222.33804eb3@scratchpost.org> <87vaxe5197.fsf@gnu.org> <20161008160006.04ada83c@scratchpost.org> <87oa2rgbi9.fsf@gnu.org> <20161012223733.6e95ca41@scratchpost.org> <87mvi880dk.fsf@gnu.org> <20161013223124.0a8d5712@scratchpost.org> <87insvci2p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvK8D-00083U-LF for guix-devel@gnu.org; Sat, 15 Oct 2016 04:15:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvK8A-000422-9D for guix-devel@gnu.org; Sat, 15 Oct 2016 04:15:49 -0400 In-Reply-To: <87insvci2p.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Hi, On Fri, 14 Oct 2016 12:59:10 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Then you=E2=80=99d have to strace psql to see why it thinks that en_US.UT= F-8 is > unavailable. connect(3, {sa_family=3DAF_FILE, sun_path=3D"/tmp/.s.PGSQL.5432"}, 110) =3D= 0 getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) =3D 0 getsockname(3, {sa_family=3DAF_FILE, NULL}, [2]) =3D 0 poll([{fd=3D3, events=3DPOLLOUT|POLLERR}], 1, 4294967295) =3D 1 ([{fd=3D3, = revents=3DPOLLOUT}]) 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) =3D 85 poll([{fd=3D3, events=3DPOLLIN|POLLERR}], 1, 4294967295) =3D 1 ([{fd=3D3, r= events=3DPOLLIN}]) recvfrom(3, "R\0\0\0\10\0\0\0\0E\0\0\1\34SFATAL\0CXX000\0Mdatabase locale i= s incompatible with operating system\0DThe database was initialized with LC= _COLLATE \"en_US.UTF-8\", which is not recognized by setlocale().\0HRecrea= te the database with another locale or install the missing locale.\0Fpostin= it.c\0L368\0RCheckMyDatabase\0\0", 16384, 0, NULL, NULL) =3D 294 write(2, "psql: FATAL: database locale is incompatible with operating syst= em\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: databas= e 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 loc= ale. ) =3D 258 close(3) =3D 0 exit_group(2) =3D ? So it seems the message comes from the server.