Re: Installation trouble - Solved (?)

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installation trouble - Solved (?)
Date: 2005-11-29 18:00:33
Message-ID: 438C9741.1010501@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Steve Crawford <scrawford(at)pinpointresearch(dot)com> writes:
>>>creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL:
>>>XX000: failed to initialize lc_messages to ""
> ....
> We've seen this reported occasionally before, but none of the PG
> developers have ever been able to reproduce it....

Summary:

I installed glibc-locale and initdb now works fine.

Full explanation:

My base installation on this machine was a SuSE 8.2 "minimal install" to
which I'm adding only the things the machine will be required to run.
Among the things not included in the minimal install is gcc which I
installed via YaST. NOT installed by default when YaST installs gcc is
glibc-locale. (Also not installed is glibc-i18ndata).

Once glibc-locale was installed, initdb worked fine. Subsequently I
installed glibc-i18ndata and reran initdb which, as expected, still
worked fine.

I'll leave it to the development-team to decide if this situation should
be classed as a bug, a failure of the installation routines to detect
the absence of necessary files, a need for a better error message or
simply failure of the nut behind the wheel.

Cheers,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-11-29 18:23:16 Re: Installation trouble - Solved (?)
Previous Message Scott Marlowe 2005-11-29 17:56:47 Re: Errors upgrading from 7.3 to 8.1