# Postgres 11 Installationsfehler - database cluster initialisation failed

**URL:** <https://www.pg-forum.de/t/postgres-11-installationsfehler-database-cluster-initialisation-failed/517>\
**Category:** Installation von PostgreSQL\
**Created:** [11. Februar 2019 um 15:19 UTC](https://www.pg-forum.de/t/postgres-11-installationsfehler-database-cluster-initialisation-failed/517 "2019-02-11T15:19:02Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![castorp](https://www.pg-forum.de/letter_avatar_proxy/v4/letter/c/e99b99/32.png) [@castorp](https://www.pg-forum.de/u/castorp)\
**Post date:** [14. Februar 2019 um 08:52 UTC](https://www.pg-forum.de/t/postgres-11-installationsfehler-database-cluster-initialisation-failed/517/11 "2019-02-14T08:52:00Z")

</div>

Neben dem grafischen Installer von BigSQL gibt es ja auch noch die Kommandozeilen Version, die wesentlich “lokaler” arbeitet, vielleicht funktioniert’s ja mit der:

```nohighlight
c:\temp>powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://s3.amazonaws.com/pgcentral/install.ps1'))"

Downloading BigSQL PGC 4.0.7 ...

Unpacking ...

Setting REPO to https://s3.amazonaws.com/pgcentral

Updating Metadata

--- New components & extensions released in the last 30 days ---
Category | Component | Version | ReleaseDt | Status
PostgreSQL pg10 10.7-1 2019-02-14 not installed
PostgreSQL pg11 11.2-1 2019-02-14 not installed
PostgreSQL pg94 9.4.21-1 2019-02-14 not installed
PostgreSQL pg95 9.5.16-1 2019-02-14 not installed
PostgreSQL pg96 9.6.12-1 2019-02-14 not installed

---------- Components available to install or update ------------
Category | Component | Version | ReleaseDt | Status | Updates
PostgreSQL pg10 10.7-1 2019-02-14
PostgreSQL pg11 11.2-1 2019-02-14
PostgreSQL pg94 9.4.21-1 2019-02-14
PostgreSQL pg95 9.5.16-1 2019-02-14
PostgreSQL pg96 9.6.12-1 2019-02-14
Applications pgadmin3 1.23.0b 2017-06-08
Frameworks perl5 5.20.3.3 2016-03-14
Frameworks python2 2.7.11-4 2016-01-18
Frameworks python37 3.7.1-2 2018-10-27
Frameworks tcl86 8.6.4-1 2016-03-11

BigSQL PGC installed.
  Try 'bigsql\pgc help' to get started.

c:\temp>cd bigsql
c:\temp\bigsql>pgc install pg11
  ['pg11']
Get:1 https://s3.amazonaws.com/pgcentral pg11-11.2-1-win64
 Unpacking pg11-11.2-1-win64.tar.bz2
c:\temp\bigsql>pgc init pg11

## Initializing pg11 #######################

Superuser Password [password]:
Confirm Password:
Setting directory and file permissions.
Bearbeitete Datei: c:\temp\bigsql\data\pg11
1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten.
setting permission to log dir
Bearbeitete Datei: c:\temp\bigsql\data\logs\pg11
1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten.

Initializing Postgres DB with:
  c:\temp\bigsql\pg11\bin\initdb -U postgres -A md5 -E UTF8 --no-locale -D "c:\temp\bigsql\data\pg11" --pwfile="c:\temp\bigsql\pg11\.pgpass" > "c:\temp\bigsql\data\logs\pg11\install.log" 2>&1

Using PostgreSQL Port 5433

Password securely remembered in the file: C:\Users\someusername\AppData\Roaming\postgresql\pgpass.conf

to load this postgres into your environment, run the env file:
    c:\temp\bigsql\pg11\pg11-env.bat

c:\temp\bigsql>pg11\pg11-env.bat

c:\temp\bigsql>pgc start pg11
pg11 starting on port 5433

c:\temp\bigsql>psql -U postgres
psql (11.2)
WARNING: Console code page (437) differs from Windows code page (1252)
         8-bit characters might not work correctly. See psql reference
         page "Notes for Windows users" for details.
Type "help" for help.

postgres@localhost/postgres> \q

c:\temp\bigsql>pgc stop pg11
pg11 stopping
c:\temp\bigsql>

```

---

_[View the full topic](https://www.pg-forum.de/t/postgres-11-installationsfehler-database-cluster-initialisation-failed/517)._
