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 545 게시물 읽기
No. 545
Re: Re: Postgres 설치시에...(postgresql start.....)
작성자
서현수
작성일
2000-02-10 18:47
조회수
14,399

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

./postgresql start

 

하면 스크립트 내에서 자동으로 initdb를 수행시키는 걸로 알고 있습니다.

혹시나 해서 수동으로 initdb를 해줘봐도 역시나 안되는 군요...

 

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

위의 에러가 원인이 아닌가 하는데...

 

아시는 분들은 답변 주세요...

그럼 안녕히 계세요....

 

 

> initdb 를 해줘야 하나 봅니다.

> 최근들어 경향이 initdb 가 필요없도록 패키징하는 것인데 아마도 이것은 i

> nitdb 를 해줘야 하는 가 봅니다.

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

>

> > 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 proces

> s.

> >

> >

> > 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 d

> at

> > abase

> > initdb: cleaning up.

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

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

> at

> > 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
15238
554┕>Re: perl에서 pg.pm에러
정재익
2000-02-14 18:07:28
15804
556 ┕>Re: Re: perl에서 pg.pm에러
한명국
2000-02-14 19:22:07
15940
557  ┕>Re: Re: Re: perl에서 pg.pm에러
정재익
2000-02-14 21:38:28
15522
549RestrictionClauseSelectivity ????
최동욱
2000-02-12
13430
548[참고] create table 시의 INHERITS...
신현호
2000-02-12
13674
550┕>Re: [참고] create table 시의 INHERITS...
정재익
2000-02-14 01:23:25
14514
543Postgres 설치시에...(postgresql start.....)
서현수
2000-02-09
14075
544┕>Re: Postgres 설치시에...(postgresql start.....)
정재익
2000-02-10 00:25:25
15379
545 ┕>Re: Re: Postgres 설치시에...(postgresql start.....)
서현수
2000-02-10 18:47:25
14399
546  ┕>Re: Re: Re: Postgres 설치시에...(postgresql start.....)
정재익
2000-02-11 10:44:34
14107
547   ┕>Re: Re: Re: Re: Postgres 설치시에...(postgresql start.....)
서현수
2000-02-11 11:20:41
14406
534oid 외의 0이나 1부터 시작하는 번호는...?
강명운
2000-02-09
12509
533검색에 관해 질문입니다.
이수범
2000-02-09
13737
536┕>Re: 검색에 관해 질문입니다.
fith
2000-02-09 13:09:26
14430
538┕>Re: 검색에 관해 질문입니다.
정재익
2000-02-09 13:20:04
13874
541 ┕>Re: Re: 검색에 관해 질문입니다.
이수범
2000-02-09 13:45:23
14196
542  ┕>Re: Re: Re: 검색에 관해 질문입니다.
이수범
2000-02-09 14:16:06
14143
532Postgresql 접근을 거부합니다.
정민영
2000-02-08
13536
535┕>Re: Postgresql 접근을 거부합니다.
정재익
2000-02-09 13:03:43
14646
537┕>Re: Postgresql 접근을 거부합니다.
김종혁
2000-02-09 13:14:47
14113
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.061초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다