[Bug 314837] Re: pgpool does not create run /var/run/postgresql directory on reboot
John-Scott Atlakson
john.scott.atlakson at gmail.com
Wed Jan 7 20:40:16 UTC 2009
Applying the attached patch to /etc/init.d/pgpool2 seems to fix the
problem for me.
** Description changed:
Binary package hint: pgpool
I'm a running pgpool2 on an application server which does not itself run
PostgreSQL server (the server is on a separate machine). After
installing pgpool2, it creates a dir /var/run/postgresql which is owned
by the postgres user. The default configuration (/etc/pgpool.conf) looks
for the pid file in this directory. However, on system reboot, this
directory is destroyed and never recreated which prevent the pgpool2
process from starting. If I can get a patch working for the init script
(cribbing from the /etc/init.d/postgresql-8.3 script) I'll attach that.
+
+
+ Edit: I thought that since I was posting the bug from the /ubuntu/intrepid/ page that it would automatically note that I'm using Intrepid, but in case it's not obvious, I'm using the default pgpool2 v1.3-2 with Intrepid Server.
** Attachment added: "pgpool2.diff"
http://launchpadlibrarian.net/20992642/pgpool2.diff
** Description changed:
- Binary package hint: pgpool
+ Binary package hint: pgpool2
I'm a running pgpool2 on an application server which does not itself run
PostgreSQL server (the server is on a separate machine). After
installing pgpool2, it creates a dir /var/run/postgresql which is owned
by the postgres user. The default configuration (/etc/pgpool.conf) looks
for the pid file in this directory. However, on system reboot, this
directory is destroyed and never recreated which prevent the pgpool2
process from starting. If I can get a patch working for the init script
(cribbing from the /etc/init.d/postgresql-8.3 script) I'll attach that.
Edit: I thought that since I was posting the bug from the /ubuntu/intrepid/ page that it would automatically note that I'm using Intrepid, but in case it's not obvious, I'm using the default pgpool2 v1.3-2 with Intrepid Server.
--
pgpool does not create run /var/run/postgresql directory on reboot
https://bugs.launchpad.net/bugs/314837
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list