Re: windows 10 postgres install bug - Mailing list pgsql-bugs

From Sandeep Thakkar
Subject Re: windows 10 postgres install bug
Date
Msg-id CANFyU94BJ8Ap=W5_CgPmHHCvEPpAkacxi=mRE0Epny-i94edog@mail.gmail.com
Whole thread Raw
In response to windows 10 postgres install bug  ("Doke, Tim (TR Tech, Content & Ops)" <tim.doke@thomsonreuters.com>)
List pgsql-bugs
Hi,

Please share the bitrock installation log created in system temp which will help us to know the cause of the problem. Alternatively, can you try running the installer on the command line with "--enable_acledit 1" option and check if that resolves the issue?

On Wed, Feb 19, 2020 at 6:40 AM Doke, Tim (TR Tech, Content & Ops) <tim.doke@thomsonreuters.com> wrote:

I’ve tried many versions of the pg installation.. Currently, I am using this:

postgresql-12.1-3-windows-x64.exe

 

It runs into a problem with the cluster initialization:

 

 

[18:22:47] Removing the existing ldconfig setting - set during the previous installation.

[18:22:47] Running the post-installation/upgrade actions:

[18:22:47] Write the base directory to the ini file...

[18:22:47] Write the version number to the ini file...

Initialising the database cluster (this may take a few minutes)...

Executing cscript //NoLogo "C:\Program Files\PostgreSQL\12/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\u6019010\AppData\Local\Temp/postgresql_installer_f2a752db06" "C:\Program Files\PostgreSQL\12" "C:\Program Files\PostgreSQL\12\data" 5432 "DEFAULT" 0

Script exit code: 1

 

Script output:

WScript.Shell Initialized...

Scripting.FileSystemObject initialized...

 

Called CreateDirectory(C:\Program Files\PostgreSQL\12\data)...

Called CreateDirectory(C:\Program Files\PostgreSQL\12)...

Called ClearAcl (C:\Program Files\PostgreSQL\12\data)...

    Executing batch file 'radA3984.bat'...

    Output file does not exists...

Removing inherited ACLs on (C:\Program Files\PostgreSQL\12\data)

    Executing batch file 'radA3984.bat'...

    processed file: C:\Program Files\PostgreSQL\12\data

Successfully processed 1 files; Failed processing 0 files

 

Called Die(Failed to reset the ACL (C:\Program Files\PostgreSQL\12\data))...

Failed to reset the ACL (C:\Program Files\PostgreSQL\12\data)

 

Script stderr:

Program ended with an error exit code

 

Error running cscript //NoLogo "C:\Program Files\PostgreSQL\12/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\u6019010\AppData\Local\Temp/postgresql_installer_f2a752db06" "C:\Program Files\PostgreSQL\12" "C:\Program Files\PostgreSQL\12\data" 5432 "DEFAULT" 0: Program ended with an error exit code

Problem running post-install step. Installation may not complete correctly

The database cluster initialisation failed.

 

 

Can you help?

Thanks

This e-mail is for the sole use of the intended recipient and contains information that may be privileged and/or confidential. If you are not an intended recipient, please notify the sender by return e-mail and delete this e-mail and any attachments. Certain required legal entity disclosures can be accessed on our website: https://www.thomsonreuters.com/en/resources/disclosures.html


--
Sandeep Thakkar


pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #16270: Repository URL is wrong
Next
From: Richard Guo
Date:
Subject: Re: Optimizer Doesn't Push Down Where Expressions on Rollups