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 3173 게시물 읽기
No. 3173
Re: Re: Re: Re: postmaster에 대한 질문...
작성자
사이버
작성일
2001-07-19 19:02
조회수
2,889

답변 감사드립니다.

하지만 그래도 에러는 변함이 없군요...미치겠당

[root@st169 /etc/rc.d/init.d]# su - postgres

bash$ whoami

postgres

bash$ postmaster -i&

[1] 2099

bash$ /usr/bin/postmaster does not find the database system. Expected to find it in the PGDATA dire

ctory "/usr/local/pgsql/data", but unable to open file with pathname "/usr/local/pgsql/data/base/tem

plate1/pg_class".

 

No data directory -- can't proceed.

 

[1]+ Exit 2 postmaster -i

이런 에러가 납니다...

 

>>삐진앙마 님께서 쓰시길<<

 

:: postgresql(PGDATA)이 설치된 디렉토리의 소유자를 postgres로

:: 변경하시기 바랍니다.

::

:: ex>

:: #chown -R postgres /usr/local/pgsql

::

::

:: >>사이버 님께서 쓰시길<<

::

:: :: 답변감사한데요..

:: :: 그렇게해도 에러가..

:: ::

:: :: bash$ whoami

:: :: postgres

:: :: bash$ postmaster -i&

:: :: [1] 1795

:: :: bash$ /usr/bin/postmaster does not find the database system. Expected to find it

:: :: in the PGDATA directory "/usr/local/pgsql/data", but unable to open file with path

:: :: name "/usr/local/pgsql/data/base/template1/pg_class".

:: ::

:: :: No data directory -- can't proceed.

:: ::

:: :: [1]+ Exit 2 postmaster -i

:: ::

:: :: >>정재익 님께서 쓰시길<<

:: ::

:: :: :: postmaster 데몬은 root로서 기동하시면 안됩니다. postgres 라는 사용자로서 기동해 주시기 바

:: 랍

:: :: 니다.

:: :: :: 만약 그런 사용자가 없다면 당연히 만들어야 합니다.

:: :: :: 설치문서를 자세히 읽어 보시기 바랍니다.

:: :: ::

:: :: :: >>사이버 님께서 쓰시길<<

:: :: ::

:: :: :: :: [root@st169 /usr/local]# postmaster -i&

:: :: :: :: [1] 1514

:: :: :: :: [root@st169 /usr/local]#

:: :: :: :: "root" execution of the PostgreSQL backend is not permitted.

:: :: :: ::

:: :: :: :: The backend must be started under it's own userid to prevent

:: :: :: :: a possible system security compromise. See the INSTALL file for

:: :: :: :: more information on how to properly start the postmaster.

:: :: :: ::

:: :: :: ::

:: :: :: :: [1]+ Exit 1 postmaster -i

:: :: :: ::

:: :: :: :: 이런 에러 메시지가 나타나는데...이유를 모르겠어요

[Top]
No.
제목
작성자
작성일
조회
3175PostgresSQL과 JDBC를 이용하여 Large Object를 다루는 법
김일형
2001-07-20
2840
3171ODBC 설정
여운영
2001-07-19
2886
3177┕>Re: ODBC 설정
정재익
2001-07-21 00:21:16
3203
3167데몬이 제대로 안뜨네요. 도와주세요..
은서니
2001-07-19
3019
3169┕>Re: 데몬이 제대로 안뜨네요. 도와주세요..
정재익
2001-07-19 16:59:14
3179
3166postmaster에 대한 질문...
사이버
2001-07-19
2647
3168┕>Re: postmaster에 대한 질문...
정재익
2001-07-19 16:56:22
2897
3170 ┕>Re: Re: postmaster에 대한 질문...
사이버
2001-07-19 17:12:09
2974
3172  ┕>Re: Re: Re: postmaster에 대한 질문...
삐진앙마
2001-07-19 18:23:42
2779
3173   ┕>Re: Re: Re: Re: postmaster에 대한 질문...
사이버
2001-07-19 19:02:58
2889
3174    ┕>Re: Re: Re: Re: Re: postmaster에 대한 질문...
정재익
2001-07-19 19:16:12
2817
3180     ┕>Re: Re: Re: Re: Re: Re: postmaster에 대한 질문...
사이버
2001-07-23 09:22:18
2954
3163Postgresql JDBC 드라이버 어디에서 구하죠?
여운영
2001-07-19
2870
3165┕>Re: 검색을 해 보시면 얼마나 좋을까요
정재익
2001-07-19 15:20:47
3369
3179┕>Re: Postgresql JDBC 드라이버 어디에서 구하죠?
YoonHee
2001-07-22 10:05:54
3253
3161createdb 와 관련..
사이버
2001-07-19
3229
3164┕>Re: createdb 와 관련..
정재익
2001-07-19 15:19:34
3181
3160initdb -E EUC_KR 할때 에러가 나거든요.
은서니
2001-07-19
3180
3162┕>Re: initdb -E EUC_KR 할때 에러가 나거든요.
정재익
2001-07-19 14:33:44
3634
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.020초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다