postgres/6.5.3을 설치했습니다.
컴파일과 다른 모든 설치를 다 하고 난 후
initdb를 실행시키면
아래와 같은 에러가 발생합니다.
전 아직 postgres 를 처음 깔아 보기 때문에.
어떤 에러인지 모르겠습니다.
답변 해주시면 감사하겠습니다.
[postgres@tolgis pgsql]$ initdb
initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to creat
e the template database.
initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the glo
bal classes.
initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host/based authenti
cation control file.
We are initializing the database system with username postgres (uid=200).
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/template1
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.
|