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

From: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installation problem: failed to initialize lc_messages to ""
Date: 2008-01-10 15:25:46
Message-ID: CFAC8BC1-8230-46F5-8DB5-7E57D693DFD3@grid.unep.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>> /usr/local/pgsql/bin/initdb -D --locale=en_US.UTF-8
>>> /Users/schwarzer/Documents/data_postgres
>
>> Dunno if it'll make a difference, but I'd put the "-D" immediately
>> before the path to the data directory.
>
> Also, pay attention to the first few lines of initdb output ---
> it will tell you what it thinks it's supposed to use for locale.

It tells me the following:

The files belonging to this database system will be owned by user
"schwarzer".
This user must also own the server process.

The database cluster will be initialized with locale en_US.UTF-8.
The default database encoding has accordingly been set to UTF8.

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

How can I control/verify the "server process"? To see if it's running
correctly and that "schwarzer" is as well its owner? Perhaps it's
related with this?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2008-01-10 15:26:02 Re: 8.2.4 serious slowdown
Previous Message Erik Jones 2008-01-10 15:11:26 Re: Postgres and MySQL Rosetta stone??