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/>