Re: BUG #5253: installer fails to populate data directory - Mailing list pgsql-bugs

From Sachin Srivastava
Subject Re: BUG #5253: installer fails to populate data directory
Date
Msg-id 4B31D9A5.3010401@enterprisedb.com
Whole thread Raw
In response to BUG #5253: installer fails to populate data directory  ("Daniel Convissor" <danielc@analysisandsolutions.com>)
Responses Re: BUG #5253: installer fails to populate data directory
List pgsql-bugs
Can you post the error part of the logs (%TEMP%\install-postgresql.log)?
Mask out any passwords (if there are any).

On 12/23/2009 01:08 PM, Daniel Convissor wrote:
> The following bug has been logged online:
>
> Bug reference:      5253
> Logged by:          Daniel Convissor
> Email address:      danielc@analysisandsolutions.com
> PostgreSQL version: 8.4.2-1
> Operating system:   Windows XP Pro SP3
> Description:        installer fails to populate data directory
> Details:
>
> It seems Bug #4785 hasn't been resolved.  I downloaded the one click
> installer tonight and have hit a snag.  Running
> postgresql-8.4.2-1-windows.exe produces the following error:
>
> vvvv
> Problem running post-install step.  Installation may not complete correctly.
>   Error reading the C:/Program Files/PostgreSQL/8.4/data/postgresql.conf
> ^^^^
>
> Turns out the data directory is completely empty.  During the install, I did
> _not_ un-check the box asking if I wanted to "Install pl/pgsql in template1
> database", so it should have been in there as well.
>
> This is a standalone computer, not on a domain.  I ran the installer while
> logged into the Administrator account.  Both I and the pre-existing
> "postgres" user[1] have permissions to the directory.
>
> cacls "C:\Program Files\PostgreSQL\8.4\data"
>
> C:\Program Files\PostgreSQL\8.4\data DANT41\postgres:(OI)(CI)C
>                                       BUILTIN\Users:R
>                                       BUILTIN\Users:(OI)(CI)(IO)(special
> access:)
>                                                                 GENERIC_READ
>
> GENERIC_EXECUTE
>                                       BUILTIN\Power Users:C
>                                       BUILTIN\Power Users:(OI)(CI)(IO)C
>                                       BUILTIN\Administrators:F
>                                       BUILTIN\Administrators:(OI)(CI)(IO)F
>                                       NT AUTHORITY\SYSTEM:F
>                                       NT AUTHORITY\SYSTEM:(OI)(CI)(IO)F
>                                       DANT41\theadmin:F
>                                       CREATOR OWNER:(OI)(CI)(IO)F
>
> NB: "theadmin" is the administrator user on this machine.
>
> [1]  I had Postgres 8.1 installed a while ago.  Haven't used it in a while.
> I uninstalled it before attempting to install 8.4.
>
>


--
Regards,
Sachin Srivastava
EnterpriseDB <http://www.enterprisedb.com>, the Enterprise Postgres
<http://www.enterprisedb.com> company.

pgsql-bugs by date:

Previous
From: "Daniel Convissor"
Date:
Subject: BUG #5253: installer fails to populate data directory
Next
From: Daniel Convissor
Date:
Subject: Re: BUG #5253: installer fails to populate data directory