-1

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?

  • 2
    Hard to tell because you haven't given any information on how you installed it. – Peter Eisentraut Jun 3 '11 at 20:58
1

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

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

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