Missing error message on missing ssl-key-files

From: "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Missing error message on missing ssl-key-files
Date: 2007-01-12 21:08:24
Message-ID: 7be3f35d0701121308r7a06ffecqf3a3e060ebb6140f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

PostgreSQL 8.1.5 and 8.2.1

both on W2K3, installed from the standard win32 msi installer.

Problem:

in postgresql.conf

ssl=on

but the files server.key etc. are NOT present.

Result: PostgreSQL service does not start. And no error message in any
log I could access: nothing in the Windows Event Log, nothing in the
pg_log (not even starts a file)

[in this case it was me doing the SSL-setup, missing to copy the key
files; BUT... they could get deleted / made inaccessible a later time,
and THEN it get's impossible to diagnose the problem]

Proposed solution:
write an error message to pg_log/ or windows event log on missing
ssl-server-key-files.

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
Python: the only language with more web frameworks than keywords.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-01-12 21:45:58 Re: BUG #2885: to_char function
Previous Message Douglas Toltzman 2007-01-12 20:36:23 Re: BUG #2885: to_char function

Browse pgsql-hackers by date

  From Date Subject
Next Message Bill Moran 2007-01-12 21:26:03 Re: [PATCHES] Patch to log usage of temporary files
Previous Message Magnus Hagander 2007-01-12 21:00:18 Re: [COMMITTERS] pgsql: Stamp major release 8.3.0,