Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRgd8-0001Jp-Tk for pgsql-general@arkaria.postgresql.org; Wed, 31 Mar 2021 19:35:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRgd7-0002Wc-OP for pgsql-general@arkaria.postgresql.org; Wed, 31 Mar 2021 19:35:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRgd7-0002WV-HM for pgsql-general@lists.postgresql.org; Wed, 31 Mar 2021 19:35:53 +0000 Received: from mail1.ampl.us ([35.173.164.125]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRgd3-0005S6-3n for pgsql-general@lists.postgresql.org; Wed, 31 Mar 2021 19:35:52 +0000 Received: from webmail.marpon.com.ar (localhost [127.0.0.1]) by mail1.ampl.us (Postfix) with ESMTPA id B35D6806305 for ; Wed, 31 Mar 2021 16:35:47 -0300 (-03) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_5ff301268dcc281d8ebd5039df5f9726" Date: Wed, 31 Mar 2021 16:35:47 -0300 From: Martin To: pgsql-general@lists.postgresql.org Subject: Failed to initialize 13.2-1 cluster on Windows User-Agent: Roundcube Webmail/1.4.2 Message-ID: X-Sender: c.postgres@ar54.com.ar List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=_5ff301268dcc281d8ebd5039df5f9726 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Hello, I'm trying to install 13.2-1 on Windows 10. Previous version was 10.5, installed using the EnterpriseDB installer, without any problems. That version was completely removed before attempting to install 13.2. EnterpriseDB installer failed to initialize the cluster. The error says that initdb can find postgres executable but it's of a different version. I've read some threads that described permission problems, but I couldn't solve it. What I've tried: - Installing everything by default (including all default folders) - Installing on different folders, on C: and D: disks, outside of Program Files. - Installer is run with "Run as administrator" option - Tried to execute "initdb -D path/to/data/folder" manually after the installer failed. Same message - Manually altered permission on installation folder, giving local users full control on the whole folder (programs and data) - Tried the zip file without installer. Uncompressed everything on a folder outside program files and running initdb by hand. Error: "initdb: error: El programa «postgres» fue encontrado por «C:\Apps\PostgreSQL\13\bin/initdb», pero no es de la misma versión que initdb." BTW, I don't know why messages are in spanish. Although I'm located in Argentina, my windows and every program is installed in english, and english is selected as primary language. But, nevertheless, that's unimportant. Translation is "postgres program was found by initdb, but it's a different version". - When executing postgres.exe directly, it says "FATAL: XX000: postgres: no se pudo localizar el ejecutable postgres correspondiente. UBICACIÓN: getInstallationPaths, d:\pginstaller_13.auto\postgres.windows-x64\src\backend\postmaster\postmaster.c:1489". That would translate as "could not locate corresponding postgres executable". I've read somewhere a recommendation to create a separate user "postgres". Although that's common practice on Linux, I've never done it on previous Windows installations. Would that be something to try? I'm running out of ideas for what else to try. Any help will be much appreciated. Regards, Martin --=_5ff301268dcc281d8ebd5039df5f9726 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hello,

I'm trying to install 13.2-1 on Windows 10. Previous version was 10.5, i= nstalled using the EnterpriseDB installer, without any problems. That versi= on was completely removed before attempting to install 13.2.

EnterpriseDB installer failed to initialize the cluster. The error says = that initdb can find postgres executable but it's of a different version. I= 've read some threads that described permission problems, but I couldn't so= lve it. What I've tried:

- Installing everything by default (including all default folders)

- Installing on different folders, on C: and D: disks, outside of Progra= m Files.

- Installer is run with "Run as administrator" option

- Tried to execute "initdb -D path/to/data/folder" manually after the in= staller failed. Same message

- Manually altered permission on installation folder, giving local users= full control on the whole folder (programs and data)

- Tried the zip file without installer. Uncompressed everything on a fol= der outside program files and running initdb by hand. Error: "initdb: error= : El programa «postgres» fue encontrado por «C:\Apps\Post= greSQL\13\bin/initdb», pero no es de la misma versión que init= db." BTW, I don't know why messages are in spanish. Although I'm located in= Argentina, my windows and every program is installed in english, and engli= sh is selected as primary language. But, nevertheless, that's unimportant= =2E Translation is "postgres program was found by initdb, but it's a differ= ent version".

- When executing postgres.exe directly, it says "FATAL: XX000: postgres:= no se pudo localizar el ejecutable postgres correspondiente. UBICACI&Oacut= e;N: getInstallationPaths, d:\pginstaller_13.auto\postgres.windows-x64\src\= backend\postmaster\postmaster.c:1489". That would translate as "could not l= ocate corresponding postgres executable".

I've read somewhere a recommendation to create a separate user "postgres= ". Although that's common practice on Linux, I've never done it on previous= Windows installations. Would that be something to try?

I'm running out of ideas for what else to try. Any help will be much app= reciated.

Regards,

Martin

--=_5ff301268dcc281d8ebd5039df5f9726--