Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePyPV-0000Fy-Gy for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Dec 2017 22:24:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePyPU-0003eo-AC for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Dec 2017 22:24:52 +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.84_2) (envelope-from ) id 1ePyPU-0003ee-1R for pgsql-bugs@lists.postgresql.org; Fri, 15 Dec 2017 22:24:52 +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 1ePyPP-0003Zs-Cq for pgsql-bugs@postgresql.org; Fri, 15 Dec 2017 22:24:50 +0000 Received: from asus-laptop04.gunduz.org (unknown [78.179.113.26]) (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 51F433FD1D; Fri, 15 Dec 2017 22:24:45 +0000 (UTC) Message-ID: <1513376681.3398.34.camel@gunduz.org> Subject: Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initd config) From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: rameez.iqbal@openbet.com, pgsql-bugs@postgresql.org Date: Sat, 16 Dec 2017 01:24:41 +0300 In-Reply-To: <20171215144232.29862.10240@wrigleys.postgresql.org> References: <20171215144232.29862.10240@wrigleys.postgresql.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-WcZdG5xNE8iBLWYom3Pc" X-Mailer: Evolution 3.26.2 (3.26.2-1.fc27) Mime-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-WcZdG5xNE8iBLWYom3Pc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: =20 >=20 > I couldn't figure out from changelog but looks like > /usr/pgsql-9.3/bin/initdb is now creating data directory if missing and i= f > already exists then it will throw an error. initdb() function in > /etc/init.d/postgresql-9.3 also creates data directory before calling ini= tdb > which then fails stating data directory already exists. I have remove 'da= ta' > 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, --=20 Devrim G=C3=BCnd=C3=BCz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-WcZdG5xNE8iBLWYom3Pc 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/pLPbrUFAlo0S6kACgkQ2MM9/pLP brVYfw/+OxSP8h3WK6/KDOLoocEOm5Vz8SLs2kYuagt2shU9Yta/E7XEfJRkphKL bdY8I768yo2Tb/kMYfDBz93itHGYXLxta7UY0YF3CA38wd6GfSeIO4Cz0S8Nr7ik nIzpZ6rR2qK7k/umSyyzJ1wYtA32JzP8PvFcl0yu8GClcH9EmOdq4oXykSd6QMMj OJrHaWLUCCnsrle5J6FVfp68ivcTxdTqPQdvkKXiZKJTaRjqrS4x5wMB9hbINZr9 jJfwHlEmw5S/ukv9ZaSj38Xp1IkbcivQW+IlY+NRovj/IIiuZT9RQaubm9XiAKTu 61D+FVkHWk4A8Cf4vRNY0yUJLlFESB7cYrFG6BRUMIgHTg8whk6hG+bPLxrW7clm 4AX0dJHOTiH0+jxQ9apFN4q3J6xEpcthBt2Qr/eBzWBrxZhwvZtmF7rS4LTbt73X SI12LV1yh1Y4jjqdtCqH9so72Yf/ckkjybKEX1s7KYk/3zToz/4ovUZLXvlQltL4 MFg5KQWF13/pSvOUoj9f3pgoSmDNPVxCYIxBJD+F7NwYObhCfxgLmcdqufuLMAxv Iaty3UF6Nnkjb4P+oavcqW9kGH39WHj/qEniBR78DkJVuK1z3stdvoQETs7qBlIW 0lU+fPodhRd8i+7azSYvgqKQ5XYgL7Gf4+pC7vsgAYvS2oS966I= =9Aja -----END PGP SIGNATURE----- --=-WcZdG5xNE8iBLWYom3Pc--