pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18201: POSTGRESQL 16 - Failed to initialise the database cluster with initdb
2+ messages / 2 participants
[nested] [flat]

* BUG #18201: POSTGRESQL 16 - Failed to initialise the database cluster with initdb
@ 2023-11-16 09:27 PG Bug reporting form <noreply@postgresql.org>
  2023-11-30 07:15 ` Re: BUG #18201: POSTGRESQL 16 - Failed to initialise the database cluster with initdb Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2023-11-16 09:27 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: gutto88@gmail.com

The following bug has been logged on the website:

Bug reference:      18201
Logged by:          Augusto Camargo
Email address:      gutto88@gmail.com
PostgreSQL version: 16.1
Operating system:   Windows 10
Description:        

It looks like the bin\data folder, which is the db cluster folder, has some
kind of structure and on the end of installation i get a POP UP , indicating
that the folder setup for the db clusters was not configured right.

This log i got from C:\Program
Files\PostgreSQL\16\installation_summary.log:

Processados com sucesso 1 arquivos; falha no processamento de 0 arquivos

Called IsVistaOrNewer()... 'winmgmts' object initialized... Version:10.
MajorVersion:10 Granting full access to Administrators on
(C:\PostgreSQL\data)

Executing batch file 'rad30F8E.bat'... arquivo processado:
C:\PostgreSQL\data Processados com sucesso 1 arquivos; falha no
processamento de 0 arquivos

Executing batch file 'rad30F8E.bat'... processo filho terminou com c¢digo de
sa¡da 1 initdb: erro: O programa "postgres" ‚ requerido pelo initdb mas nÆo
foi encontrado no mesmo diret¢rio que "C:/Program
Files/PostgreSQL/16/bin/initdb.exe"

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\16/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "****"
"C:\Users\Administrador\AppData\Local\Temp/postgresql_installer_afbe97298d"
"C:\Program Files\PostgreSQL\16" "C:\PostgreSQL\data" 5432
"Portuguese,Brazil" 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: desktop-peu5949\administrador

When it finishes installing i don't get a windows service of the
postgreSQL


I have it posted in here :
https://stackoverflow.com/questions/77486742/postgresql-16-failed-to-initialise-the-database-cluster...



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #18201: POSTGRESQL 16 - Failed to initialise the database cluster with initdb
  2023-11-16 09:27 BUG #18201: POSTGRESQL 16 - Failed to initialise the database cluster with initdb PG Bug reporting form <noreply@postgresql.org>
@ 2023-11-30 07:15 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Sandeep Thakkar @ 2023-11-30 07:15 UTC (permalink / raw)
  To: gutto88@gmail.com; pgsql-bugs@lists.postgresql.org

Hi,

Can you please share the complete log file as it will help us to understand
the cause of the error better?

On Thu, Nov 16, 2023 at 5:01 PM PG Bug reporting form <
noreply@postgresql.org> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      18201
> Logged by:          Augusto Camargo
> Email address:      gutto88@gmail.com
> PostgreSQL version: 16.1
> Operating system:   Windows 10
> Description:
>
> It looks like the bin\data folder, which is the db cluster folder, has some
> kind of structure and on the end of installation i get a POP UP ,
> indicating
> that the folder setup for the db clusters was not configured right.
>
> This log i got from C:\Program
> Files\PostgreSQL\16\installation_summary.log:
>
> Processados com sucesso 1 arquivos; falha no processamento de 0 arquivos
>
> Called IsVistaOrNewer()... 'winmgmts' object initialized... Version:10.
> MajorVersion:10 Granting full access to Administrators on
> (C:\PostgreSQL\data)
>
> Executing batch file 'rad30F8E.bat'... arquivo processado:
> C:\PostgreSQL\data Processados com sucesso 1 arquivos; falha no
> processamento de 0 arquivos
>
> Executing batch file 'rad30F8E.bat'... processo filho terminou com c¢digo
> de
> sa¡da 1 initdb: erro: O programa "postgres" ‚ requerido pelo initdb mas nÆo
> foi encontrado no mesmo diret¢rio que "C:/Program
> Files/PostgreSQL/16/bin/initdb.exe"
>
> 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\16/installer/server/initcluster.vbs" "NT
> AUTHORITY\NetworkService" "postgres" "****"
> "C:\Users\Administrador\AppData\Local\Temp/postgresql_installer_afbe97298d"
> "C:\Program Files\PostgreSQL\16" "C:\PostgreSQL\data" 5432
> "Portuguese,Brazil" 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: desktop-peu5949\administrador
>
> When it finishes installing i don't get a windows service of the
> postgreSQL
>
>
> I have it posted in here :
>
> https://stackoverflow.com/questions/77486742/postgresql-16-failed-to-initialise-the-database-cluster...
>
>

-- 
Sandeep Thakkar

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-11-30 07:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16 09:27 BUG #18201: POSTGRESQL 16 - Failed to initialise the database cluster with initdb PG Bug reporting form <noreply@postgresql.org>
2023-11-30 07:15 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox