pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[HELP] Unable to initiate database cluster
3+ messages / 3 participants
[nested] [flat]

* [HELP] Unable to initiate database cluster
@ 2019-08-09 03:14  dsge94@outlook.com <dsge94@outlook.com>
  0 siblings, 1 reply; 3+ messages in thread

From: dsge94@outlook.com @ 2019-08-09 03:14 UTC (permalink / raw)
  To: pgsql-bugs

I download the zip archives [Binaries from installer Version 11.4] from postgresql website (https://www.enterprisedb.com/download-postgresql-binaries) . The binaries are unzipped in the folder D:\pgsql.

When I cd into folder D:\pgsql\bin and execute the following command
  >> .\initdb -D E:\path\to\my\data -U postgres -W
I get an error. The error prompt is:
The program "postgres" was found by "D:/pgsql/bin/initdb.exe"
but was not the same version as initdb.
Check your installation.

But I check both the initdb.exe and postgres.exe, only to find that their versions are the same (11.4)

Is there anything wrong with my configuration? What should I do?

Thanks for your help

Devon

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

* Re: [HELP] Unable to initiate database cluster
@ 2019-08-09 07:42  Kyotaro Horiguchi <horikyota.ntt@gmail.com>
  parent: dsge94@outlook.com <dsge94@outlook.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kyotaro Horiguchi @ 2019-08-09 07:42 UTC (permalink / raw)
  To: dsge94@outlook.com; +Cc: pgsql-bugs

Hello.

At Fri, 9 Aug 2019 03:14:29 +0000, "dsge94@outlook.com" <dsge94@outlook.com> wrote in 
 <BN6PR03MB31720D98DD59B41083CA1364C4D60@BN6PR03MB3172.namprd03.prod.outlook.com>
> I download the zip archives [Binaries from installer Version 11.4] from postgresql website (https://www.enterprisedb.com/download-postgresql-binaries) . The binaries are unzipped in the folder D:\pgsql.
> 
> When I cd into folder D:\pgsql\bin and execute the following command
>   >> .\initdb -D E:\path\to\my\data -U postgres -W
> I get an error. The error prompt is:
> The program "postgres" was found by "D:/pgsql/bin/initdb.exe"
> but was not the same version as initdb.
> Check your installation.
> 
> But I check both the initdb.exe and postgres.exe, only to find that their versions are the same (11.4)
> 
> Is there anything wrong with my configuration? What should I do?

The message means that postgres.exe is found in the same
directory, but it is not the same version with initdb. Maybe you
have copied the zip file partly onto existing installation of
maybe-older version of postgresql.

You will see what is wrong by running the commands with -V option
like this.

> .\initdb -V
initdb (PostgreSQL) 11.4
> .\postgres -V
postgres (PostgreSQL) 13devel

The versions must match exactly.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center





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

* Re: [HELP] Unable to initiate database cluster
@ 2019-08-12 11:04  Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  parent: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Sandeep Thakkar @ 2019-08-12 11:04 UTC (permalink / raw)
  To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>; +Cc: dsge94@outlook.com; pgsql-bugs

BTW, the version available at
https://www.enterprisedb.com/download-postgresql-binaries is 11.5

On Fri, Aug 9, 2019 at 1:12 PM Kyotaro Horiguchi <horikyota.ntt@gmail.com>
wrote:

> Hello.
>
> At Fri, 9 Aug 2019 03:14:29 +0000, "dsge94@outlook.com" <
> dsge94@outlook.com> wrote in
>  <
> BN6PR03MB31720D98DD59B41083CA1364C4D60@BN6PR03MB3172.namprd03.prod.outlook.com
> >
> > I download the zip archives [Binaries from installer Version 11.4] from
> postgresql website (
> https://www.enterprisedb.com/download-postgresql-binaries) . The binaries
> are unzipped in the folder D:\pgsql.
> >
> > When I cd into folder D:\pgsql\bin and execute the following command
> >   >> .\initdb -D E:\path\to\my\data -U postgres -W
> > I get an error. The error prompt is:
> > The program "postgres" was found by "D:/pgsql/bin/initdb.exe"
> > but was not the same version as initdb.
> > Check your installation.
> >
> > But I check both the initdb.exe and postgres.exe, only to find that
> their versions are the same (11.4)
> >
> > Is there anything wrong with my configuration? What should I do?
>
> The message means that postgres.exe is found in the same
> directory, but it is not the same version with initdb. Maybe you
> have copied the zip file partly onto existing installation of
> maybe-older version of postgresql.
>
> You will see what is wrong by running the commands with -V option
> like this.
>
> > .\initdb -V
> initdb (PostgreSQL) 11.4
> > .\postgres -V
> postgres (PostgreSQL) 13devel
>
> The versions must match exactly.
>
> regards.
>
> --
> Kyotaro Horiguchi
> NTT Open Source Software Center
>
>
>

-- 
Sandeep Thakkar

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


end of thread, other threads:[~2019-08-12 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 03:14 [HELP] Unable to initiate database cluster dsge94@outlook.com <dsge94@outlook.com>
2019-08-09 07:42 ` Kyotaro Horiguchi <horikyota.ntt@gmail.com>
2019-08-12 11:04   ` 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