Re: BUG #15108: Initialization problem postgresql-10-setup initdb

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: alertas(dot)dba(at)click-it(dot)es, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15108: Initialization problem postgresql-10-setup initdb
Date: 2018-03-14 15:59:03
Message-ID: 1521043143.6439.19.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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 that
> it must be executed with the user postgres, but the command only works if I
> execute it as root.
>
> This command does not

postgresql-10-setup is a wrapper around initdb (which solves many problems),
*not* the initdb binary, and needs to be run as root. You can always run initdb
directly with:

/usr/pgsql-10/bin/initdb

Regards,

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-03-14 20:31:11 BUG #15111: c between x and x gives bad planning
Previous Message Sergei Kornilov 2018-03-14 11:46:16 Re: BUG #15110: Unable to backup database