Re: SAST FATAL: could not access private key file "server.key" - Mailing list pgsql-general

From Bill Moran
Subject Re: SAST FATAL: could not access private key file "server.key"
Date
Msg-id 20080701083150.4b7a8776.wmoran@collaborativefusion.com
Whole thread Raw
In response to SAST FATAL: could not access private key file "server.key"  ("Dave Coventry" <dgcoventry@gmail.com>)
List pgsql-general
In response to "Dave Coventry" <dgcoventry@gmail.com>:

> When starting Postgres I get the following:
>
>
> root@Admin:/home/it# /etc/init.d/postgresql-8.2 start
>  * Starting PostgreSQL 8.2 database server
>           * The PostgreSQL server failed to start. Please check the
> log output:
> 2008-07-01 13:37:39 SAST FATAL:  could not access private key file
> "server.key": Permission denied
>
> What is the "server key"?
>
> And how do I make it accessible?

This covers your question:
http://www.postgresql.org/docs/8.3/static/ssl-tcp.html

I would guess that your key file is owned by root and only readable by
root and that PostgreSQL is running as the postgres user and thus can't
read the file.  But that's just speculation.

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: Query Fails
Next
From: "A. Kretschmer"
Date:
Subject: Re: SAST FATAL: could not access private key file "server.key"