From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Understanding PostgreSQL installer debug log
Date: Fri, 9 Aug 2019 19:41:44 +0200
Message-ID: <20190809174144.GA14917@hjp.at> (raw)
In-Reply-To: <CA+270XAoCg0gJf1Nj9_a9c_tMSDjapmy5S5EYijZ7EugbdJszw@mail.gmail.com>
References: <CA+270XC9d+DnU_z03--kkqwg9Hw_owKwgEygP02kr3rr=P7h1Q@mail.gmail.com>
<CAKoxK+4cBC0N55baYRPUZ8XrH61f5NkGWQygt1dcP__8OfymNw@mail.gmail.com>
<CAD+mzozQGKoGXbxq4JUsOb2uOHe-5V-7W3ctn8xeTg4tJuCvOg@mail.gmail.com>
<CA+270XAoCg0gJf1Nj9_a9c_tMSDjapmy5S5EYijZ7EugbdJszw@mail.gmail.com>
On 2019-08-09 16:55:13 +0530, Ramesh Maddi wrote:
> performing post-bootstrap initialization ... Failed to initialize the database
> cluster with initdb with the error "invalid byte sequence for encoding "UTF8"
>
> Script stderr:
> FATAL: invalid 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"
>
> Error running /home/postgres/9.6/installer/server/initcluster.sh "postgres"
> "postgres" "/home/postgres/9.6" "/home/postgres/9.6/data" 5432 DEFAULT: FATAL:
> invalid 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
"ë/Û". Does this ring any bell? Any subdirectory with a name that ends
in "ë", for example?
hp
--
_ | 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 <https://www.edge.org/;
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-general@postgresql.org
Cc: hjp-pgsql@hjp.at
Subject: Re: Understanding PostgreSQL installer debug log
In-Reply-To: <20190809174144.GA14917@hjp.at>
References: <CA+270XC9d+DnU_z03--kkqwg9Hw_owKwgEygP02kr3rr=P7h1Q@mail.gmail.com> <CAKoxK+4cBC0N55baYRPUZ8XrH61f5NkGWQygt1dcP__8OfymNw@mail.gmail.com> <CAD+mzozQGKoGXbxq4JUsOb2uOHe-5V-7W3ctn8xeTg4tJuCvOg@mail.gmail.com> <CA+270XAoCg0gJf1Nj9_a9c_tMSDjapmy5S5EYijZ7EugbdJszw@mail.gmail.com> <20190809174144.GA14917@hjp.at>
* 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