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 1996 게시물 읽기
No. 1996
Re: initdb.....pg_encoding...
작성자
샛별이
작성일
2000-12-17 19:35
조회수
5,486

일단 /usr/local/pgsql/bin/initdb 파일에서 아래 부분을 코멘트 처리한후 다시 실행해 보시기 바랍니다.

그리고 ./configure시 //enable_multibyte=EUC_KR로 해 주시면 더 나을것 같네요.

 

그럼...

 

251 #/////////////////////////////////////////////////////////////////////////

252 # Resolve the multibyte encoding name

253 #/////////////////////////////////////////////////////////////////////////

254

255 # if [ "$MULTIBYTE" ]

256 # then

257 # MULTIBYTEID=`$PGPATH/pg_encoding $MULTIBYTE 2> /dev/null`

258 # if [ "$?" /ne 3 ]

259 # then

260 # echo "$CMDNAME: pg_encoding failed"

261 # echo

262 # echo "Perhaps you did not configure PostgreSQL for multibyte support or"

263 # echo "the program was not successfully installed."

264 # exit 1

265 # fi

266 # if [ /z "$MULTIBYTEID" ]

267 # then

268 # echo "$CMDNAME: $MULTIBYTE is not a valid encoding name"

269 # exit 1

270 # fi

271 #fi

 

>>곽상철 님께서 쓰시길<<

 

:: 윽...죄송합니다. 아랫글이 삭제가 안되네여....

:: 어흑...오늘은 되는 일이 없는 날인가바여...ㅠㅠ

::

:: 으흐흐..ㅠㅠ

:: 저도 같은 문제네요...답변해 주신 글을 읽어 보았습니다만...

:: 이도 저도 안되네요...혹시 아시는 분 도와주세요..

::

::

:: >>류원모 님께서 쓰시길<<

::

:: :: postgresql 7.0.2를 설치하고 data디렉토리를 생성하는 과정에서

:: :: 에러가 발생합니다.

:: ::

:: :: $usr/local/pgsql/bin/initdb /D /usr/local/pgsql/data

:: :: initdb: pg_encoding failed

:: ::

:: :: Perhaps you did not configure PostgreSQL for multibyte support or

:: :: the program was not successfully installed.

:: ::

:: :: 설치시 //enable/multibyte 옵션도 넣었건만 왜그런지 모르겠네요.

:: :: 혹시 아시는 분 계세요?

[Top]
No.
제목
작성자
작성일
조회
2003pg_dumpall 시 에러 failed sanity check...
박근익
2000-12-18
7273
2006┕>Re: pg_dumpall 시 에러 failed sanity check...
정재익
2000-12-18 17:23:15
7246
2008 ┕>Re: Re: pg_dumpall 시 에러 failed sanity check...
박근익
2000-12-18 17:50:02
7377
2001ODBC연결상태를 access로 테스트할수있나여?
한경일
2000-12-18
5738
2002┕>Re: ODBC연결상태를 access로 테스트할수있나여?
정재익
2000-12-18 14:58:55
6017
1999PostgreSQL.....
김정호
2000-12-18
5339
2000┕>Re: PostgreSQL.....
정재익
2000-12-18 14:23:47
5204
1990initdb.....pg_encoding...
곽상철
2000-12-16
4837
1991┕>Re: initdb.....pg_encoding...
곽상철
2000-12-16 19:25:37
5311
1993 ┕>Re: Re: initdb.....pg_encoding...
정재익
2000-12-17 00:43:18
5125
1995 ┕>Re: 먼저 pg_encoding 명령이 정말 있는지 부터
김상기
2000-12-17 15:19:30
5403
1996┕>Re: initdb.....pg_encoding...
샛별이
2000-12-17 19:35:59
5486
1986postgres error
초보자
2000-12-16
4377
1987┕>Re: postgres error
정재익
2000-12-16 15:01:34
4830
1984소스를 올릴께요....혹시 틀린점이 있으면 지적을 해주셔요...
이상미
2000-12-15
5809
1994┕>Re: 먼저 터미널 로그인을 시도해 보십시오.
김상기
2000-12-17 15:12:09
5961
1981급합니다.
이상미
2000-12-15
5920
1983┕>Re: 급합니다.
정재익
2000-12-15 13:21:11
5923
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.018초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다