Currently I am experiencing an issue with a Postgres 8.3 install wherein after a system restart a service is unable. The error message is as follows:

waiting for server to start...Access is denied. ............................................................could not start server

The command being executed is

pg_ctl.exe start -N "MyService" -D "C:\MyData"

I am logged in and executing this as an administrator. The issue originally happened after uninstalling and reinstalling postgres, the /data directory was removed as well.

link|improve this question

67% accept rate
feedback

migrated from superuser.com Mar 2 '10 at 22:26

This question came from our site for computer enthusiasts and power users.

1 Answer

up vote 0 down vote accepted

If you opted to have the installer create a service account for you, you will need to:

  1. Back up any existing data.
  2. Uninstall Postgres.
  3. Delete the service account. This is important!
  4. Re-install Postgres.
  5. Restore data from backup.

This is related to a password-reset issue in the installer script. In effect, the original service account simply needs to be cleared out when re-installing. This may be corrected in newer versions.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.