BUG #11398: FATAL error on install, permission denied

Lists: pgsql-bugs
From: kkaminski(at)vidsys(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #11398: FATAL error on install, permission denied
Date: 2014-09-11 20:15:20
Message-ID: 20140911201520.2485.98725@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 11398
Logged by: Kathy Kaminski
Email address: kkaminski(at)vidsys(dot)com
PostgreSQL version: 9.0.16
Operating system: Windows 7
Description:

Installed PostGres 9.0.16 on Windows after a successful uninstall of 9.0.13
and had it fail with the following:

loading system objects' descriptions ... FATAL: could not access status of
transaction 0
DETAIL: Could not open file "pg_notify/0000": Permission denied.
child process exited with exit code 1
initdb: removing contents of data directory
"C:/ProgramData/PostgreSQL/9.0/data"

When this happened, they removed the postgres user (and we believe also the
data directory), re-ran the installer and that worked.

I'm trying to include postgres as a dependency in my installshield installer
and I'm concerned about encountering this in the field. Is it a known
problem? I can't find much by googling. What is the 'proper' way to handle
it when it comes up. Thanks :)