Re: Failed to initialize lc_messages to '' - Mailing list pgsql-admin

From Shawn Douglas
Subject Re: Failed to initialize lc_messages to ''
Date
Msg-id 20030628010810.22452.qmail@web21107.mail.yahoo.com
Whole thread Raw
In response to Failed to initialize lc_messages to ''  (jan.berka@dreger.de (Jan B.))
List 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

pgsql-admin by date:

Previous
From: "Dave [Hawk-Systems]"
Date:
Subject: replication/redundancy
Next
From: Tom Lane
Date:
Subject: Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error