Re: Help! "Access is Denied" Installation on WinXP rolled - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Help! "Access is Denied" Installation on WinXP rolled
Date
Msg-id 20050419184544.GD18949@dcc.uchile.cl
Whole thread Raw
In response to Re: Help! "Access is Denied" Installation on WinXP rolled  (Abe Burnett <abe.burnett@gmail.com>)
List pgsql-general
On Tue, Apr 19, 2005 at 11:31:50AM -0600, Abe Burnett wrote:

> Essentially, literally installing an application with a
> non-administrative account is nearly impossible because that's the
> whole purpose of having such things as non-administrative accounts.
> I'm probably preaching to the choir here. Sorry about that. Here's the
> contents of my init.db log if it helps...

[snip]

> selecting default max_connections ... Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> 10
> selecting default shared_buffers ... Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> Access is denied.
> 50

Judging by the content of your log, I'd say the access that was denied
has nothing to do with file or directory creation; it has to do with
being able to set up shared memory.  If the account you are using for
installation doesn't have permissions to set even a minimally sized
shared memory segment, there's no way Postgres can run.

Note those settings are chosen not because they did work, but because
they were the last setting that was tried.  I think this is a bug:
initdb should fail if not even the lowest setting can be used, instead
of going ahead.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
Officer Krupke, what are we to do?
Gee, officer Krupke, Krup you! (West Side Story, "Gee, Officer Krupke")

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Simplified (a-la [G|N]DBM) DB access
Next
From: "Dann Corbit"
Date:
Subject: Re: Simplified (a-la [G|N]DBM) DB access