I encountered essentially the same problem with a Jaunty (9.04) installation.
My problem was seemingly caused by having installed and configured dovecot BEFORE installing the postgres 8.3 server. My snakeoil key had the following permissions:
root@kingpin:/etc/postgresql/8.3/main# ls -l /etc/ssl/private/ssl-cert-snakeoil.key -rw------- 1 root dovecot 887 2008-12-18 11:56 /etc/ssl/private/ssl-cert-snakeoil.key
I had to both:
# chown root:ssl-cert AND # chmod 640
...before I could get postgres to start.
I encountered essentially the same problem with a Jaunty (9.04) installation.
My problem was seemingly caused by having installed and configured dovecot BEFORE installing the postgres 8.3 server. My snakeoil key had the following permissions:
root@kingpin: /etc/postgresql /8.3/main# ls -l /etc/ssl/ private/ ssl-cert- snakeoil. key private/ ssl-cert- snakeoil. key
-rw------- 1 root dovecot 887 2008-12-18 11:56 /etc/ssl/
I had to both:
# chown root:ssl-cert
AND
# chmod 640
...before I could get postgres to start.