pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Failed to initialize lc_messages to ''
3+ messages / 3 participants
[nested] [flat]

* Failed to initialize lc_messages to ''
@ 2003-07-01 13:11  Rado Petrik <r.p@szm.sk>
  0 siblings, 2 replies; 3+ messages in thread

From: Rado Petrik @ 2003-07-01 13:11 UTC (permalink / raw)
  To: pgsql-sql

Hi,
I have problem start database. 

1) I compile postgresql 7.3.3 with parameters.

./configure --enable-nls --enable-multibyte --enable-locale

2) Then set env variables , 

export LANG=cs_CZ 

3) initdb -D /my_cz_db

Initdb returned : 

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 cs_CS.
This locale setting will prevent the use of indexes for pattern matching
operations.  If that is a concern, rerun initdb with the collation order
set to "C".  For more information see the Administrator's Guide.

Fixing permissions on existing directory /var/lib/postgres/data2... ok
creating directory /var/lib/postgres/data2/base... ok
creating directory /var/lib/postgres/data2/global... ok
creating directory /var/lib/postgres/data2/pg_xlog... ok
creating directory /var/lib/postgres/data2/pg_clog... ok
creating template1 database in /var/lib/postgres/data2/base/1... ok
creating configuration files... ok
initializing pg_shadow... Failed to initialize lc_messages to ''
ok
enabling unlimited row size for system tables... Failed to initialize
lc_messages to ''
ok
initializing pg_depend... Failed to initialize lc_messages to ''
ok
creating system views... Failed to initialize lc_messages to ''
ok
loading pg_description... Failed to initialize lc_messages to ''
ok
creating conversions... Failed to initialize lc_messages to ''
ok
setting privileges on built-in objects... Failed to initialize
lc_messages to ''
ok
vacuuming database template1... Failed to initialize lc_messages to ''
ok
copying template1 to template0... Failed to initialize lc_messages to ''
ok


4)  /usr/local/pgsql/bin/postmaster -D /var/lib/postgres/my_cz_db

Postmaster returned: 

Failed to initialize lc_messages to ''
FATAL:  invalid value for option 'LC_MESSAGES': 'cs_CZ'

Thanks.

-- 
Rado Petrik <r.p@szm.sk>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Failed to initialize lc_messages to ''
@ 2003-07-01 14:39  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Rado Petrik <r.p@szm.sk>
  1 sibling, 0 replies; 3+ messages in thread

From: Tom Lane @ 2003-07-01 14:39 UTC (permalink / raw)
  To: Rado Petrik <r.p@szm.sk>; +Cc: pgsql-sql

Rado Petrik <r.p@szm.sk> writes:
> export LANG=cs_CZ 

> Failed to initialize lc_messages to ''
> FATAL:  invalid value for option 'LC_MESSAGES': 'cs_CZ'

Evidently your platform doesn't have complete support for setting locale
to cs_CZ.  Try it again with a combination like
	export LANG=cs_CZ 
	export LC_MESSAGES=C

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Failed to initialize lc_messages to ''
@ 2003-07-01 17:48  Peter Eisentraut <peter_e@gmx.net>
  parent: Rado Petrik <r.p@szm.sk>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2003-07-01 17:48 UTC (permalink / raw)
  To: Rado Petrik <r.p@szm.sk>; +Cc: pgsql-sql

It seems that one of the other locale variables (LC_ALL?) still contains
values that are not accepted.  Note that initdb reports about cs_CS, which
is not what you set.


Rado Petrik writes:

> Hi,
> I have problem start database.
>
> 1) I compile postgresql 7.3.3 with parameters.
>
> ./configure --enable-nls --enable-multibyte --enable-locale
>
> 2) Then set env variables ,
>
> export LANG=cs_CZ
>
> 3) initdb -D /my_cz_db
>
> Initdb returned :
>
> 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 cs_CS.
> This locale setting will prevent the use of indexes for pattern matching
> operations.  If that is a concern, rerun initdb with the collation order
> set to "C".  For more information see the Administrator's Guide.
>
> Fixing permissions on existing directory /var/lib/postgres/data2... ok
> creating directory /var/lib/postgres/data2/base... ok
> creating directory /var/lib/postgres/data2/global... ok
> creating directory /var/lib/postgres/data2/pg_xlog... ok
> creating directory /var/lib/postgres/data2/pg_clog... ok
> creating template1 database in /var/lib/postgres/data2/base/1... ok
> creating configuration files... ok
> initializing pg_shadow... Failed to initialize lc_messages to ''
> ok
> enabling unlimited row size for system tables... Failed to initialize
> lc_messages to ''
> ok
> initializing pg_depend... Failed to initialize lc_messages to ''
> ok
> creating system views... Failed to initialize lc_messages to ''
> ok
> loading pg_description... Failed to initialize lc_messages to ''
> ok
> creating conversions... Failed to initialize lc_messages to ''
> ok
> setting privileges on built-in objects... Failed to initialize
> lc_messages to ''
> ok
> vacuuming database template1... Failed to initialize lc_messages to ''
> ok
> copying template1 to template0... Failed to initialize lc_messages to ''
> ok
>
>
> 4)  /usr/local/pgsql/bin/postmaster -D /var/lib/postgres/my_cz_db
>
> Postmaster returned:
>
> Failed to initialize lc_messages to ''
> FATAL:  invalid value for option 'LC_MESSAGES': 'cs_CZ'
>
> Thanks.
>
>

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-07-01 17:48 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-01 13:11 Failed to initialize lc_messages to '' Rado Petrik <r.p@szm.sk>
2003-07-01 14:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-07-01 17:48 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox