postgresql initdb failed


postgresql initdb failed

OS : centos 6.2 DB : postgresql 8.4 1. 현상 postgresql의 data경로를 바꿔서 설치 할 경우에 # service postgresql initdb 를 실행하면 failed(실패)가 떨어지는데 로그가 남지 않아서 원인을 찾을 수 없는 경우가 발생 2. 해결방법 # su - postgres -c "initdb -D /경로/pgsql/data" 를 실행 하면 initdb가 실행이 되고, 마지막에 ----------------------------------------------------------- 작업완료. 이제 다음 명령을 이용해서 서버를 가동 할 수 있습니다: postgres -D /경로/pgsql/data 또는 pg_ctl -D /경로/pgsql/data -l logfile start ----------------------------------------------------------- 라는 메시지가 발생한다. 이 중, 아래 pg_ctl로...


#IT·컴퓨터

원문링크 : postgresql initdb failed