Re: Installation trouble

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Installation trouble
Date: 2005-10-31 23:22:23
Message-ID: 200510311522.23521.scrawford@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday 31 October 2005 13:00, Tom Lane wrote:
> Steve Crawford <scrawford(at)pinpointresearch(dot)com> writes:
> > if I try to ensure the C locale I
> > keep running up against:
> > FATAL: XX000: failed to initialize lc_messages to ""
>
> We've seen a few reports of this before, but never been able to
> identify the cause. What platform are you running on, exactly?
> Did you build your own PG executables; if not, where did you get
> them from?

Vanilla built from source (./configure ; make ; make install).

Platform: SuSE Linux 8.2 (i586)

uname -a: Linux web2 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686
unknown unknown GNU/Linux

Selected environment variables:
CPU=i686
HOME=/var/lib/pgsql
HOSTTYPE=i386
LANG=en_US
LC_COLLATE=POSIX
LOGNAME=postgres
MACHTYPE=i686-suse-linux
OSTYPE=linux
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games

I did not install PostgreSQL when the machine was originally built
_but_ certain client libraries are installed by YaST to satisfy
dependencies. I do not believe any server-related libraries were
installed.

I also tried substituting the new libraries for the old as well as
removing them from /usr/lib entirely without effect.

For completeness and guc.c line numbers, here's the whole output:
postgres(at)web2:~> initdb --no-locale /var/lib/pgsql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /var/lib/pgsql/data ... ok
creating directory /var/lib/pgsql/data/global ... ok
creating directory /var/lib/pgsql/data/pg_xlog ... ok
creating directory /var/lib/pgsql/data/pg_xlog/archive_status ... ok
creating directory /var/lib/pgsql/data/pg_clog ... ok
creating directory /var/lib/pgsql/data/pg_subtrans ... ok
creating directory /var/lib/pgsql/data/base ... ok
creating directory /var/lib/pgsql/data/base/1 ... ok
creating directory /var/lib/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /var/lib/pgsql/data/base/1 ... FATAL:
XX000: failed to initialize lc_messages to ""
LOCATION: InitializeGUCOptions, guc.c:2389
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/pgsql/data"

Cheers,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message MaXX 2005-10-31 23:32:46 Re: SQL injection
Previous Message David Fetter 2005-10-31 23:13:16 Re: insert multiple rows