Re: Installation problem: failed to initialize lc_messages to "" - Mailing list pgsql-general

From Stefan Schwarzer
Subject Re: Installation problem: failed to initialize lc_messages to ""
Date
Msg-id 6ACD9E3B-7D9A-40BF-9181-330DB33DB3A3@grid.unep.ch
Whole thread Raw
In response to Re: Installation problem: failed to initialize lc_messages to ""  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>>> I'm wondering if some of those files are missing, or the symlinks
>>> are
>>> dangling, on yours.
>
>> Hmmm..... here is what I have. Looks pretty similar....
>
> Running out of easy answers, aren't we :-(
>
> The next thing I can think of is to run initdb under "ktrace -i" and
> compare the results with a working system.  The output of this is
> likely
> to be voluminous, so don't send it to the list --- but if you'll
> send it
> to me off-list I'll compare it to what I get here.

Ufff..... I completely reinstalled Leopard (cause was a bit messy,
meanwhile). And thought: Hey, now it should be any problem anymore....
But oups....  it did it again. Gush!

So, looked around again on the net and found this message:
I found this referenced under bug #1344: locale problem The problem
appears to be in going from Linux 2.6.9-5.0.5 to 2.6.9-11 the default
LANG environment variable changed from LANG=en_US.UTF-8 to
LANG=english_us.8859. Error could be identified by typing locale at
the opsys prompt. I fixed by adding to posgres .bash_profile:
LANG=en_US.UTF-8; export LANG
(http://www.mail-archive.com/pgsql-bugs@postgresql.org/msg12073.html)
Also mentioned Linux, it seems to be the same problem with Mac...
Putting the LANG... into the .bash_profile settled the problem.
Hope this helps!
Stef

pgsql-general by date:

Previous
From: Ashish Karalkar
Date:
Subject: ERROR: shared buffer hash table corrupted
Next
From: "henry"
Date:
Subject: Re: tcp_keepalives_idle ignored