답변 감사드립니다.
하지만 그래도 에러는 변함이 없군요...미치겠당
[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
:: :: :: ::
:: :: :: :: 이런 에러 메시지가 나타나는데...이유를 모르겠어요
|