Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hw8tm-0007DT-Kg for pgsql-general@arkaria.postgresql.org; Fri, 09 Aug 2019 17:41:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hw8tj-00076v-KS for pgsql-general@arkaria.postgresql.org; Fri, 09 Aug 2019 17:41:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hw8tj-00076o-BK for pgsql-general@lists.postgresql.org; Fri, 09 Aug 2019 17:41:51 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hw8tf-0008Cn-3j for pgsql-general@lists.postgresql.org; Fri, 09 Aug 2019 17:41:50 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id C8E292FB2; Fri, 9 Aug 2019 19:41:44 +0200 (CEST) Date: Fri, 9 Aug 2019 19:41:44 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Understanding PostgreSQL installer debug log Message-ID: <20190809174144.GA14917@hjp.at> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-08-09 16:55:13 +0530, Ramesh Maddi wrote: > performing post-bootstrap initialization ... Failed to initialize the dat= abase > cluster with initdb with the error "invalid byte sequence for encoding "U= TF8" >=20 > Script stderr: > =A0FATAL: =A0invalid byte sequence for encoding "UTF8": 0xeb 0x2f 0xdb > child process exited with exit code 1 > initdb: removing contents of data directory "/home/postgres/9.6/data" >=20 > Error running /home/postgres/9.6/installer/server/initcluster.sh "postgre= s" > "postgres" "/home/postgres/9.6" "/home/postgres/9.6/data" 5432 DEFAULT: F= ATAL: > =A0invalid byte sequence for encoding "UTF8": 0xeb 0x2f 0xdb 0xeb 0x2f 0xdb is indeed not valid UTF-8. So whereever this sequence comes from isn't UTF-8 encoded. In ISO-8859-1 that sequence would be "=EB/=DB". Does this ring any bell? Any subdirectory with a name that ends in "=EB", for example? hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl1NsFMACgkQ8g5IURL+ KF3vIg//fUwfUh7JwvMitJNWF4WrRI6wQlyGsZcBeJxVLEDoQlrf+DX3+CXeUvQQ qSuPKr9ONvxjdS9zyzRqhOf3zqSmQysbqPQNLIBKmuTMrHr68lHHMyOTqan1cwtk aNGNF5ZE+YMKBJyGoYGnAnxoFJRwMOrpWOsurKzev487BAbwSO00X01JSEa/zqSH w3f/J9/ln1EZitbpkJ8q0bc6ZzTLLN0sEDxUWEjPzmmL9HbUzBVYNI3dLBvusMNU rgucTCCtkcoyzQXVu4YotDXVPmurcJXm/BXQ/ZXRac3dpUvtfF/QGr4VQTX/Kql4 s5YV62iBN8KpbDCIU7vz0voNtBuzekaxEPHY276fnFJ9xl0nOKGBTAKWmWIqeRGG YFrfh3Hi0U6LrsT8bVJYwelq7RzFVPlj9G7G6DHol8irKLBXuv4CXNU7eBRayAQk Ls/bZtcXTBqZz6+6CCy+VsnexJtJ09OD5om/ATJ4vdkBdbnDpa/9OTUj/0nfJOH2 H5BXXWYlQWi4aGzrfOLwSALkQRnHBNSxNpFICOSbX9GJ9jMlK+0eyFfpFcESEqyd JOVYuJbxOPXOnxhiATD0+BM0J4QE75eSvudlmugPKvzCr8uFpEgWudPoI3nk/5Ii b17APdppelUe1PCHI17S4JJPkoRK/3hayq8lZnKiz9RZjlgmBtU= =829N -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--