pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error on system startup
4+ messages / 2 participants
[nested] [flat]

* Error on system startup
@ 2004-01-12 18:23 Matthew M.Burke <mmburke@smcm.edu>
  0 siblings, 0 replies; 4+ messages in thread

From: Matthew M.Burke @ 2004-01-12 18:23 UTC (permalink / raw)
  To: pgsql-admin

I am using postgresql 7.4.0 on Debian 3.0r2 (Woody) on an x86 box.  I'm 
using the binary package from http://people.debian.org/~elphick/debian/

If I run the initscript from the command line:

invoke-rc.d postgresql start

it starts up just fine.  But when I reboot the system, it fails to 
start and I get the following in the log:

FATAL:  XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:1866


As soon as I have more than two minutes to spare, I'll write up and 
post a bug report to the appropriate list, but I have a hunch that the 
problem is a configuration issue---missing environment variable---and 
was hoping someone might have some suggestions for a quick fix.

Thanks,

Matt





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

* Error on system startup
@ 2004-01-13 19:02 Matthew M.Burke <mmburke@smcm.edu>
  2004-01-13 19:28 ` Re: Error on system startup Manuel Sugawara <masm@fciencias.unam.mx>
  0 siblings, 1 reply; 4+ messages in thread

From: Matthew M.Burke @ 2004-01-13 19:02 UTC (permalink / raw)
  To: pgsql-admin


I am using postgresql 7.4.0 on Debian 3.0r2 (Woody) on an x86 box.  I'm 
using the binary package from http://people.debian.org/~elphick/debian/

If I run the initscript from the command line:

invoke-rc.d postgresql start

it starts up just fine.  But when I reboot the system, it fails to 
start and I get the following in the log:

FATAL:  XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:1866


As soon as I have more than two minutes to spare, I'll write up and 
post a bug report to the appropriate list, but I have a hunch that the 
problem is a configuration issue---missing environment variable---and 
was hoping someone might have some suggestions for a quick fix.

Thanks,

Matt








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

* Re: Error on system startup
  2004-01-13 19:02 Error on system startup Matthew M.Burke <mmburke@smcm.edu>
@ 2004-01-13 19:28 ` Manuel Sugawara <masm@fciencias.unam.mx>
  2004-01-16 00:44   ` Re: Error on system startup Matthew M.Burke <mmburke@smcm.edu>
  0 siblings, 1 reply; 4+ messages in thread

From: Manuel Sugawara @ 2004-01-13 19:28 UTC (permalink / raw)
  To: Matthew M.Burke <mmburke@smcm.edu>; +Cc: pgsql-admin

"Matthew M.Burke" <mmburke@smcm.edu> writes:

> FATAL:  XX000: failed to initialize lc_messages to ""
> LOCATION:  InitializeGUCOptions, guc.c:1866

Edit your $PGDATA/postgresql.conf file and look for that variable
(lc_messages) and change the empty value with a correct one (may be
en_US). Same for the others lc_* variables.

Regards,
Manuel.



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

* Re: Error on system startup
  2004-01-13 19:02 Error on system startup Matthew M.Burke <mmburke@smcm.edu>
  2004-01-13 19:28 ` Re: Error on system startup Manuel Sugawara <masm@fciencias.unam.mx>
@ 2004-01-16 00:44   ` Matthew M.Burke <mmburke@smcm.edu>
  0 siblings, 0 replies; 4+ messages in thread

From: Matthew M.Burke @ 2004-01-16 00:44 UTC (permalink / raw)
  To: pgsql-admin


On Jan 13, 2004, at 2:28 PM, Manuel Sugawara wrote:

> "Matthew M.Burke" <mmburke@smcm.edu> writes:
>
>> FATAL:  XX000: failed to initialize lc_messages to ""
>> LOCATION:  InitializeGUCOptions, guc.c:1866
>
> Edit your $PGDATA/postgresql.conf file and look for that variable
> (lc_messages) and change the empty value with a correct one (may be
> en_US). Same for the others lc_* variables.
>

Manuel,

Thanks for the help. I found the variables commented out in 
$PGDATA/postgresql.conf and uncommented them.  Didn't help.  Wound up 
sticking

export LC_MESSAGES='POSIX'

in the initscript and that seems to be doing the trick.

Matt





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


end of thread, other threads:[~2004-01-16 00:44 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-01-12 18:23 Error on system startup Matthew M.Burke <mmburke@smcm.edu>
2004-01-13 19:02 Error on system startup Matthew M.Burke <mmburke@smcm.edu>
2004-01-13 19:28 ` Manuel Sugawara <masm@fciencias.unam.mx>
2004-01-16 00:44   ` Matthew M.Burke <mmburke@smcm.edu>

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