와우파란 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. |