RE: Re: BUG #15769: The database cluster intialisation failed. - Mailing list pgsql-bugs

From Nick Anderson
Subject RE: Re: BUG #15769: The database cluster intialisation failed.
Date
Msg-id MN2PR19MB3054A331FD9257C1EB658AD698260@MN2PR19MB3054.namprd19.prod.outlook.com
Whole thread Raw
In response to Re: BUG #15769: The database cluster intialisation failed.  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: Re: BUG #15769: The database cluster intialisation failed.  (Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>)
List pgsql-bugs
In case you did not receive the attachment on my reply I pasted code below for the error section from the end of the
bitrock_installer.logfile.  Please advise. 


The database cluster will be initialized with locale "English_United States.1252".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory C:/PostgreSQLdata ... ok
creating subdirectories ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 400kB
selecting dynamic shared memory implementation ... windows
creating configuration files ... ok
running bootstrap script ... initdb: could not execute command ""C:/PostgreSQL/bin/postgres.exe" --boot -x1  -F ": No
error
initdb: removing contents of data directory "C:/PostgreSQLdata"

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 cscript //NoLogo "C:\PostgreSQL/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService"
"postgres""****" "C:\PostgreSQL" "C:\PostgreSQLdata" 5432 "DEFAULT" 0: Program ended with an error exit code 




Thanks,


Nick Anderson
IT Infrastructure Specialist II
Zurich North America
1299 Zurich Way
Schaumburg, Illinois 60196

Office: 847-605-6959
Email: nicholas.anderson@zurichna.com



   zurichna.com




-----Original Message-----
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Sent: Wednesday, April 17, 2019 10:57 AM
To: Nick Anderson <nicholas.anderson@zurichna.com>; pgsql-bugs@lists.postgresql.org
Subject: [EXTERNAL] Re: BUG #15769: The database cluster intialisation failed.

On Wed, Apr 17, 2019 at 02:32:19PM +0000, PG Bug reporting form wrote:
>The following bug has been logged on the website:
>
>Bug reference:      15769
>Logged by:          Nick Anderson
>Email address:      nicholas.anderson@zurichna.com
>PostgreSQL version: 9.6.5
>Operating system:   Windows Server 2012 R2
>Description:
>
>When trying to install PostgreSQL 9.6.5 on Windows Server 2012 R2 an
>error displays that says "Problem running post-install step.
>Installation may not complete correctly. The database cluster initialization failed."
>

There's not much we can do without additional info - we don't know what exactly failed and why. Try digging in the
windowssystem log, for example. I believe there should be a log file from the installer in %TEMP% so maybe there's more
infoin it. 

regards

--
Tomas Vondra
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.2ndQuadrant.com&d=DwIBAg&c=qP4sLPjPGMqyT1dV5J9o7Q&r=ER5XnAMUZ-Iy_JIvLpufx_6ifbU18udjQSV1rgm0vb4&m=gsIx9gvwpIaWzByHegFJHIjY5WRamIm_GNMj_2qDq60&s=3niEq0VI2C5chcg_cAdjmEl_uZLXMeqCFQC15e79R7g&e=
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


******************* PLEASE NOTE *******************
This message, along with any attachments, is for the designated recipient(s) only and may contain privileged,
proprietary,or otherwise confidential information. If this message has reached you in error, kindly destroy it without
reviewand notify the sender immediately.  Any other use of such misdirected e-mail by you is prohibited.  Where allowed
bylocal law, electronic communications with Zurich and its affiliates, including e-mail and instant messaging
(includingcontent), may be scanned for the purposes of information security and assessment of internal compliance with
companypolicy. 



pgsql-bugs by date:

Previous
From: Maurizio Bellon
Date:
Subject: Installing latest psqlodbc rel 11.00.0000-x64 on windows server
Next
From: PG Bug reporting form
Date:
Subject: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8