2

Two weeks ago I asked "How do I configure Windows XP to start the postgresql demon after each boot/reboot?", and BenV helped me out with his answer:

Make sure the service is set to start automatically.

  • Start->Control Panel->Administrative Tools->Services
  • Find the service (should be named something like postgresql-9.0)
  • Make sure the Startup Type is set to Automatic

Additionally there was a problem with the password for the user postgres that I had to correct, and everything worked fine - until the 2nd reboot (I installed PostgreSQL on my developer PC, which I switch off every night). I had to correct the password again, and have to redo it ever since after every 2nd reboot.

What can I do?

asked Jan 27, 2011 at 15:00
3
  • So is the problem with the password or the installation/configuration of the service? Commented Jan 28, 2011 at 1:00
  • @jcolebrand: The problem is that the service "postgres" is set to automatic, but doesn't start automatically after the 2nd reboot (after the first it does). Logged in as administrator one can start the service only after reinserting the password, which seems to be forgotten by Windows. Where the problem comes from, I have no clue. Commented Jan 28, 2011 at 8:00
  • 2
    The problem you describe sounds like the SF guys would be better suited to help you. This isn't a db problem, it would seem, but a windows issue. Commented Jan 28, 2011 at 8:01

1 Answer 1

2

There's also one more setting to be noted... On the same window where we set Automatic/Manual start up, there's a "Recovery" tab in which we can force the service to restart when a failure occurs.

But this might not be a good idea to use, especially on development environments, since it may help slip some possible problems past the developer's and/or administrator's eyes.

answered Feb 5, 2011 at 19:14
1
  • Thanks for the answer. I had set the server to automatically restart once if it fails, but this doesn't help. I guess I'll ask the guys at sf eventually. Commented Feb 7, 2011 at 14:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.