Re: BUG #4785: Installation fails

From: Dave Page <dpage(at)pgadmin(dot)org>
To: "Krimstock, Roger I (Roger)" <rik(at)avaya(dot)com>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #4785: Installation fails
Date: 2009-05-06 19:56:03
Message-ID: 937d27e10905061256o74a652edr6c7bee1e48e7d8ab@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, May 6, 2009 at 4:41 PM, Krimstock, Roger I (Roger)
<rik(at)avaya(dot)com> wrote:
>
> Hopefully, this is the file that will provide the information.  It does reference postgresql.conf.

Yep, it is the right file. The pertinent bit is this:

---
Ensuring we can write to the data directory (using cacls):
Are you sure (Y/N)?processed dir: C:\Program Files\PostgreSQL\8.4\data
Access is denied.
----

The command that seems to be failing appears to be:

echo y|cacls "C:\Program Files\PostgreSQL\8.4\data" /T /G "<username>":F

where <username> is your current username as returned by a scripting
object. Can you try running the command in a command prompt please,
and see if it works interactively (using your username)?

Also, please put the following in a file (test.vbs) and run it with:

cscript test.vbs

on the commandline. Don't include the dashes in the file:

-----
Set objNetwork = CreateObject("WScript.Network")
WScript.Echo objNetwork.Username
-----

Thanks.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mikael Krantz 2009-05-07 07:56:23 Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Previous Message Tom Lane 2009-05-06 19:47:46 Re: Bug (8.4beta): FailedAssertion("!(bms_is_subset(relids, qualscope))", File: "initsplan.c", Line: 915)