From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Sourav Majumdar <souravmajumdar2002@gmail.com>
Cc: Ray O'Donnell <ray@rodonnell.ie>
Cc: pgsql-general@postgresql.org
Subject: Re: Connection refused (0x0000274D/10061)
Date: Tue, 18 Jun 2019 06:57:23 -0700
Message-ID: <fbea3b7e-6502-1b2e-7445-2ac62a3d8947@aklaver.com> (raw)
In-Reply-To: <CAMHKnAkpoCBV9H5e4FRU4G0MRUPHD7=1MJ-88nCFNhZCo-Oy_Q@mail.gmail.com>
References: <CAMHKnAnc8E507d+WB1sUC7WUA8nJ1aRbyQF1K8VuEy_Qc5OJiw@mail.gmail.com>
<669cf8ed-877e-4420-3b60-f4e112ad8208@rodonnell.ie>
<CAMHKnAnjv_CcLemuXmQEg1JVMFPDAfSO56UKOZhDEpqH-MZTXA@mail.gmail.com>
<33b9eb3f-278e-977b-1290-a6eddf044c7e@rodonnell.ie>
<9779f586-c2d8-fe90-54d9-6a2911a64224@aklaver.com>
<CAMHKnAmiKxNK9ygWmTSF6rFCzXwg99GLtYPXzSbt4L0VGDePQw@mail.gmail.com>
<a99d83b4-9b5b-32ea-d058-14c09ffeb431@aklaver.com>
<CAMHKnAkpoCBV9H5e4FRU4G0MRUPHD7=1MJ-88nCFNhZCo-Oy_Q@mail.gmail.com>
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 <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> 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 <mailto:adrian.klaver@aklaver.com>
>
>
>
> --
> /Regards-/
> /Sourav Majumdar/
> /Mob.- *9732354141*/
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, souravmajumdar2002@gmail.com, ray@rodonnell.ie
Subject: Re: Connection refused (0x0000274D/10061)
In-Reply-To: <fbea3b7e-6502-1b2e-7445-2ac62a3d8947@aklaver.com>
References: <CAMHKnAnc8E507d+WB1sUC7WUA8nJ1aRbyQF1K8VuEy_Qc5OJiw@mail.gmail.com> <669cf8ed-877e-4420-3b60-f4e112ad8208@rodonnell.ie> <CAMHKnAnjv_CcLemuXmQEg1JVMFPDAfSO56UKOZhDEpqH-MZTXA@mail.gmail.com> <33b9eb3f-278e-977b-1290-a6eddf044c7e@rodonnell.ie> <9779f586-c2d8-fe90-54d9-6a2911a64224@aklaver.com> <CAMHKnAmiKxNK9ygWmTSF6rFCzXwg99GLtYPXzSbt4L0VGDePQw@mail.gmail.com> <a99d83b4-9b5b-32ea-d058-14c09ffeb431@aklaver.com> <CAMHKnAkpoCBV9H5e4FRU4G0MRUPHD7=1MJ-88nCFNhZCo-Oy_Q@mail.gmail.com> <fbea3b7e-6502-1b2e-7445-2ac62a3d8947@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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