Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > PostgreSQL > error when running postermaster!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-03, 09:50
patpat patpat is offline
Registered User
 
Join Date: Jun 2003
Posts: 2
Red face error when running postermaster!

hi, when i start to run postermaster, the error
happened like below:
----------------------------------------------------
$ postmaster -D /usr/share/postgresql/data
FATAL: invalid value for option 'LC_MESSAGES':
'en_UK'
----------------------------------------------------

i don't know where the problem is and how to fix
it.

would u mind to help me?
thx ^^
__________________
patrick
Reply With Quote
  #2 (permalink)  
Old 06-17-03, 12:18
rycamor rycamor is offline
Registered User
 
Join Date: May 2002
Location: Florida, USA
Posts: 49
Look in your postgresql.conf file for LC_MESSAGES.

LC_MESSAGES is a locale-related variable, so that users can see diagnostic messages in their language/dialect. 'en_UK' would stand for "UK English". Since you can probably understand American English without too much trouble (), you might want to just comment out any lines which specify "en_UK", but be careful, because some of them might be needed by your application.

See this thread in the PostgreSQL mail lists: http://archives.postgresql.org/pgsql...6/msg01212.php

According to this, it looks like those variables can be different on different operating systems, so you might need to do some research, if you need LC_MONETARY, or LC_NUMERIC, etc...
Reply With Quote
  #3 (permalink)  
Old 06-17-03, 14:02
patpat patpat is offline
Registered User
 
Join Date: Jun 2003
Posts: 2
Unhappy

i have tried to comment out all the locale 's related thing in conf file.
But it just stop there when running!

i try:
export LC_MESSAGES='C'
export LC_MONETARY='C'
export LC_NUMERIC='C'
export LC_TIME='C'

b4 run postmaster.

and that fine.
but i don't know whether it will cause any side effect or not.~~~~
__________________
patrick
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On