UnixWare 상에서 PostgreSQL을 구동해서 사용하시는 분 계신가요?
OS별로 다 컴파일해보는것 같습니다 ㅡㅡ;
일단 8.3.1 버전을 소스 컴파일한 상태입니다.
initdb 시에 커널 파라미터를 수정하라고 하면서 에러가 나는데,
UnixWare 상의 PostgreSQL 커널 파라미터 권장값 아시는분 있으시면 알려주세요. ^^
에러메시지는 아래와 같습니다.
$ ./initdb -E UTF-8 --no-locale -A trust -W -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".
creating directory /usr/local/secpgsql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 10
selecting default shared_buffers/max_fsm_pages ... 400kB/20000
creating configuration files ... ok
creating template1 database in /usr/local/secpgsql/data/base/1 ... FATAL: could not create shared memory segment: Invalid argument
DETAIL: Failed system call was shmget(key=1, size=1777664, 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 1777664 bytes), reduce PostgreSQL's shared_buffers parameter (currently 50) and/or its max_connections parameter (currently 13).
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/data"
|