패스도 잡아두었고. pg_hba.conf파일도
usr/local/pgsql/data아래 두었습니다.
흠............ ㅡㅡ;;
-- 정재익 님이 쓰신 글:
>> 말 그대로 pg_hba.conf 파일이 없는 것 아닌가요.확인해 보시기 바랍니다. 만약 해당 파일이 있다면
>>
>> export PGHOME=/usr/local/pgsql
>> export PGDATA=/usr/local/pgsql/data
>>
>> 이런식으로 디렉토리 지정을 해 주시기 바랍니다.
>> 물론 실행파일 경로를 PATH 에 등록은 시켜 두었겠지요.
>>
>> -- 이유경 님이 쓰신 글:
>> >> 한번 설치해서 테이블 생성 테스트까지 했었는데
>> >> 다시 띄워서 하니까. 이런 메시지가 뜹니다.
>> >> 왜그런거죠?
>> >>
>> >> [postgres@romeo data]$ initdb ykjdbc
>> >> This database system will be initialized with username "postgres".
>> >> This user will own all the data files and must also own the server process.
>> >>
>> >> Creating directory ykjdbc
>> >> Creating directory ykjdbc/base
>> >> Creating directory ykjdbc/global
>> >> Creating directory ykjdbc/pg_xlog
>> >> Creating template1 database in ykjdbc/base/1
>> >> DEBUG: database system was shut down at 2001-09-20 13:58:17 KST
>> >> DEBUG: CheckPoint record at (0, 8)
>> >> DEBUG: Redo record at (0, 8); Undo record at (0, 8); Shutdown TRUE
>> >> DEBUG: NextTransactionId: 514; NextOid: 16384
>> >> DEBUG: database system is in production state
>> >> Creating global relations in ykjdbc/global
>> >> DEBUG: database system was shut down at 2001-09-20 13:58:22 KST
>> >> DEBUG: CheckPoint record at (0, 108)
>> >> DEBUG: Redo record at (0, 108); Undo record at (0, 0); Shutdown TRUE
>> >> DEBUG: NextTransactionId: 514; NextOid: 17199
>> >> DEBUG: database system is in production state
>> >> Initializing pg_shadow.
>> >> Enabling unlimited row width for system tables.
>> >> Creating system views.
>> >> Loading pg_description.
>> >> Setting lastsysoid.
>> >> Vacuuming database.
>> >> Copying template1 to template0.
>> >>
>> >> Success. You can now start the database server using:
>> >>
>> >> /usr/local/pgsql/bin/postmaster -D ykjdbc
>> >> or
>> >> /usr/local/pgsql/bin/pg_ctl -D ykjdbc -l logfile start
>> >>
>> >> [postgres@romeo data]$ createdb jdbc
>> >> psql: Missing or erroneous pg_hba.conf file, see postmaster log for details
>> >> createdb: database creation failed
|