BUG #18670: Can't install success, the cluster always failed

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: wilson(dot)tian(at)jci(dot)com
Subject: BUG #18670: Can't install success, the cluster always failed
Date: 2024-10-24 08:11:00
Message-ID: 18670-9fa0e0499b9d9674@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: 18670
Logged by: Wilson Tian
Email address: wilson(dot)tian(at)jci(dot)com
PostgreSQL version: 17.0
Operating system: Windows 10
Description:

I am installing the latest version with postgresql-17.0-1-windows-x64.exe,
while going to the step to install cluster, it will failed, and the
PostgreSQL can't run;
I've changed different languages to do that, but it doesn't solve the
problem, still failed

Granting full access to Administrators on (C:\Program
Files\PostgreSQL\17\data)
Executing batch file 'radCE47D.bat'...
processed file: C:\Program Files\PostgreSQL\17\data
Successfully processed 1 files; Failed processing 0 files

Executing batch file 'radCE47D.bat'...
ÊôÓÚ´ËÊý¾Ý¿âϵͳµÄÎļþËÞÖ÷ΪÓû§ "jtianwi".
´ËÓû§Ò²±ØÐëΪ·þÎñÆ÷½ø³ÌµÄËÞÖ÷.

Êý¾Ý¿â¼¯´Ø½«ÒÔÇøÓò»·¾³ÉèÖà "English_United States.1252" ½øÐгõʼ»¯.
ĬÈϵÄÎı¾ËÑË÷ÅäÖý«±»ÉèΪ "english".

½ûֹΪÊý¾ÝÒ³Éú³ÉУÑéºÍ.

ÕýÔÚÐÞ¸´ÒÑ´æÔÚĿ¼ C:/Program Files/PostgreSQL/17/data µÄȨÏÞ ... ³É¹¦
ÕýÔÚ´´½¨×ÓĿ¼ ... ³É¹¦
ÕýÔÚÑ¡Ôñ¶¯Ì¬¹²ÏíÄÚ´æʵÏÖ ... windows
ÕýÔÚÑ¡ÔñĬÈÏ×î´óÁ¬½ÓÊý (max_connections) ... 20
ÕýÔÚÑ¡ÔñĬÈϹ²Ïí»º³åÇø (shared_buffers) ... 400kB
ÕýÔÚÑ¡ÔñĬÈÏʱÇø ... Asia/Shanghai
ÕýÔÚ´´½¨ÅäÖÃÎļþ ... ³É¹¦
ÕýÔÚÔËÐÐÆô¶¯½Å±¾ ... ²»ÔÊÐí¹ÜÀíԱȨÏÞµÄÓû§ÔËÐÐ PostgreSQL ·þÎñÆ÷.
·þÎñÆ÷±ØÐëÒÔÒ»¸ö·ÇÌØȨµÄÓû§Éí·ÝÆô¶¯ÒÔ±ÜÃâ
¿ÉÄܵÄϵͳ°²È«ÐÔÎÊÌâ. ²ÎÔÄÎĵµ»ñÈ¡¸ü¶à
ÓйØÈçºÎÕýÈ·Æô¶¯·þÎñÆ÷µÄÐÅÏ¢.
×Ó½ø³ÌÒÑÍ˳ö, Í˳öÂëΪ 1
initdb: ÕýÔÚɾ³ýÊý¾ÝĿ¼ "C:/Program Files/PostgreSQL/17/data" µÄÄÚÈÝ

Called Die(Failed to initialise the database cluster with initdb)...
Failed to initialise the database cluster with initdb

Script stderr:
Program ended with an error exit code

Error running C:\WINDOWS\System32\cscript //NoLogo "C:\Program
Files\PostgreSQL\17/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "****"
"C:\Users\jtianwi\AppData\Local\Temp/postgresql_installer_d4f3e2d1b6"
"C:\Program Files\PostgreSQL\17" "C:\Program Files\PostgreSQL\17\data" 5432
"English,UnitedStates" 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

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Kapila 2024-10-24 08:46:35 Re: BUG #18644: ALTER PUBLICATION ... SET (publish_via_partition_root) wrong/undocumented behavior.
Previous Message Tender Wang 2024-10-24 02:04:15 Re: BUG #18568: BUG: Result wrong when do group by on partition table!