postgresql 을 시작을 못시킵니다..
작성자 정보
- 강승진 작성
- 작성일
컨텐츠 정보
- 1,645 조회
- 1 댓글
- 0 추천
- 목록
본문
와우 7.1을 쓰고 있습니다..;; 한번도 공격을 안당했습니다.. 신기신기 ^^
그런데 갑자기 postgresql에 문제가 생겨서
소스컴파일도 해보고 , rpm으로 postgresql 7.0.3도 설치해 보고 하는데...
postgresql을 재실행하면 항상 아무런 오류메세지도 없이 그냥 'failed'라고만 나옵니다.
그래서 오류메세지를 확인하기 위해
su -l postgres 한 후에.. 아래와 같이 어찌어찌 하다 보니까 메모리, 세마포어 이야기가
나옵니다..
bash-2.04$ /usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start
postmaster successfully started up.
bash-2.04$ 040114.16:30:48.305 [26734] IpcMemoryCreate: shmget failed (Permission denied) key=5432010, size=144, permission=700
This type of error is usually caused by an improper
shared memory or System V IPC semaphore configuration.
For more information, see the FAQ and platform-specific
FAQ's in the source directory pgsql/doc or on our
web site at http://www.postgresql.org.
040114.16:30:48.306 [26734] IpcMemoryAttach: shmat failed (Permission denied) id=3670019
040114.16:30:48.306 [26734] FATAL 1: AttachSLockMemory: could not attach segment
ipcclean을 실행시키면 postmaster가 돌고 있다는 메세지만 나옵니다..
postgresql은 이미 죽어 있는 데 말이지요..
bash-2.04$ /usr/bin/ipcclean
ipcclean: You still have a postmaster running.
관련자료
-
이전
-
다음
강승진님의 댓글
- 강승진
- 작성일