Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Mar 2 '10 at 22:26

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

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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