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 1fKB0S-00008p-8O for pgsql-general@arkaria.postgresql.org; Sat, 19 May 2018 23:11:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKB0Q-00046w-PA for pgsql-general@arkaria.postgresql.org; Sat, 19 May 2018 23:11:18 +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 1fKB0Q-00046Y-Dp for pgsql-general@lists.postgresql.org; Sat, 19 May 2018 23:11:18 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKB0N-0003zD-Ej for pgsql-general@postgresql.org; Sat, 19 May 2018 23:11:17 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 98A1021BF5; Sat, 19 May 2018 19:11:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 19 May 2018 19:11:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=TNBRpSpbL/5+0hz/+3tL1v7oa+9oy GtSHaJ9quVX0bA=; b=JKdSK7kOicx9ZQY67a/Mg4A+NW2gqNeOAq2O8brv1TaLr kNNA34vEoYejvmpWUhMJDPyt3BOC8LbY5Ky+2BWEcp+plWVd31Ty638PHAVK0feQ 2Lzz6jJ6RDPwLHkqKbk2Q6DAkkQC8tu1aq4eZA+OzW0GoFOla0erpt/D2EpVmbHH c0c5wEthTlAGKfBbZqtowojFEjF3VFCUi4JFnLvkFCFq6k3HF7LFDh2/sNDOYQwc aenjiIrYUlFfQMpPd7wtYd2Pl2q1HyO35tZ70fYZgAjqAMZQ9csEEYDnBf7+nrDW So7Qsqj69FubKo0X2mZ/pnwv+bTUO0tGJJzReEnsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TNBRpS pbL/5+0hz/+3tL1v7oa+9oyGtSHaJ9quVX0bA=; b=AqNg3NZ/rlODslr+Dzx5xc jckpiUfie2spxfzjsTlnpCLfimXaiEDGr/lnfpFyYjGltcF2dQF1HOY/d+RpQ5og rJrh2lYt1p1bo5Hy+D5CFnbQCUW3Lwf+S4cjZdumZxgAcXDpOgw5ZH4eqsQAkKl0 7GjNnjlL4ftelmNO/E8/8mK7rXIA/ka/tgPme8B4vqUi37PXGHwjQ8SaiUnWVa5C 6Jlu28OqVTPPkmsjJSjbfSbHWgjOXoJUCAM/VBrUwB5JXMSxWKsT1ASRYOcs/cBL OmnNfzjTta4ehBDmPsz4mBtyEvRf2HJGMptokB96v0m5neT6mgqsjZ9K8FV7jm0w == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [71.212.135.74]) by mail.messagingengine.com (Postfix) with ESMTPA id CB2C6E498C; Sat, 19 May 2018 19:11:13 -0400 (EDT) Subject: Re: initdb failing (10.4 centos7) To: "David G. Johnston" Cc: Michael Nolan , Don Seiler , "pgsql-general@postgresql.org" References: From: Adrian Klaver Message-ID: <56948e15-5131-18e2-e8a0-3d527db2d017@aklaver.com> Date: Sat, 19 May 2018 16:11:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 05/19/2018 04:06 PM, David G. Johnston wrote: > On Saturday, May 19, 2018, Adrian Klaver > wrote: > > On 05/19/2018 03:44 PM, Michael Nolan wrote: > > > > On Sat, May 19, 2018 at 5:23 PM, Adrian Klaver > > >> wrote: > > > >     Then setting up the $DATADIR is on you: > > https://www.postgresql.org/docs/10/static/install-short.html > > > > > > > Shouldn't this also be mentioned in the INSTALL file in the > source directory then? > > > It is also in the Getting Started portion of INSTALL. > > > IIUC the INSTALL file is simply an artifact of the build process for > which the doc sgml file is the source so they should indeed match. They are close but they do not match, there is no Getting Started section in the Installation portion of the Web docs: https://www.postgresql.org/docs/10/static/installation.html > > While practically speaking one must initdb at least once after > installation in order for the product to be useful initdb is itself not > really part of the core installation routine.  IOW it is outside of what > the make routine is responsible for and, as documented, it doesn't deal > with permissions explicitly nor does it create parent directories. > > David J. -- Adrian Klaver adrian.klaver@aklaver.com