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

Every time I reboot my Ubuntu, my Postgres never gets started automatically and the /var/run/postgresql directory is never there on reboot. I have to manually create it and set the owner to postgre in order to successfully start Postgres every time I reboot. What is the real issue here?

share|improve this question
Hard to tell because you haven't given any information on how you installed it. – Peter Eisentraut Jun 3 '11 at 20:58

/var/run/ on ubuntu by default use tmpfs, so after reboot all necessary file/dir should be created again using init.d script

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.