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 1hdEc9-0005cF-LP for pgsql-general@arkaria.postgresql.org; Tue, 18 Jun 2019 13:57:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hdEc8-0003US-Gc for pgsql-general@arkaria.postgresql.org; Tue, 18 Jun 2019 13:57:32 +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 1hdEc6-0003UK-UV for pgsql-general@lists.postgresql.org; Tue, 18 Jun 2019 13:57:32 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdEc2-0000Tj-IT for pgsql-general@postgresql.org; Tue, 18 Jun 2019 13:57:30 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2734121F7D; Tue, 18 Jun 2019 09:57:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 18 Jun 2019 09:57:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=M BVJmHPB/kRZOhQQADwDgIYZul+NfzRTPDWVt9pA6Wo=; b=evTOYM90no53ZLhtf 8luZSiLiLyC7cPp/fOWdiLpRuoAtZJHXiSBtVcLBfG39VPdHPNxYdJCJeeZ/pjWo EFN41n7aa5GD7WDXE9oeUHjXp+9MFvLf4hy54hwIhbhjez3Xuuyu3MlPznkiD7LP eDbhfKHO1Ogbqtf5q76aBUQgCD+zyntunJlRCct3hjeJmq89zV9fnQl38l6AjqTx O+blG1fKr87oN7rZ+x+29lhtA5nnYgMRWfx9c3WlyE2Ci97m3j+B4PX1SErFkWdE sW+AOlYeXaOZWwswclRP4z8TRqaU7czJ1SecK6nlLKij6AOFBrOZd5b9vmOWRFbt TQl8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=MBVJmHPB/kRZOhQQADwDgIYZul+NfzRTPDWVt9pA6 Wo=; b=jIFJ7+/2nBKXueglhIR+OB9fWYO8jRBal4TpeGKx/dQM71zs6VEonThhA sWDMtBP3xYTYGSKK6SG2c2W8NE0MIZw6VyNQu/4yBugWtoJQSjDOIdfWCEYVtBko ulCc+JRj7ra6799P/U9hdKzvApkAA9uBQwgN9coDCbKBzp503lSu10krg+2wgS1A MaLL7kZB9cJ7Z8tmwZWEnz9cyECPhQD9ReHbnrAaifxdIE28slbLlfgO5KuBmyfG V9N7sk4dTu6lmwr+oGRP6uQl8CueK9o5xXnTlRnDg6wTl8ibWlEuI343nE6D57n4 FLN4qiyMKnHDD1s1VbzvfZBUyzVwQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtddtgdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenucfkphepjedurddv uddvrdduhedtrddvtddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkh hlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 241E3380073; Tue, 18 Jun 2019 09:57:24 -0400 (EDT) Subject: Re: Connection refused (0x0000274D/10061) To: Sourav Majumdar Cc: Ray O'Donnell , pgsql-general@postgresql.org References: <669cf8ed-877e-4420-3b60-f4e112ad8208@rodonnell.ie> <33b9eb3f-278e-977b-1290-a6eddf044c7e@rodonnell.ie> <9779f586-c2d8-fe90-54d9-6a2911a64224@aklaver.com> From: Adrian Klaver Message-ID: Date: Tue, 18 Jun 2019 06:57:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/18/19 1:06 AM, Sourav Majumdar wrote: > Hii, I have checked the logged file. I am attaching it with this mail. PFA In future please do not attach a 1.4MB file. Most of it was Unpacking info. The relevant part was at the end: " fixing permissions on existing directory C:/PostgreSQL/data ... initdb: could not change permissions of directory "C:/PostgreSQL/data": Permission denied 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:\PostgreSQL\data" 5432 "DEFAULT" 0: Program ended with an error exit code Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed. [23:30:13] Delete the temporary scripts directory... Creating menu shortcuts... Executing cscript //NoLogo "C:\PostgreSQL\installer\server\createshortcuts_clt.vbs" "PostgreSQL 11" "C:\PostgreSQL" Script exit code: 0" Did you follow the instructions here?: https://www.enterprisedb.com/docs/en/11.0/PG_Inst_Guide_v11/PostgreSQL_Installation_Guide.1.08.html# In particular the part about: "To perform an installation using the graphical installation wizard, you must have superuser or administrator privileges. To start the installation wizard, assume sufficient privileges and double-click the installer icon; if prompted, provide a password. Note that in some versions of Windows, you can invoke the installer with Administrator privileges by right clicking on the installer icon and selecting Run as Administrator from the context menu." > > On Fri, Jun 14, 2019 at 1:58 AM Adrian Klaver > wrote: > > On 6/13/19 9:56 AM, Sourav Majumdar wrote: > > Hi, > > I have tried many time for setup postgreSQL for my local host. > Hence I > > have tried to reInstall the one click app from > > > https://www.enterprisedb.com/downloads/postgres-postgresql-downloads -  Windows > > > x86-64  -  PostgreSQL Version 11.3. When installing using default > port > > 5432, Its giving an error "Database Cluster Installation Failed". > Please > > advice how to resolve the issue. I am struggling to setup this > > POSTGRESQL from more than a week. > > > > The error screenshot is attached. PFA > > > > Sounds like a permissions problem to me. > > See: > > https://www.enterprisedb.com/docs/en/11.0/PG_Inst_Guide_v11/PostgreSQL_Installation_Guide.1.13.html# > > to find the log of the install process. It will probably have more > information. > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > > > -- > /Regards-/ > /Sourav Majumdar/ > /Mob.- *9732354141*/ -- Adrian Klaver adrian.klaver@aklaver.com