database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 6379 게시물 읽기
No. 6379
initdb 할때요.....
작성자
백성기(finwell)
작성일
2005-10-21 10:09ⓒ
2005-10-21 10:33ⓜ
조회수
2,522

안녕하세요.. 처음으로 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 입니다..

 

이 글에 대한 댓글이 총 1건 있습니다.

대부분의 답을 에러메시지를 잘 보면 나옵니다.

 

exceeded your kernel's SHMMAX paramter 즉.. 공유메모리 양이 부족하군요... 공유메모리를 늘려주세요.~

최정대(whitekid)님이 2005-10-21 13:48에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
6384데이터 디렉토리가 드디어 4기가 -.- [1]
신기배
2005-10-24
2351
6381php에서 쿼리를 날려 테이블의 필드 코멘트를 볼 수 있는 방법이 있습니까? [2]
김창욱
2005-10-22
2180
6380DB 서버 다운에 대비한 해결방법은? [1]
가우나라
2005-10-21
2691
6379initdb 할때요..... [1]
백성기
2005-10-21
2522
6378같은 쿼리와 다른 쿼리플랜 [2]
신기배
2005-10-20
2626
6377지난주 특정요일의 날짜를 뽑을려면 어떻게 할까요? [1]
webper
2005-10-20
2731
6376시퀀스 기존 시퀀스에서 추가로 증가하게 설정하기? [2]
이강성
2005-10-18
2332
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다