Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvzXg-00029F-B1 for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Aug 2019 07:42:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hvzXe-00044C-Kf for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Aug 2019 07:42:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvzXe-00040u-93 for pgsql-bugs@lists.postgresql.org; Fri, 09 Aug 2019 07:42:26 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvzXb-0002az-6z for pgsql-bugs@postgresql.org; Fri, 09 Aug 2019 07:42:25 +0000 Received: by mail-pg1-x541.google.com with SMTP id w3so8232170pgt.13 for ; Fri, 09 Aug 2019 00:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:cc:subject:from:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=7zZBsLtw881x2ScYUQ6WY78mHydveoSOwrqyc+hqxM4=; b=aj/QtrLh/3SmAKmxeoVoXbIx6VrCENuGtDHjPGILtF+fiWpRWgQ9I6jvGOMPQevPLS 4h/m37VUGw6CFG5+pHu6ju07vgSbkfjMJ4VoF2hSfF/W+kI64a6loyqiEDkxsYPpzO8c jhA7Z1Ab8BBvjNRbO0oz6YiWbM6pixyCiiAGfGISrz0LJz7layZGo3frHKpGoNqYoTSR EO2GYaqpLHvGG2ThPEtnJ2Mjg9Rv89+m66N18L1VMtIM61WRLEraxKesrX9DZO50X1EG 4MxTIw+8N95FUbPhES72PuWvndl9et0oKM/7Da9WsiM6RSBl4C3d3Qe1oDR/N+wG+GKJ 1oJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=7zZBsLtw881x2ScYUQ6WY78mHydveoSOwrqyc+hqxM4=; b=egU+EWC97KsE+scfYApj8eEDRI4/xjCK22ytB3rxThBIWM+meolV8kiKcGosqjBbtv ZlIJEMM5j9rd2/MQuaeXT1LpFA6Hb1/91mpIgrh/bycIjee5KoDu9OZYiD32sSEsQqFN BTeEWOxQdY9Hcoh6fTdCgVywQFCe9bBjcXhQDF6W4etdb6i2Y/HJRoNXPOANkohEcBUi O3I9rvNuyLYuqke9DdiVUcGVr80vKIwga9MrzHJaBIz2ogoxNcbawVnQUW6yzOpybqIq HUgWBFFvsuXd5HolJCGdrwwIc4Cs3Ff0eqZ958yU53YV6Ywa4dkywzBCJrBh4DNeU+f4 CNdg== X-Gm-Message-State: APjAAAX21exHxdgeYq4U+vqVT5SJ23rfl4xajJx5IMZmJLukz/YLOgFY 08cbjVPzerF5hyQb+fsjSnI= X-Google-Smtp-Source: APXvYqxIwuuonG/gkadY3z8pmtulGgImjFuerKO7CAqrtpPQSsEMpZV7RA6cRokZJXutI72yKgA9ZA== X-Received: by 2002:a17:90a:9cf:: with SMTP id 73mr2839050pjo.90.1565336540361; Fri, 09 Aug 2019 00:42:20 -0700 (PDT) Received: from localhost (w204177.dynamic.ppp.asahi-net.or.jp. [121.1.204.177]) by smtp.gmail.com with ESMTPSA id g66sm95337347pfb.44.2019.08.09.00.42.18 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 09 Aug 2019 00:42:19 -0700 (PDT) Date: Fri, 09 Aug 2019 16:42:01 +0900 (Tokyo Standard Time) Message-Id: <20190809.164201.198844207.horikyota.ntt@gmail.com> To: dsge94@outlook.com Cc: pgsql-bugs@postgresql.org Subject: Re: [HELP] Unable to initiate database cluster From: Kyotaro Horiguchi In-Reply-To: References: User-Agent: Mew version 6.5 on Emacs 22.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjpnGyhCKQ==?= / Meadow-3.01-dev (TSUBO-SUMIRE) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello. At Fri, 9 Aug 2019 03:14:29 +0000, "dsge94@outlook.com" wrote in > 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