PGPool daemon does not start due to missing directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pgpool (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi! This bug report i nearly an exact copy of Bug #314837 although this bug concerns pgpool and not pgpool2.
We are running pgpool 3.4.1-2 on a 64-bits Ubuntu 10.04.3 LTS server which does not itself run PostgreSQL server (the server is on a separate machine). After installing pgpool, 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.
On system reboot, this directory is destroyed and never recreated which prevent the pgpool process from starting.
I have added the attached patch below to our /etc/init.d/pgpool script that solves the problem but it would be great if someone can update the Ubuntu pgpool packages?
Cheers
//Jon
tags: | added: patch |
Orphaned in Debian, thus marking closed for Ubuntu 11.10