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 607 게시물 읽기
No. 607
Re: initdb 실행시 다음과 같은 에러가 발생합니다.
작성자
정재익
작성일
2000-02-20 20:29
조회수
10,813

원인은 알수 없지만 initdb 스크립트가 실패한 것입니다.

initdb 라는 명령을 보시면 이것은 디비를 초기화 시키기 위한 shell script 입니다. 만약 shell script 에 익숙하시다면 한번 보시면서 어디서 에러가 났는지 확인해 보시기 바랍니다.

아래 처럼 저렇게 에러가 나는 경우는 왜 그런지 몰라도 backend interface 파일인 bki 파일을 가지고 template1 이라는 디비를 생성하지 못할때 발생하는 에러입니다.

 

> postgres/6.5.3을 설치했습니다.

> 컴파일과 다른 모든 설치를 다 하고 난 후

> initdb를 실행시키면

> 아래와 같은 에러가 발생합니다.

> 전 아직 postgres 를 처음 깔아 보기 때문에.

> 어떤 에러인지 모르겠습니다.

> 답변 해주시면 감사하겠습니다.

>

> [postgres@tolgis pgsql]$ initdb

> initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as inpu

> t to creat

> e the template database.

> initdb: using /usr/local/pgsql/lib/global1.bki.source as input to crea

> te the glo

> bal classes.

> initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host/base

> d authenti

> cation control file.

>

> We are initializing the database system with username postgres (uid=20

> 0).

> This user will own all the files and must also own the server process.

>

>

> Creating Postgres database system directory /usr/local/pgsql/data

>

> Creating Postgres database system directory /usr/local/pgsql/data/base

>

>

>

> initdb: creating template database in /usr/local/pgsql/data/base/templ

> ate1

> Running: postgres /boot /C /F /D/usr/local/pgsql/data /Q template1

> syntax error 2334 : parse error

> Creating global classes in /base

> Running: postgres /boot /C /F /D/usr/local/pgsql/data /Q template1

>

> Adding template1 database to pg_database...

> Running: postgres /boot /C /F /D/usr/local/pgsql/data /Q template1 < /

> tmp/create

> .8166

> ERROR: pg_atoi: error in "template1": can't parse "template1"

> ERROR: pg_atoi: error in "template1": can't parse "template1"

> initdb: could not log template database

> initdb: cleaning up.

[Top]
No.
제목
작성자
작성일
조회
600pgaccess 한글판 개발 되어있나요?
발파란
2000-02-18
9397
606┕>Re: pgaccess 한글판 개발 되어있나요?
정재익
2000-02-20 20:26:38
10141
599GCC에서 PostgreSQL 을 연동해 쓸려면 어떻게 하나요?
김민정
2000-02-18
9119
602┕>Re: GCC에서 PostgreSQL 을 연동해 쓸려면 어떻게 하나요?
정재익
2000-02-18 21:04:14
9927
594다시 컴파일했는데... php3는 잘되는데...이번에는 postgre 데몬이 뜨질 않습니다.
이희동
2000-02-18
9365
598┕>Re: 다시 컴파일했는데... php3는 잘되는데...이번에는 postgre 데몬이 뜨질 않습니다.
정재익
2000-02-18 16:56:10
10644
603 ┕>옵션을 주어도 보고 안주어도 보았는데....데몬이 안뜨는 것 같습니다.
이희동
2000-02-18 21:08:49
10126
605  ┕>Re: 옵션을 주어도 보고 안주어도 보았는데....데몬이 안뜨는 것 같습니다.
정재익
2000-02-20 20:25:06
9930
593initdb 실행시 다음과 같은 에러가 발생합니다.
이무열
2000-02-18
9607
607┕>Re: initdb 실행시 다음과 같은 에러가 발생합니다.
정재익
2000-02-20 20:29:17
10813
592array_in:Need to specify dimension 에러...
진봉균
2000-02-18
9394
597┕>Re: array_in:Need to specify dimension 에러...
정재익
2000-02-18 16:38:09
10215
591gd 라이브러리에대해....
이상희
2000-02-17
9110
596┕>Re: gd 라이브러리에대해....
정재익
2000-02-18 16:35:32
10197
610 ┕>Re: Re: gd 라이브러리에대해....
신근호
2000-02-21 10:58:12
10060
588MySQL의함수를 --&gt; PgSQL의 함수로 ..
차승현
2000-02-17
9140
595┕>Re: MySQL의함수를 --&gt; PgSQL의 함수로 ..
정재익
2000-02-18 16:29:54
10699
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.054초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다