Re: Installation problem: failed to initialize lc_messages to ""

Поиск
Список
Период
Сортировка
От Stefan Schwarzer
Тема Re: Installation problem: failed to initialize lc_messages to ""
Дата
Msg-id 6ACD9E3B-7D9A-40BF-9181-330DB33DB3A3@grid.unep.ch
обсуждение исходный текст
Ответ на Re: Installation problem: failed to initialize lc_messages to ""  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Ashish Karalkar
Дата:
Сообщение: ERROR: shared buffer hash table corrupted
Следующее
От: "henry"
Дата:
Сообщение: Re: tcp_keepalives_idle ignored