Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2EPk-0007tl-EE for pgsql-admin@arkaria.postgresql.org; Tue, 18 Sep 2018 11:43:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g2EPi-0002hL-Qt for pgsql-admin@arkaria.postgresql.org; Tue, 18 Sep 2018 11:43:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2EPi-0002hA-Gd for pgsql-admin@lists.postgresql.org; Tue, 18 Sep 2018 11:43:30 +0000 Received: from mx1.mailbox.org ([80.241.60.212]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g2EPf-0008JG-2d for pgsql-admin@postgresql.org; Tue, 18 Sep 2018 11:43:29 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id B5B61495BB; Tue, 18 Sep 2018 13:43:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id w_MOLNM4yc0U; Tue, 18 Sep 2018 13:43:20 +0200 (CEST) Message-ID: Subject: Re: Problems when initdb on AIX 5.3 From: Laurenz Albe To: Francesco Vecchio , pgsql-admin@postgresql.org Date: Tue, 18 Sep 2018 13:43:20 +0200 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Francesco Vecchio wrote: > I have a problem with the command: > > # initdb -D /geasql/data > > which after displaying: > selecting default max_connections … > it stops and does not proceed. > > I tried on another server and the problem is the same. > The ps command list initdb followed by the following process: > > /opt/freeware/bin/postgres --boot -x0 -F -c max_connections=100 -c shared_buffers=1000 > > The following lines are the output of the initdb command: > > $ initdb –-debug -D /geasql/data. . . . > The files belonging to this database system will be owned by user "postgres". > This user must also own the server process. > VERSION=9.3.5 > PGDATA=/geasql/data > share_path=/opt/freeware/share/postgresql > PGPATH=/opt/freeware/bin > POSTGRES_SUPERUSERNAME=postgres > POSTGRES_BKI=/opt/freeware/share/postgresql/postgres.bki > POSTGRES_DESCR=/opt/freeware/share/postgresql/postgres.description > POSTGRES_SHDESCR=/opt/freeware/share/postgresql/postgres.shdescription > POSTGRESQL_CONF_SAMPLE=/opt/freeware/share/postgresql/postgresql.conf.sample > PG_HBA_SAMPLE=/opt/freeware/share/postgresql/pg_hba.conf.sample > PG_IDENT_SAMPLE=/opt/freeware/share/postgresql/pg_ident.conf.sample > The database cluster will be initialized with locale "en_US". > The default database encoding has accordingly been set to "LATIN1". > The default text search configuration will be set to "english". > Data page checksums are disabled. > fixing permissions on existing directory /geasql/data ... ok > creating subdirectories ... ok > selecting default max_connections ... > > ****** > Il server è IBM > System Model: 7029-6E3 > Processor Type: PowerPC_POWER4 > CPU Type: 64-bit > Kernel Type: 32-bit > Memory Size: 2048 MB > S.O. AIX 5.2 > Postgresql and dependences I downloaded from the site www.oss4aix.org strictly respecting the deps of the site. You could use "truss" on or attach a debugger to the hanging "postgres" process to see what it is doing. You should *not* be using PostgreSQL 9.3.5. Retry with 9.3.24 so you have all known bugs fixed. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com