설문조사
PostgreSQL/PPAS 관련 듣고 싶은 교육은


총 게시물 73건, 최근 0 건
   

redhat 7.x 필독( 특히 7.2 update 버전)

글쓴이 : PostgresDBA 날짜 : 2018-10-18 (목) 18:28 조회 : 6202

If RemoveIPC=yes is configured for systemd, interprocess communication (IPC) is terminated for a non-system user's processes when that user logs out. This setting, which is intended for laptops, can cause software problems on server systems. For example, if the user is a database software owner such as oracle for Oracle Database, this configuration can cause database installation to fail or database services to crash.

https://bugzilla.redhat.com/show_bug.cgi?id=1287618
https://bugzilla.redhat.com/show_bug.cgi?id=1264533

오라클 문서에서 따왔지만 postgersql/mysql/edb 등 모든 redhat7 기반에서 돌아가는 디비에 모두 해당되는 내용입니다.

해결방안이 2가지가 있습니다. and 가 아니고 or 입니다.

첫번째.
1) /etc/systemd/logind.conf 안의 아래 설정을
yes 로 되어 있으면 반드시 no 로 해주세요
RemoveIPC=no

2) Reboot the server or restart systemd-logind as follows:
# systemctl daemon-reload
# systemctl restart systemd-logind

두번째 
os 유저를 만들때 uid 값이 201~999 사이의 값으로 postgres 나 orace 유저를 생성했으면
영향을 받지 않습니다. (즉 1000 이상이면 안됩니다. )

아래 링크도 참고하세요.
필자가 실제 운영시스템에서 겪어본 에러입니다. --;

   

postgresdba.com