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 544 게시물 읽기
No. 544
Re: Postgres 설치시에...(postgresql start.....)
작성자
정재익
작성일
2000-02-10 00:25
조회수
15,382

initdb 를 해줘야 하나 봅니다.

최근들어 경향이 initdb 가 필요없도록 패키징하는 것인데 아마도 이것은 initdb 를 해줘야 하는 가 봅니다.

디렉토리를 다시 확인해 보시고 실행하시기 바랍니다.

 

> Accel Linux release 6.1 (Blue Bird)를 설치하구

> CD안에 있는 postgresql/6.5.2를 설치했거든요

>

> =================================

> 사 용 법

> =================================

>

> 포스트그래스 패키지를 bzip 으로 압축한 파일입니다.

>

> 압축을 해제하려면

>

> bunzip2 postgresql/6.5.2kr.tar.bz2

> tar xvf postgresql/6.5.2kr.tar

>

> 를 하시면 압축화일들이 나오게 됩니다.

>

> 그런 다음에 rpm /ivh postgresql/* 로 설치를 하시면 됩니다.

>

> Accel Linux Team.

>

> =================================

> 위와 같이 한 담에..

> cd /etc/rc.d/init.d/

> ./postgresql start 하면

> 다음과 같은 에러 메세지가 떨어지거든요..

> (디렉토리는 제가 변경 했습니다. /mnt/sdb1/pgsql로....)

>

> Checking postgresql installation: no database files found.

> /usr/bin/initdb: pg_encoding: command not found

>

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

> ).

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

>

>

> Creating Postgres database system directory /mnt/sdb1/pgsql/base

>

> Creating template database in /mnt/sdb1/pgsql/base/template1

>

> Creating global classes in /mnt/sdb1/pgsql/base

>

> Adding template1 database to pg_database...

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

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

> syntax error 1 : parse errorinitdb: could not log template dat

> abase

> initdb: cleaning up.

> rm: cannot remove directory `/mnt/sdb1/pgsql': 허가 거부됨

> Starting postgresql service: /usr/bin/postmaster does not find the dat

> abase syst

> em. Expected to find it in the PGDATA directory "/mnt/sdb1/pgsql", bu

> t unable t

> o open file with pathname "/mnt/sdb1/pgsql/base/template1/pg_class".

>

> No data directory // can't proceed.

> failed.

>

> 어케 해야 되는지...누가 좀 알려주세요...

>

> 초보의 슬픔을 삼키며......

[Top]
No.
제목
작성자
작성일
조회
551perl에서 pg.pm에러
한명국
2000-02-14
15239
554┕>Re: perl에서 pg.pm에러
정재익
2000-02-14 18:07:28
15806
556 ┕>Re: Re: perl에서 pg.pm에러
한명국
2000-02-14 19:22:07
15942
557  ┕>Re: Re: Re: perl에서 pg.pm에러
정재익
2000-02-14 21:38:28
15529
549RestrictionClauseSelectivity ????
최동욱
2000-02-12
13431
548[참고] create table 시의 INHERITS...
신현호
2000-02-12
13675
550┕>Re: [참고] create table 시의 INHERITS...
정재익
2000-02-14 01:23:25
14516
543Postgres 설치시에...(postgresql start.....)
서현수
2000-02-09
14076
544┕>Re: Postgres 설치시에...(postgresql start.....)
정재익
2000-02-10 00:25:25
15382
545 ┕>Re: Re: Postgres 설치시에...(postgresql start.....)
서현수
2000-02-10 18:47:25
14402
546  ┕>Re: Re: Re: Postgres 설치시에...(postgresql start.....)
정재익
2000-02-11 10:44:34
14108
547   ┕>Re: Re: Re: Re: Postgres 설치시에...(postgresql start.....)
서현수
2000-02-11 11:20:41
14408
534oid 외의 0이나 1부터 시작하는 번호는...?
강명운
2000-02-09
12510
533검색에 관해 질문입니다.
이수범
2000-02-09
13737
536┕>Re: 검색에 관해 질문입니다.
fith
2000-02-09 13:09:26
14433
538┕>Re: 검색에 관해 질문입니다.
정재익
2000-02-09 13:20:04
13875
541 ┕>Re: Re: 검색에 관해 질문입니다.
이수범
2000-02-09 13:45:23
14199
542  ┕>Re: Re: Re: 검색에 관해 질문입니다.
이수범
2000-02-09 14:16:06
14149
532Postgresql 접근을 거부합니다.
정민영
2000-02-08
13537
535┕>Re: Postgresql 접근을 거부합니다.
정재익
2000-02-09 13:03:43
14647
537┕>Re: Postgresql 접근을 거부합니다.
김종혁
2000-02-09 13:14:47
14115
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.052초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다