BUG #17688: The Database Cluster Initialization Failed

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: iamosamudiamen(at)gmail(dot)com
Subject: BUG #17688: The Database Cluster Initialization Failed
Date: 2022-11-15 20:00:38
Message-ID: 17688-1ee0be210166a965@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17688
Logged by: Izevbokun Osamudiamen
Email address: iamosamudiamen(at)gmail(dot)com
PostgreSQL version: 15.1
Operating system: Windows 11
Description:

Script stderr:

[21:32:31] Running the post-installation/upgrade actions:
[21:32:31] Write the base directory to the ini file...
[21:32:31] Write the version number to the ini file...
Initialising the database cluster (this may take a few minutes)...
Executing C:\WINDOWS\System32\cscript //NoLogo
"C:\PostgreSQL\15/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "****"
"C:\Users\ESGINT5\AppData\Local\Temp/postgresql_installer_6daec53188"
"C:\PostgreSQL\15" "C:\PostgreSQL\15\data" 5432 "DEFAULT" 0
Script exit code: 1

Script output:
WScript.Shell Initialized...
Scripting.FileSystemObject initialized...

Called CreateDirectory(C:\PostgreSQL\15\data)...
Called CreateDirectory(C:\PostgreSQL\15)...
Called ClearAcl (C:\PostgreSQL\15\data)...
Executing batch file 'radC3727.bat'...
Called Die(Failed to reset the ACL (C:\PostgreSQL\15\data))...
Failed to reset the ACL (C:\PostgreSQL\15\data)

Script stderr:
Program ended with an error exit code

Error running C:\WINDOWS\System32\cscript //NoLogo
"C:\PostgreSQL\15/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "****"
"C:\Users\ESGINT5\AppData\Local\Temp/postgresql_installer_6daec53188"
"C:\PostgreSQL\15" "C:\PostgreSQL\15\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.
Setting variable whoami from C:\WINDOWS\System32\whoami
Script exit code: 0

Script output:
intel-analyst-5\esgint5

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Kapila 2022-11-16 04:22:06 Re: WAL segments removed from primary despite the fact that logical replication slot needs it.
Previous Message Masahiko Sawada 2022-11-15 14:59:37 Re: WAL segments removed from primary despite the fact that logical replication slot needs it.