pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedFailed to initialize lc_messages to ''
8+ messages / 5 participants
[nested] [flat]
* Failed to initialize lc_messages to ''
@ 2003-01-14 09:33 GB <nobody@nirvana.xx>
2003-01-21 14:48 ` Re: Failed to initialize lc_messages to '' Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 8+ messages in thread
From: GB @ 2003-01-14 09:33 UTC (permalink / raw)
To: pgsql-admin
Hi all,
I just tried a fresh install of pg 7.3.1 on a SuSE 8.1 box. I keep getting
messages like
Failed to initialize lc_messages to ''
during initdb. I already tried --locale=C but no help. Anyone any ideas?
regards
GB
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Failed to initialize lc_messages to ''
2003-01-14 09:33 Failed to initialize lc_messages to '' GB <nobody@nirvana.xx>
@ 2003-01-21 14:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-02-03 08:42 ` Re: Failed to initialize lc_messages to '' GB <nobody@nirvana.xx>
0 siblings, 1 reply; 8+ messages in thread
From: Tom Lane @ 2003-01-21 14:48 UTC (permalink / raw)
To: GB <nobody@nirvana.xx>; +Cc: pgsql-admin
"GB" <nobody@nirvana.xx> writes:
> I just tried a fresh install of pg 7.3.1 on a SuSE 8.1 box. I keep getting
> messages like
> Failed to initialize lc_messages to ''
> during initdb. I already tried --locale=C but no help. Anyone any
> ideas?
Try initdb with -d option and show us the (last few lines of) output.
Also, what is your LANG/LC_ALL setting? Does the -d output change
when you use --locale=C?
regards, tom lane
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Failed to initialize lc_messages to ''
2003-01-14 09:33 Failed to initialize lc_messages to '' GB <nobody@nirvana.xx>
2003-01-21 14:48 ` Re: Failed to initialize lc_messages to '' Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-02-03 08:42 ` GB <nobody@nirvana.xx>
2003-02-06 19:47 ` Re: Failed to initialize lc_messages to '' Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 8+ messages in thread
From: GB @ 2003-02-03 08:42 UTC (permalink / raw)
To: pgsql-admin
Hi Tom,
sorry for not replying for so long. LC_ALL is set to 'en_us'. We finally got
it to run by setting LC_MESSAGES to 'C'. But since we will have to redo this
we'll try -d then.
thanks a lot
Gerd
.
"Tom Lane" <tgl@sss.pgh.pa.us> wrote in message
news:1928.1043160502@sss.pgh.pa.us...
> "GB" <nobody@nirvana.xx> writes:
> > I just tried a fresh install of pg 7.3.1 on a SuSE 8.1 box. I keep
getting
> > messages like
> > Failed to initialize lc_messages to ''
> > during initdb. I already tried --locale=C but no help. Anyone any
> > ideas?
>
> Try initdb with -d option and show us the (last few lines of) output.
> Also, what is your LANG/LC_ALL setting? Does the -d output change
> when you use --locale=C?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Failed to initialize lc_messages to ''
2003-01-14 09:33 Failed to initialize lc_messages to '' GB <nobody@nirvana.xx>
2003-01-21 14:48 ` Re: Failed to initialize lc_messages to '' Tom Lane <tgl@sss.pgh.pa.us>
2003-02-03 08:42 ` Re: Failed to initialize lc_messages to '' GB <nobody@nirvana.xx>
@ 2003-02-06 19:47 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 8+ messages in thread
From: Tom Lane @ 2003-02-06 19:47 UTC (permalink / raw)
To: GB <nobody@nirvana.xx>; +Cc: pgsql-admin
"GB" <nobody@nirvana.xx> writes:
> sorry for not replying for so long. LC_ALL is set to 'en_us'. We finally got
> it to run by setting LC_MESSAGES to 'C'. But since we will have to redo this
> we'll try -d then.
You can easily experiment with initdb without having to reset your existing
database. Just give it a -D switch that points at a scratch directory.
After the experiment, rm -rf the scratch directory and you're back where
you were.
regards, tom lane
^ permalink raw reply [nested|flat] 8+ messages in thread
* Failed to initialize lc_messages to ''
@ 2003-03-15 12:40 Jan B. <jan.berka@dreger.de>
2003-03-17 19:36 ` Re: Failed to initialize lc_messages to '' Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 8+ messages in thread
From: jan.berka@dreger.de @ 2003-03-15 12:40 UTC (permalink / raw)
To: pgsql-admin
Hi,
when I try to execute initdb I get the following errors:
---<<< cut >>>---
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 locales:
COLLATE: POSIX CTYPE: en_US MESSAGES: en_US
MONETARY: en_US NUMERIC: en_US TIME: en_US
Fixing permissions on existing directory /opt/pgsql/data... ok
creating directory /opt/pgsql/data/base... ok
creating directory /opt/pgsql/data/global... ok
creating directory /opt/pgsql/data/pg_xlog... ok
creating directory /opt/pgsql/data/pg_clog... ok
creating template1 database in /opt/pgsql/data/base/1... Failed to
initialize lc_messages to ''
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
Success. You can now start the database server using:
./bin/postmaster -D /opt/pgsql/data
or
./bin/pg_ctl -D /opt/pgsql/data -l logfile start
---<<< cut >>>---
Can someone help ?
Thanx
Jan
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Failed to initialize lc_messages to ''
2003-03-15 12:40 Failed to initialize lc_messages to '' Jan B. <jan.berka@dreger.de>
@ 2003-03-17 19:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-03-17 19:53 ` Re: Failed to initialize lc_messages to '' Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 1 reply; 8+ messages in thread
From: Tom Lane @ 2003-03-17 19:36 UTC (permalink / raw)
To: jan.berka@dreger.de; +Cc: pgsql-admin
jan.berka@dreger.de (Jan B.) writes:
> when I try to execute initdb I get the following errors:
> The database cluster will be initialized with locales:
> COLLATE: POSIX CTYPE: en_US MESSAGES: en_US
> MONETARY: en_US NUMERIC: en_US TIME: en_US
> creating template1 database in /opt/pgsql/data/base/1... Failed to
> initialize lc_messages to ''
What platform is this? You should complain to the relevant people about
their broken locale definitions. If they're going to set en_US as the
default locale then it darn well ought to work in all locale categories.
In the meantime, try
export LC_ALL=C
(or equivalent syntax if you use a C shell) before you run initdb.
You'll be better off running Postgres in C locale anyway.
regards, tom lane
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Failed to initialize lc_messages to ''
2003-03-15 12:40 Failed to initialize lc_messages to '' Jan B. <jan.berka@dreger.de>
2003-03-17 19:36 ` Re: Failed to initialize lc_messages to '' Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-03-17 19:53 ` Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 0 replies; 8+ messages in thread
From: Jeremy Buchmann @ 2003-03-17 19:53 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: jan.berka@dreger.de; pgsql-admin
On Monday, March 17, 2003, at 11:36 AM, Tom Lane wrote:
> jan.berka@dreger.de (Jan B.) writes:
>> when I try to execute initdb I get the following errors:
>
>> The database cluster will be initialized with locales:
>> COLLATE: POSIX CTYPE: en_US MESSAGES: en_US
>> MONETARY: en_US NUMERIC: en_US TIME: en_US
>
>> creating template1 database in /opt/pgsql/data/base/1... Failed to
>> initialize lc_messages to ''
>
> What platform is this? You should complain to the relevant people
> about
> their broken locale definitions. If they're going to set en_US as the
> default locale then it darn well ought to work in all locale
> categories.
>
Mac OS X does this. See my recent post on the subject here:
http://fts.postgresql.org/db/mw/msg.html?mid=1064449
--Jeremy
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Failed to initialize lc_messages to ''
@ 2003-06-28 01:08 Shawn Douglas <cesium130@yahoo.com>
0 siblings, 0 replies; 8+ messages in thread
From: Shawn Douglas @ 2003-06-28 01:08 UTC (permalink / raw)
To: pgsql-admin
>> I just tried a fresh install of pg 7.3.1 on a SuSE
8.1 box. I keep getting
>> messages like
>> Failed to initialize lc_messages to ''
>> during initdb. I already tried --locale=C but no
help. Anyone any
>> ideas?
>Try initdb with -d option and show us the (last few
lines of) output.
>Also, what is your LANG/LC_ALL setting? Does the -d
output change
>when you use --locale=C?
>
> regards, tom lane
Hi,
I've had this same problem trying to install 7.3.3 on
Suse 8.0. Here is the abridged logfile, as requested.
THe -d output does not change when using --locale=C.
LANG is set to en_US and LC_ALL is set to C.
[Begin logfile]
initdb variables:
PGDATA=/usr/local/pgsql/data
datadir=/usr/local/pgsql/share
PGPATH=/usr/local/pgsql/bin
ENCODING=
ENCODINGID=0
POSTGRES_SUPERUSERNAME=postgres
POSTGRES_BKI=/usr/local/pgsql/share/postgres.bki
POSTGRES_DESCR=/usr/local/pgsql/share/postgres.description
POSTGRESQL_CONF_SAMPLE=/usr/local/pgsql/share/postgresql.conf.sample
PG_HBA_SAMPLE=/usr/local/pgsql/share/pg_hba.conf.sample
PG_IDENT_SAMPLE=/usr/local/pgsql/share/pg_ident.conf.sample
Failed to initialize lc_messages to ''
DEBUG: invoking IpcMemoryCreate(size=983040)
LOG: database system was shut down at 2003-06-27
19:38:13 EDT
LOG: checkpoint record is at 0/10
LOG: redo record is at 0/10; undo record is at 0/10;
shutdown TRUE
LOG: next transaction id: 3; next oid: 16384
LOG: database system is ready
DEBUG: start transaction
DEBUG: creating bootstrap relation pg_proc...
...
[168000+ lines of insertions, etc]
...
DEBUG: start transaction
DEBUG: commit transaction
DEBUG: proc_exit(0)
DEBUG: shmem_exit(0)
DEBUG: exit(0)
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:17 EDT
LOG: checkpoint record is at 0/74
LOG: redo record is at 0/74; undo record is at 0/0;
shutdown TRUE
LOG: next transaction id: 3; next oid: 16652
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:17 EDT
LOG: checkpoint record is at 0/8F24
LOG: redo record is at 0/8F24; undo record is at 0/0;
shutdown TRUE
LOG: next transaction id: 11; next oid: 16654
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:17 EDT
LOG: checkpoint record is at 0/44800
LOG: redo record is at 0/44800; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 21; next oid: 16681
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:17 EDT
LOG: checkpoint record is at 0/F671C
LOG: redo record is at 0/F671C; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 43; next oid: 16681
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:18 EDT
LOG: checkpoint record is at 0/1515D4
LOG: redo record is at 0/1515D4; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 72; next oid: 16765
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:18 EDT
LOG: checkpoint record is at 0/1BA9D8
LOG: redo record is at 0/1BA9D8; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 77; next oid: 16771
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:18 EDT
LOG: checkpoint record is at 0/213008
LOG: redo record is at 0/213008; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 420; next oid: 16975
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:18 EDT
LOG: checkpoint record is at 0/490120
LOG: redo record is at 0/490120; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 425; next oid: 16975
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
Failed to initialize lc_messages to ''
LOG: database system was shut down at 2003-06-27
19:38:19 EDT
LOG: checkpoint record is at 0/7FAD6C
LOG: redo record is at 0/7FAD6C; undo record is at
0/0; shutdown TRUE
LOG: next transaction id: 466; next oid: 16975
LOG: database system is ready
LOG: shutting down
LOG: database system is shut down
[End logfile]
Thanks for any assistance.
Shawn
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2003-06-28 01:08 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-14 09:33 Failed to initialize lc_messages to '' GB <nobody@nirvana.xx>
2003-01-21 14:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-02-03 08:42 ` GB <nobody@nirvana.xx>
2003-02-06 19:47 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-03-15 12:40 Failed to initialize lc_messages to '' Jan B. <jan.berka@dreger.de>
2003-03-17 19:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-03-17 19:53 ` Jeremy Buchmann <jeremy@wellsgaming.com>
2003-06-28 01:08 Re: Failed to initialize lc_messages to '' Shawn Douglas <cesium130@yahoo.com>
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