From: Devrim Gündüz <devrim@gunduz.org>
To: rameez.iqbal@openbet.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)
Date: Sat, 16 Dec 2017 01:24:41 +0300
Message-ID: <1513376681.3398.34.camel@gunduz.org> (raw)
In-Reply-To: <20171215144232.29862.10240@wrigleys.postgresql.org>
References: <20171215144232.29862.10240@wrigleys.postgresql.org>
Hi,
On Fri, 2017-12-15 at 14:42 +0000, rameez.iqbal@openbet.com wrote:
> Bug reference: 14980
> Logged by: Rameez Iqbal
> Email address: rameez.iqbal@openbet.com
> PostgreSQL version: 9.3.20
> Operating system: centos6
> Description:
>
> I couldn't figure out from changelog but looks like
> /usr/pgsql-9.3/bin/initdb is now creating data directory if missing and if
> already exists then it will throw an error. initdb() function in
> /etc/init.d/postgresql-9.3 also creates data directory before calling initdb
> which then fails stating data directory already exists. I have remove 'data'
> directory creation in service config in order for this work.
I fixed this issue in 9.3.20-5. Please update to this version.
Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: devrim@gunduz.org, rameez.iqbal@openbet.com
Subject: Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)
In-Reply-To: <1513376681.3398.34.camel@gunduz.org>
References: <20171215144232.29862.10240@wrigleys.postgresql.org> <1513376681.3398.34.camel@gunduz.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox