X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 266F3D9118 for ; Fri, 16 Sep 2005 06:38:29 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06590-03 for ; Fri, 16 Sep 2005 09:38:24 +0000 (GMT) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by svr1.postgresql.org (Postfix) with ESMTP id A9423D88F2 for ; Fri, 16 Sep 2005 06:38:24 -0300 (ADT) Received: by xproxy.gmail.com with SMTP id i31so576204wxd for ; Fri, 16 Sep 2005 02:38:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=tfT/LKxUBmvYvpjxS77PU7Um8GK+/n1O8bzs/gCr7wcyv9xassumjceGP9t3ICaXBa0xwHuRBPAKf7ei3p7m0Zg50Ns0IJhcb4fhcMIJcfOVGprIlcGyBBACM3N0xLoFxs1AL/anP2Pq5IC6hu6iQeZh9qzDZtRRmXlQArLEjSA= Received: by 10.70.110.6 with SMTP id i6mr13225wxc; Fri, 16 Sep 2005 02:38:27 -0700 (PDT) Received: from ?192.168.1.4? ( [83.58.189.10]) by mx.gmail.com with ESMTP id i36sm2177568wxd.2005.09.16.02.38.26; Fri, 16 Sep 2005 02:38:27 -0700 (PDT) Message-ID: <432A928E.50104@gmail.com> Date: Fri, 16 Sep 2005 11:38:22 +0200 From: vespadict Reply-To: vespadict@gmail.com User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: es-es, es MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Postgres in Solaris 8 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[AWL=-0.000, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200509/181 X-Sequence-Number: 18918 Hi : I'm trying to install postgres in Solaris 8. I tried with 7.3.10 and 8.0.3 postgres versions but I have the same problem in both. The compilation process was ok but in the init process I have the next error : $ ./bin/initdb -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. creating directory /usr/local/pgsql/data ... ok creating directory /usr/local/pgsql/data/global ... ok creating directory /usr/local/pgsql/data/pg_xlog ... ok creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok creating directory /usr/local/pgsql/data/pg_clog ... ok creating directory /usr/local/pgsql/data/pg_subtrans ... ok creating directory /usr/local/pgsql/data/base ... ok creating directory /usr/local/pgsql/data/base/1 ... ok creating directory /usr/local/pgsql/data/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Invalid argument DETAIL: Failed system call was shmget(key=1, size=1130496, 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 1130496 bytes), reduce PostgreSQL's shared_buffers parameter (currently 50) and/or its max_connections parameter (currently 10). 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" The Solaris machine that I'm using is not only for my project so I canīt modify any kernel parameter in /etc/system principally because after need a reboot ... so , where can I modify the shared_buffers and max_connection parameters ? The problem is that these parameters are in postgresql.conf in /data directory but I donīt have this directory. Is necesary to modify the initdb.c function ??? Thanks for your help ...