Re: SAST FATAL: could not access private key file "server.key"

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: "Dave Coventry" <dgcoventry(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SAST FATAL: could not access private key file "server.key"
Date: 2008-07-01 12:31:50
Message-ID: 20080701083150.4b7a8776.wmoran@collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to "Dave Coventry" <dgcoventry(at)gmail(dot)com>:

> When starting Postgres I get the following:
>
>
> root(at)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(at)collaborativefusion(dot)com
Phone: 412-422-3463x4023

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2008-07-01 12:35:38 Re: SAST FATAL: could not access private key file "server.key"
Previous Message Bill Moran 2008-07-01 12:18:40 Re: Query Fails