안녕하세요.. 처음으로 postgreSQL 에 입문하게된 백성기라고 합니다....
이번에 입사한 회사에서 서버에 쓰는 RDBMS으로 postgreSQL을 쓰게 되어서..
열심히 사용해 보려고 하는데요..
설치까지는 잘 된거 같은데...
postgres 계정으로 들어와서..
initdb를 실행하여 데이터베이스를 초기화 하는데..
creating directory /usr/local/pgsql/mmm ... ok
creating directory /usr/local/pgsql/mmm/global ... ok
creating directory /usr/local/pgsql/mmm/pg_xlog ... ok
creating directory /usr/local/pgsql/mmm/pg_xlog/archive_status ... ok
creating directory /usr/local/pgsql/mmm/pg_clog ... ok
creating directory /usr/local/pgsql/mmm/pg_subtrans ... ok
creating directory /usr/local/pgsql/mmm/base ... ok
creating directory /usr/local/pgsql/mmm/base/1 ... ok
creating directory /usr/local/pgsql/mmm/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/mmm/base/1 ... FATAL: could not create shared memory segment: 부적절한 인수
DETAIL: Failed system call was shmget(key=1, size=136273920, 03600).
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 136273920 bytes), reduce PostgreSQL's shared_buffers parameter (currently 16000) and/or its max_connections parameter (currently 100).
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration.
child process exited with exit code 1
initdb: removing data directory "/usr/local/pgsql/mmm"
이렇게 나오면서 끝내 Success를 보여주지 않는군요.. ㅠㅠ;
검색을 해서 로케일 설정도 해보고 하는데.. 그래도 똑같은 결과만...
당연히 서버프로세스를 시작하려고 해도 안되겠죠..
무슨 문제인지.. 고수님들 도움을 청합니다..
정작 DB엔 접근도 못해보고.. 이거 큰일나게 생겼어요..
OS는 수세리눅스 9.1 입니다..
|