database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 4754 게시물 읽기
No. 4754
[설치] initdb 시 lc_messages 에러
작성자
초보
작성일
2003-06-11 16:39
조회수
1,904

설치는 기본 과정으로 했고...

initdb -D /use/local/pgsql/data

하면

creating template1 database in /usr/local/pgsql/data/base/1... Failed to initialize lc_messages to ''

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 로 나오는데...

postmaster 를 실행시키면

 

Failed to initialize lc_messages to ''

FATAL: invalid value for option 'LC_MESSAGES': 'ko'

 

라는 메시지와 함께 데몬이 죽어버립니다.

 

사용자postgres 의 LANG=ko

이고

locale 은 모두 ko 로 잡혀 있습니다.

 

조언 바랍니다.

이 글에 대한 댓글이 총 1건 있습니다.

제가 올려놓고 제가 답하네요.

역시 locale 문제였습니다..

.bash_profile 에 어찌된 셈인지

LANG=ko

로 잡혀 있었습니다.

요걸

LANG=ko_KR.euckr

로 바꾸니까 문제없이 되는군요.

초보님이 2003-06-11 19:48에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
4759cron을 이용한 작업에 대해.. [2]
초본데염
2003-06-16
2023
4758답글-이런경우 복구는 어케하죠? [답장이 안되요] [1]
초보임니다
2003-06-13
2253
4755이런경우 복구는 어케 하죠? [1]
초보임니다
2003-06-13
2055
4754[설치] initdb 시 lc_messages 에러 [1]
초보
2003-06-11
1904
47533개의 테이블을 조인할때는 [1]
gabriel
2003-06-11
1784
4752[질문]에러메세지가 이렇게 떠요
초보
2003-06-10
1852
4750[질문] alter 궁금합니다. [1]
대훈
2003-06-09
2239
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다