PostgreSQL 11.2 install fails on Win10 (pro) with a memory access violation 0xC0000005 error.
... ## Initializing pg11 ####################### Setting directory and file permissions. processed file: C:\PostgreSQL\data\pg11 Successfully processed 1 files; Failed processing 0 files setting permission to log dir processed file: C:\POSTGR~1\data\logs\pg11 Successfully processed 1 files; Failed processing 0 files Initializing Postgres DB with: C:\POSTGR~1\pg11\bin\initdb -U postgres -A md5 --encoding UTF8 -D "C:\PostgreSQL\data\pg11" --pwfile="C:\POSTGR~1\pg11\.pgpass" > "C:\POSTGR~1\data\logs\pg11\install.log" 2>&1 ERROR: Unable to Initialize PG. see logfile: C:\POSTGR~1\data\logs\pg11\install.log Error running init-pg11 Script stderr: Program ended with an error exit code Error with configuration or permissions. Please see log file for more information. Problem running post-install step. Installation may not complete correctly Error with configuration or permissions. Please see log file for more information. Cleanup ...
The files belonging to this database system will be owned by user "jeroe". This user must also own the server process. The database cluster will be initialized with locale "English_United Kingdom.1252". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory C:/PostgreSQL/data/pg11 ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting dynamic shared memory implementation ... windows creating configuration files ... ok running bootstrap script ... child process was terminated by exception 0xC0000005 initdb: removing contents of data directory "C:/PostgreSQL/data/pg11"
doesn't seem to be the typical permissions with the postgre user, as this seems to be outdated information: https://stackoverflow.com/questions/18292725/no-postgresql-user-created-after-new-windows-install
User contributions licensed under CC BY-SA 3.0