Re: Understanding PostgreSQL installer debug log - Mailing list pgsql-general

From Peter J. Holzer
Subject Re: Understanding PostgreSQL installer debug log
Date
Msg-id 20190809174144.GA14917@hjp.at
Whole thread Raw
In response to Re: Understanding PostgreSQL installer debug log  (Ramesh Maddi <mymail.ramesh@gmail.com>)
List pgsql-general
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/>

Attachment

pgsql-general by date:

Previous
From: Roger Pack
Date:
Subject: Re: DRY up GUI wiki pages
Next
From: Harold Falkmeyer
Date:
Subject: Re: PostgreSQL 8.4 Tablespace Inconsistency