pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14980: initddb fails (Issue with postgresql-9.3 initd config)
2+ messages / 2 participants
[nested] [flat]
* BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)
@ 2017-12-15 14:42 rameez.iqbal@openbet.com
2017-12-15 22:24 ` Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initd config) Devrim Gündüz <devrim@gunduz.org>
0 siblings, 1 reply; 2+ messages in thread
From: rameez.iqbal@openbet.com @ 2017-12-15 14:42 UTC (permalink / raw)
To: pgsql-bugs; +Cc: rameez.iqbal@openbet.com
The following bug has been logged on the website:
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)
2017-12-15 14:42 BUG #14980: initddb fails (Issue with postgresql-9.3 initd config) rameez.iqbal@openbet.com
@ 2017-12-15 22:24 ` Devrim Gündüz <devrim@gunduz.org>
0 siblings, 0 replies; 2+ messages in thread
From: Devrim Gündüz @ 2017-12-15 22:24 UTC (permalink / raw)
To: rameez.iqbal@openbet.com; pgsql-bugs
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-12-15 22:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-15 14:42 BUG #14980: initddb fails (Issue with postgresql-9.3 initd config) rameez.iqbal@openbet.com
2017-12-15 22:24 ` Devrim Gündüz <devrim@gunduz.org>
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