It doesn't look that clear to me.

i...@ubuntu:/etc/ssl$ ls -l
total 36
drwxr-xr-x 2 root root     20480 2009-04-30 23:23 certs
-rw-r--r-- 1 root root      9374 2008-07-25 19:40 openssl.cnf
drwx--x--- 2 root ssl-cert  4096 2009-01-07 23:08 private
i...@ubuntu:/etc/ssl$ 

How do I change this to what you suggest?
Regards,
Ian


--- On Mon, 8/6/09, Martin Pitt <martin.p...@ubuntu.com> wrote:

From: Martin Pitt <martin.p...@ubuntu.com>
Subject: [Bug 382584] Re: The PostgreSQL server failed to start.
To: ian.dav...@yahoo.com
Date: Monday, 8 June, 2009, 7:11 PM

2009-06-01 23:19:56 BST FATAL: could not access private key file
"server.key": Permission denied

This error message is pretty clear. Apparently you modified the
permissions of the certificate? It should be

rwx--x--- 2 root ssl-cert 4096 2009-04-15 12:37 /etc/ssl/private/
-rw-r----- 1 root ssl-cert 891 2009-04-15 12:37 
/etc/ssl/private/ssl-cert-snakeoil.key

** Changed in: postgresql-8.3 (Ubuntu)
       Status: New => Invalid

-- 
The PostgreSQL server failed to start.
https://bugs.launchpad.net/bugs/382584
You received this bug notification because you are a direct subscriber
of the bug.

Status in “postgresql-8.3” source package in Ubuntu: Invalid

Bug description:
Binary package hint: postgresql-8.3

2009-06-01 23:19:56 BST FATAL:  could not access private key file "server.key": 
Permission denied
                                                                         [fail]
invoke-rc.d: initscript postgresql-8.3, action "start" failed.
dpkg: error processing postgresql-8.3 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql:
 postgresql depends on postgresql-8.3; however:
  Package postgresql-8.3 is not configured yet.
dpkg: error processing postgresql (--configure):
 dependency problems - leaving unconfigured
Setting up python-zeroc-ice (3.3.0-14ubuntu1) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.

~$ lsb_release -rd
Description:    Ubuntu 9.04
Release:    9.04

$ apt-cache policy postgresql
postgresql:
  Installed: 8.3.7-1
  Candidate: 8.3.7-1
  Version table:
 *** 8.3.7-1 0
        500 http://gb.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: postgresql-8.3 8.3.7-1
SourcePackage: postgresql-8.3
Title: package postgresql-8.3 8.3.7-1 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686

-- 
The PostgreSQL server failed to start.
https://bugs.launchpad.net/bugs/382584
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to