Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ew8o4-0000E6-Ie for pgsql-bugs@arkaria.postgresql.org; Wed, 14 Mar 2018 15:59:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ew8o2-0002WF-Rx for pgsql-bugs@arkaria.postgresql.org; Wed, 14 Mar 2018 15:59:10 +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 1ew8o2-0002W6-Id for pgsql-bugs@lists.postgresql.org; Wed, 14 Mar 2018 15:59:10 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ew8nz-00025N-Me for pgsql-bugs@lists.postgresql.org; Wed, 14 Mar 2018 15:59:09 +0000 Received: from asus-laptop04.gunduz.org (unknown [88.98.205.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 708403FD53; Wed, 14 Mar 2018 15:59:05 +0000 (UTC) Message-ID: <1521043143.6439.19.camel@gunduz.org> Subject: Re: BUG #15108: Initialization problem postgresql-10-setup initdb From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: alertas.dba@click-it.es, pgsql-bugs@lists.postgresql.org Date: Wed, 14 Mar 2018 15:59:03 +0000 In-Reply-To: <152094313655.1225.9005657715834235284@wrigleys.postgresql.org> References: <152094313655.1225.9005657715834235284@wrigleys.postgresql.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-lPttwHoLjQAPL61OxEqz" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-lPttwHoLjQAPL61OxEqz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, 2018-03-13 at 12:12 +0000, PG Bug reporting form wrote: > The problem is reported when executing database initialization command, > postgresql-10-setup initdb. > In the official documentation > (https://www.postgresql.org/docs/10/static/app-initdb.html) indicates tha= t > it must be executed with the user postgres, but the command only works if= I > execute it as root. >=20 > This command does not postgresql-10-setup is a wrapper around initdb (which solves many problems)= ,=20 *not* the initdb binary, and needs to be run as root. You can always run in= itdb directly with: /usr/pgsql-10/bin/initdb Regards, --=20 Devrim G=C3=BCnd=C3=BCz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-lPttwHoLjQAPL61OxEqz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAlqpRscACgkQ2MM9/pLP brWIJQ/9FDKQJ8Dg2SJukuQbTtNf1UNmmV21NrTVj4M+cSetBCPHTIpfty5R2dtO iDHbEjv+WyTJ+8cTwcSYlXouc3gjvRmhcoDvcG49/yyy5du5s1O13MQIFWuQiLQZ ZwwtWYxnjDdyiGQDTWj2PVrlST8LTDq7NdRQu/EURK5Dogiul5Pyg2d/Z27E9lE3 fnLFBppSnpDMruhulWGvlPVDug+IRvvUgv3w1sb9QgZTye3+n286wfuuQGUETWwd ZJFkzrguhZFEMJwdKAehS1OZTmiD3NVFyAYaPj6dI6XVMuS66TpI44+mpcT8t6ay Ha2NQR/igJh/lfS2kTjv5O+HXDhjoIk1iketfjMTH2KhLMBD81eNXNM1DfUXHZ/n ptvHdmNK9DFhugRLwyG86+r61+Uvg48o4AooeyX9waxRBPoEC2P9cT99tK5Rqs4Z cI5eR6quEcSLfpCikUeIk5AfZCTG4082AnR3W2VnsP7iOJC+ELK91lc2aadCoA3n ba+GtFguITM6WzWfqVQg4cPWT1Tg18nivTdegU2eHo80AcKi63ppqg78HZkrc/fT 1lF5B9VvdT6UMsiHGWQzBQs40rGb7lvr9OxkLBxGelwAKum19OcdWrBA6QqTDbIO IUielLirGkbUN8VDR9l/Vr1qDeKjrNU0nEXdRPwFrtVY+kceZn8= =W13x -----END PGP SIGNATURE----- --=-lPttwHoLjQAPL61OxEqz--