Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

Next:From: Tom LaneDate: 2007-01-12 21:45:58
Subject: Re: BUG #2885: to_char function
Previous:From: Douglas ToltzmanDate: 2007-01-12 20:36:23
Subject: Re: BUG #2885: to_char function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group