Re: BUG #5253: installer fails to populate data directory

From: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>
To: Daniel Convissor <danielc(at)analysisandsolutions(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5253: installer fails to populate data directory
Date: 2009-12-23 08:49:41
Message-ID: 4B31D9A5.3010401@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)analysisandsolutions(dot)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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message fwoncn 2009-12-23 15:49:46 BUG #5254: can't drop a table
Previous Message Daniel Convissor 2009-12-23 07:38:40 BUG #5253: installer fails to populate data directory