Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 superuser.com Mar 2 '10 at 22:26

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

1 Answer 1

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

 
discard

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.